Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-death-test.h204 class GTEST_API_ KilledBySignal {
206 explicit KilledBySignal(int signum);
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-death-test_test.cc273 TEST(ExitStatusPredicateTest, KilledBySignal) { in TEST() argument
276 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()
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-death-test.cc167 KilledBySignal::KilledBySignal(int signum) : signum_(signum) { in KilledBySignal() function in testing::KilledBySignal
171 bool KilledBySignal::operator()(int exit_status) const { in operator ()()