Home | History | Annotate | Download | only in internal

Lines Matching refs:DeathTest

56 // DeathTest is a class that hides much of the complexity of the
69 class GTEST_API_ DeathTest {
75 // case. Otherwise, the DeathTest pointer pointed to by the "test"
78 // DeathTest object that controls the execution of the current test.
80 const char* file, int line, DeathTest** test);
81 DeathTest();
82 virtual ~DeathTest() { }
87 explicit ReturnSentinel(DeathTest* test) : test_(test) { }
90 DeathTest* const test_;
136 GTEST_DISALLOW_COPY_AND_ASSIGN_(DeathTest);
144 const char* file, int line, DeathTest** test) = 0;
151 const char* file, int line, DeathTest** test);
172 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
174 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
189 ::testing::internal::DeathTest* gtest_dt; \
190 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
195 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
198 case ::testing::internal::DeathTest::OVERSEE_TEST: \
203 case ::testing::internal::DeathTest::EXECUTE_TEST: { \
204 ::testing::internal::DeathTest::ReturnSentinel \
207 gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \
216 fail(::testing::internal::DeathTest::LastMessage())