Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/plugin/UserSettingsTest.cpp

Issue 5979857238360064: Issues #1163, #1173 - refactor CPluginUserSettings (Closed)
Patch Set: Created Aug. 6, 2014, 4:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/plugin/PluginUserSettings.cpp ('K') | « src/plugin/PluginUserSettings.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/plugin/UserSettingsTest.cpp
===================================================================
--- a/test/plugin/UserSettingsTest.cpp
+++ b/test/plugin/UserSettingsTest.cpp
@@ -17,7 +17,6 @@
#include <gtest/gtest.h>
-#include <OAIdl.h>
#include "../../src/plugin/PluginUserSettings.h"
//----------------------------------
@@ -46,11 +45,6 @@
DISPID ids[1];
HRESULT h = x.GetIDsOfNames(IID_NULL, names, 1, 0, ids);
ASSERT_NE(S_OK, h);
- // The old version returns a nonstandard error code.
- if (h == DISP_E_MEMBERNOTFOUND)
- {
- return;
- }
EXPECT_EQ(DISP_E_UNKNOWNNAME, h);
}
}
@@ -97,11 +91,6 @@
EXCEPINFO ex;
HRESULT h = x.Invoke(-1, IID_NULL, 0, 0, &params, nullptr, &ex, nullptr);
ASSERT_NE(S_OK, h);
- // The old version returns a nonstandard error code.
- if (h == DISP_E_BADINDEX)
- {
- return;
- }
EXPECT_EQ(DISP_E_MEMBERNOTFOUND, h);
}
}
« src/plugin/PluginUserSettings.cpp ('K') | « src/plugin/PluginUserSettings.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld