Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h178 #define EXPECT_EXIT(statement, predicate, matcher) \ macro
190 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc374 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F()
452 EXPECT_EXIT(_exit(i), testing::ExitedWithCode(i), "") << ": i = " << i; in TEST_F()
459 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F()
808 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TestExitMacros()
816 EXPECT_EXIT(raise(SIGABRT), testing::ExitedWithCode(3), "") << "b_ar"; in TestExitMacros()
821 EXPECT_EXIT(raise(SIGKILL), testing::KilledBySignal(SIGKILL), "") << "foo"; in TestExitMacros()
835 EXPECT_EXIT(raise(SIGSEGV), testing::ExitedWithCode(0), "") in TestExitMacros()
882 EXPECT_EXIT(DieWithMessage("exiting with rc 1\n"), in TEST_F()
H A Dgoogletest-port-test.cc378 EXPECT_EXIT( in TEST()
H A Dgtest_unittest.cc6191 EXPECT_EXIT(GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter(""), true), in TEST_F()
6210 EXPECT_EXIT(GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), true), in TEST_F()
/freebsd/contrib/atf/atf-c/
H A Dtc.c57 EXPECT_EXIT, enumerator
298 } else if (ctx->expect == EXPECT_EXIT) { in validate_expect()
979 ctx->expect = EXPECT_EXIT; in _atf_tc_expect_exit()
/freebsd/contrib/googletest/docs/reference/
H A Dassertions.md598 ### EXPECT_EXIT {#EXPECT_EXIT}
600 `EXPECT_EXIT(`*`statement`*`,`*`predicate`*`,`*`matcher`*`)` \
632 EXPECT_EXIT(NormalExit(), testing::ExitedWithCode(0), "Success");
/freebsd/contrib/googletest/docs/
H A Dadvanced.md449 EXPECT_EXIT(NormalExit(), testing::ExitedWithCode(0), "Success");
453 EXPECT_EXIT(KillProcess(), testing::KilledBySignal(SIGKILL),
471 2. (in the case of `ASSERT_EXIT` and `EXPECT_EXIT`) does the exit status