Searched refs:EXPECT_EXIT (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest-death-test.h | 173 # define EXPECT_EXIT(statement, predicate, regex) \ macro 185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-death-test_test.cc | 373 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F() 448 EXPECT_EXIT(_exit(i), testing::ExitedWithCode(i), "") << ": i = " << i; in TEST_F() 455 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F() 720 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TestExitMacros() 728 EXPECT_EXIT(raise(SIGABRT), testing::ExitedWithCode(3), "") << "b_ar"; in TestExitMacros() 732 EXPECT_EXIT(raise(SIGKILL), testing::KilledBySignal(SIGKILL), "") << "foo"; in TestExitMacros() 743 EXPECT_EXIT(raise(SIGSEGV), testing::ExitedWithCode(0), "") in TestExitMacros() 789 EXPECT_EXIT(DieWithMessage("exiting with rc 1\n"), in TEST_F()
|
D | gtest-port_test.cc | 379 EXPECT_EXIT({ in TEST()
|