summaryrefslogtreecommitdiffstats
path: root/include/gtest/gtest-spi.h
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2008-11-20 01:40:35 (GMT)
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2008-11-20 01:40:35 (GMT)
commit3d7042176307f0d7700a3640f3b3bcc8790b8fcd (patch)
treeec4a9020570acc6d09366e5b305b9d162c1a6026 /include/gtest/gtest-spi.h
parentb6a296d0f7caff7140f422e49f5398c9ef17504d (diff)
downloadgoogletest-3d7042176307f0d7700a3640f3b3bcc8790b8fcd.zip
googletest-3d7042176307f0d7700a3640f3b3bcc8790b8fcd.tar.gz
googletest-3d7042176307f0d7700a3640f3b3bcc8790b8fcd.tar.bz2
Value-parameterized tests and many bugfixes
Diffstat (limited to 'include/gtest/gtest-spi.h')
-rw-r--r--include/gtest/gtest-spi.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/gtest/gtest-spi.h b/include/gtest/gtest-spi.h
index 90acfbc..a4e387a 100644
--- a/include/gtest/gtest-spi.h
+++ b/include/gtest/gtest-spi.h
@@ -108,21 +108,6 @@ class SingleFailureChecker {
GTEST_DISALLOW_COPY_AND_ASSIGN_(SingleFailureChecker);
};
-// Helper macro to test that statement generates exactly one fatal failure,
-// which contains the substring 'substr' in its failure message, when a scoped
-// test result reporter of the given interception mode is used.
-#define GTEST_EXPECT_NONFATAL_FAILURE_(statement, substr, intercept_mode)\
- do {\
- ::testing::TestPartResultArray gtest_failures;\
- ::testing::internal::SingleFailureChecker gtest_checker(\
- &gtest_failures, ::testing::TPRT_NONFATAL_FAILURE, (substr));\
- {\
- ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
- intercept_mode, &gtest_failures);\
- statement;\
- }\
- } while (false)
-
} // namespace internal
} // namespace testing