Home
last modified time | relevance | path

Searched refs:KilledBySignal (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h209 class GTEST_API_ KilledBySignal {
211 explicit KilledBySignal(int signum);
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc289 TEST(ExitStatusPredicateTest, KilledBySignal) { in TEST() argument
292 const testing::KilledBySignal pred_segv(SIGSEGV); in TEST()
293 const testing::KilledBySignal pred_kill(SIGKILL); in TEST()
825 EXPECT_EXIT(raise(SIGKILL), testing::KilledBySignal(SIGKILL), "") << "foo"; in TestExitMacros()
826 ASSERT_EXIT(raise(SIGUSR2), testing::KilledBySignal(SIGUSR2), "") << "bar"; in TestExitMacros()
830 ASSERT_EXIT(_Exit(0), testing::KilledBySignal(SIGSEGV), "") in TestExitMacros()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc191 KilledBySignal::KilledBySignal(int signum) : signum_(signum) {} in KilledBySignal() function in testing::KilledBySignal
194 bool KilledBySignal::operator()(int exit_status) const { in operator ()()
/freebsd/contrib/googletest/docs/reference/
H A Dassertions.md617 ::testing::KilledBySignal(signal_number);
/freebsd/contrib/googletest/docs/
H A Dadvanced.md453 EXPECT_EXIT(KillProcess(), testing::KilledBySignal(SIGKILL),