Searched refs:DeathTest (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-death-test-internal.h | 99 class GTEST_API_ DeathTest { 110 const char* file, int line, DeathTest** test); 111 DeathTest(); 112 virtual ~DeathTest() = default; 117 explicit ReturnSentinel(DeathTest* test) : test_(test) {} in ReturnSentinel() 121 DeathTest* const test_; 168 DeathTest(const DeathTest&) = delete; 169 DeathTest& operator=(const DeathTest&) = delete; 180 int line, DeathTest** test) = 0; in GTEST_DISABLE_MSC_WARNINGS_POP_() 187 const char* file, int line, DeathTest** test) override; [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-death-test-test.cc | 72 using testing::internal::DeathTest; 917 int line, DeathTest** test) override; 920 void SetParameters(bool create, DeathTest::TestRole role, int status, 931 DeathTest::AbortReason AbortArgument(int n) const { in AbortArgument() 942 DeathTest::TestRole role_; 957 std::vector<DeathTest::AbortReason> abort_args_; 967 class MockDeathTest : public DeathTest { 999 role_(DeathTest::OVERSEE_TEST), in MockDeathTestFactory() 1008 void MockDeathTestFactory::SetParameters(bool create, DeathTest::TestRole role, in SetParameters() 1026 const char* /*file*/, int /*line*/, DeathTest** test) { in Create() [all …]
|
H A D | gtest_help_test_.cc | 43 TEST(DeathTest, UsedByPythonScriptToDetectSupportForDeathTestsInThisBinary) {} in TEST() argument
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 377 DeathTest::DeathTest() { in DeathTest() function in testing::internal::DeathTest 388 bool DeathTest::Create(const char* statement, in Create() 390 int line, DeathTest** test) { in Create() 395 const char* DeathTest::LastMessage() { in LastMessage() 399 void DeathTest::set_last_death_test_message(const std::string& message) { in set_last_death_test_message() 403 std::string DeathTest::last_death_test_message_; 406 class DeathTestImpl : public DeathTest { 626 DeathTest::set_last_death_test_message(buffer.GetString()); in Passed() 746 DeathTest::TestRole WindowsDeathTest::AssumeRole() { in AssumeRole() 800 DeathTest::set_last_death_test_message(""); in AssumeRole() [all …]
|
/freebsd/contrib/googletest/docs/ |
H A D | faq.md | 527 …quire the entire test suite, instead of individual tests, to be named `*DeathTest` when it uses `A… 552 ## But I don't like calling my entire test suite `*DeathTest` when it contains both death tests and…
|
H A D | advanced.md | 484 **test suite** (not test) `*DeathTest` when it contains a death test, as 569 2. Test suites with a name ending in "DeathTest" are run before all other 1869 * `./foo_test --gtest_filter=-*DeathTest.*` Runs all non-death tests.
|