Searched refs:KilledBySignal (Results 1 – 3 of 3) sorted by relevance
204 class GTEST_API_ KilledBySignal {206 explicit KilledBySignal(int signum);
273 TEST(ExitStatusPredicateTest, KilledBySignal) { in TEST() argument276 const testing::KilledBySignal pred_segv(SIGSEGV); in TEST()277 const testing::KilledBySignal pred_kill(SIGKILL); in TEST()732 EXPECT_EXIT(raise(SIGKILL), testing::KilledBySignal(SIGKILL), "") << "foo"; in TestExitMacros()733 ASSERT_EXIT(raise(SIGUSR2), testing::KilledBySignal(SIGUSR2), "") << "bar"; in TestExitMacros()736 ASSERT_EXIT(_exit(0), testing::KilledBySignal(SIGSEGV), "") in TestExitMacros()
167 KilledBySignal::KilledBySignal(int signum) : signum_(signum) { in KilledBySignal() function in testing::KilledBySignal171 bool KilledBySignal::operator()(int exit_status) const { in operator ()()