Home
last modified time | relevance | path

Searched refs:DeathTest (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-death-test-internal.h69 class GTEST_API_ DeathTest {
80 const char* file, int line, DeathTest** test);
81 DeathTest();
82 virtual ~DeathTest() { } in ~DeathTest()
87 explicit ReturnSentinel(DeathTest* test) : test_(test) { } in ReturnSentinel()
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); \
[all …]
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-death-test.cc335 DeathTest::DeathTest() { in DeathTest() function in testing::internal::DeathTest
345 bool DeathTest::Create(const char* statement, const RE* regex, in Create()
346 const char* file, int line, DeathTest** test) { in Create()
351 const char* DeathTest::LastMessage() { in LastMessage()
355 void DeathTest::set_last_death_test_message(const std::string& message) { in set_last_death_test_message()
359 std::string DeathTest::last_death_test_message_;
362 class DeathTestImpl : public DeathTest {
575 DeathTest::set_last_death_test_message(buffer.GetString()); in Passed()
684 DeathTest::TestRole WindowsDeathTest::AssumeRole() { in AssumeRole()
740 DeathTest::set_last_death_test_message(""); in AssumeRole()
[all …]
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-death-test_test.cc73 using testing::internal::DeathTest;
821 const char* file, int line, DeathTest** test);
824 void SetParameters(bool create, DeathTest::TestRole role,
833 DeathTest::AbortReason AbortArgument(int n) const { in AbortArgument()
844 DeathTest::TestRole role_;
859 std::vector<DeathTest::AbortReason> abort_args_;
870 class MockDeathTest : public DeathTest {
906 role_(DeathTest::OVERSEE_TEST), in MockDeathTestFactory()
918 DeathTest::TestRole role, in SetParameters()
939 DeathTest** test) { in Create()
[all …]
Dgtest_help_test_.cc45 TEST(DeathTest, UsedByPythonScriptToDetectSupportForDeathTestsInThisBinary) {} in TEST() argument