Lines Matching refs:DeathTest
54 // DeathTest is a class that hides much of the complexity of the
67 class DeathTest {
73 // case. Otherwise, the DeathTest pointer pointed to by the "test"
76 // DeathTest object that controls the execution of the current test.
78 const char* file, int line, DeathTest** test);
79 DeathTest();
80 virtual ~DeathTest() { }
85 explicit ReturnSentinel(DeathTest* test) : test_(test) { }
88 DeathTest* const test_;
130 GTEST_DISALLOW_COPY_AND_ASSIGN_(DeathTest);
138 const char* file, int line, DeathTest** test) = 0;
145 const char* file, int line, DeathTest** test);
158 ::testing::internal::DeathTest* gtest_dt; \
159 if (!::testing::internal::DeathTest::Create(#statement, >est_regex, \
164 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
167 case ::testing::internal::DeathTest::OVERSEE_TEST: \
172 case ::testing::internal::DeathTest::EXECUTE_TEST: { \
173 ::testing::internal::DeathTest::ReturnSentinel \
176 gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \
183 fail(::testing::internal::DeathTest::LastMessage())