aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest/gtest-spi.h
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2010-03-05 21:21:06 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2010-03-05 21:21:06 +0000
commit83589cca345d2f03d93b0555437aa480e0ed6699 (patch)
treeaca5d19835a1562fd71e48e6ca289f33b0f68e30 /include/gtest/gtest-spi.h
parent542b41e5d010cf0a18a37252d5f4b05cfa5408af (diff)
downloadgoogletest-83589cca345d2f03d93b0555437aa480e0ed6699.tar.gz
googletest-83589cca345d2f03d93b0555437aa480e0ed6699.tar.bz2
googletest-83589cca345d2f03d93b0555437aa480e0ed6699.zip
Supports building gtest as a DLL (by Vlad Losev).
Diffstat (limited to 'include/gtest/gtest-spi.h')
-rw-r--r--include/gtest/gtest-spi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gtest/gtest-spi.h b/include/gtest/gtest-spi.h
index 2953411b..c41da484 100644
--- a/include/gtest/gtest-spi.h
+++ b/include/gtest/gtest-spi.h
@@ -48,7 +48,7 @@ namespace testing {
// generated in the same thread that created this object or it can intercept
// all generated failures. The scope of this mock object can be controlled with
// the second argument to the two arguments constructor.
-class ScopedFakeTestPartResultReporter
+class GTEST_API_ ScopedFakeTestPartResultReporter
: public TestPartResultReporterInterface {
public:
// The two possible mocking modes of this object.
@@ -93,7 +93,7 @@ namespace internal {
// TestPartResultArray contains exactly one failure that has the given
// type and contains the given substring. If that's not the case, a
// non-fatal failure will be generated.
-class SingleFailureChecker {
+class GTEST_API_ SingleFailureChecker {
public:
// The constructor remembers the arguments.
SingleFailureChecker(const TestPartResultArray* results,