Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h174 # define EXPECT_EXIT(statement, predicate, regex) \ macro
186 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc358 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F()
433 EXPECT_EXIT(_exit(i), testing::ExitedWithCode(i), "") << ": i = " << i; in TEST_F()
440 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F()
779 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TestExitMacros()
787 EXPECT_EXIT(raise(SIGABRT), testing::ExitedWithCode(3), "") << "b_ar"; in TestExitMacros()
792 EXPECT_EXIT(raise(SIGKILL), testing::KilledBySignal(SIGKILL), "") << "foo"; in TestExitMacros()
803 EXPECT_EXIT(raise(SIGSEGV), testing::ExitedWithCode(0), "") in TestExitMacros()
849 EXPECT_EXIT(DieWithMessage("exiting with rc 1\n"), in TEST_F()
H A Dgoogletest-port-test.cc361 EXPECT_EXIT({ in TEST()
/freebsd-13.1/contrib/atf/atf-c/
H A Dtc.c57 EXPECT_EXIT, enumerator
298 } else if (ctx->expect == EXPECT_EXIT) { in validate_expect()
985 ctx->expect = EXPECT_EXIT; in _atf_tc_expect_exit()
/freebsd-13.1/contrib/googletest/googletest/docs/
H A Dadvanced.md665 `ASSERT_EXIT(statement, predicate, regex);` | `EXPECT_EXIT(statement, predicate, regex);` | `…
684 > is *not* considered a crash by `EXPECT_DEATH`. Use `EXPECT_EXIT` instead if
710 2. (in the case of `ASSERT_EXIT` and `EXPECT_EXIT`) does the exit status
732 EXPECT_EXIT(NormalExit(), ::testing::ExitedWithCode(0), "Success");
736 EXPECT_EXIT(KillMyself(), ::testing::KilledBySignal(SIGKILL),