Home | History | Annotate | Download | only in internal

Lines Matching defs:DeathTest

53 // DeathTest is a class that hides much of the complexity of the
66 class DeathTest {
72 // case. Otherwise, the DeathTest pointer pointed to by the "test"
75 // DeathTest object that controls the execution of the current test.
77 const char* file, int line, DeathTest** test);
78 DeathTest();
79 virtual ~DeathTest() { }
84 explicit ReturnSentinel(DeathTest* test) : test_(test) { }
87 DeathTest* const test_;
124 GTEST_DISALLOW_COPY_AND_ASSIGN(DeathTest);
132 const char* file, int line, DeathTest** test) = 0;
139 const char* file, int line, DeathTest** test);
152 ::testing::internal::DeathTest* gtest_dt; \
153 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
158 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
161 case ::testing::internal::DeathTest::OVERSEE_TEST: \
166 case ::testing::internal::DeathTest::EXECUTE_TEST: { \
167 ::testing::internal::DeathTest::ReturnSentinel \
170 gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \
177 fail(::testing::internal::DeathTest::LastMessage())