summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/gtest-test-part.h
diff options
context:
space:
mode:
authormisterg <misterg@google.com>2018-08-20 18:48:45 (GMT)
committerGennadiy Civil <misterg@google.com>2018-08-20 18:50:48 (GMT)
commitdf428ec11891f12c81e2872c0432e342b5403a34 (patch)
tree0a7df31c55911123ae017b89b39aca38dec3d939 /googletest/include/gtest/gtest-test-part.h
parent5891bb530736c39568f61ba0bf1a45d60d40f76e (diff)
downloadgoogletest-df428ec11891f12c81e2872c0432e342b5403a34.zip
googletest-df428ec11891f12c81e2872c0432e342b5403a34.tar.gz
googletest-df428ec11891f12c81e2872c0432e342b5403a34.tar.bz2
googletest export
- 209457654 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com> PiperOrigin-RevId: 209457654
Diffstat (limited to 'googletest/include/gtest/gtest-test-part.h')
-rw-r--r--googletest/include/gtest/gtest-test-part.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest-test-part.h b/googletest/include/gtest/gtest-test-part.h
index 66c7db6..1c7b89e 100644
--- a/googletest/include/gtest/gtest-test-part.h
+++ b/googletest/include/gtest/gtest-test-part.h
@@ -37,6 +37,9 @@
#include "gtest/internal/gtest-internal.h"
#include "gtest/internal/gtest-string.h"
+GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \
+/* class A needs to have dll-interface to be used by clients of class B */)
+
namespace testing {
// A copyable object representing the result of a test part (i.e. an
@@ -142,7 +145,7 @@ class GTEST_API_ TestPartResultArray {
};
// This interface knows how to report a test part result.
-class TestPartResultReporterInterface {
+class GTEST_API_ TestPartResultReporterInterface {
public:
virtual ~TestPartResultReporterInterface() {}
@@ -175,4 +178,6 @@ class GTEST_API_ HasNewFatalFailureHelper
} // namespace testing
+GTEST_DISABLE_MSC_WARNINGS_POP_() // 4251
+
#endif // GTEST_INCLUDE_GTEST_GTEST_TEST_PART_H_