Googletest's macros don't play nice with some compiler warnings.
namespace testing {
-
+#pragma warning(push)
+#pragma warning(disable:4263) // Method does not override base function doesn't play nice with googlemock macros.
+#pragma warning(disable:4264) // Method does not override base function doesn't play nice with googlemock macros.
class MockILogManagerInternal : public ARIASDK_NS::ILogManagerInternal
{
public:
@@ -45,6 +47,6 @@ namespace testing {
MOCK_METHOD4(GetLogger, ARIASDK_NS::ILogger * (std::string const &, ARIASDK_NS::ContextFieldsProvider*, std::string const &, std::string const &));
MOCK_METHOD1(sendEvent, void(ARIASDK_NS::IncomingEventContextPtr const &));
};
-
+#pragma warning(pop)
} // namespace testing
