Searched refs:EXPECT_EXIT (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-death-test.h | 178 #define EXPECT_EXIT(statement, predicate, matcher) \ macro 190 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-death-test-test.cc | 378 EXPECT_EXIT(_Exit(1), testing::ExitedWithCode(1), ""); in TEST_F() 456 EXPECT_EXIT(_Exit(i), testing::ExitedWithCode(i), "") << ": i = " << i; in TEST_F() 463 EXPECT_EXIT(_Exit(1), testing::ExitedWithCode(1), ""); in TEST_F() 812 EXPECT_EXIT(_Exit(1), testing::ExitedWithCode(1), ""); in TestExitMacros() 820 EXPECT_EXIT(raise(SIGABRT), testing::ExitedWithCode(3), "") << "b_ar"; in TestExitMacros() 825 EXPECT_EXIT(raise(SIGKILL), testing::KilledBySignal(SIGKILL), "") << "foo"; in TestExitMacros() 839 EXPECT_EXIT(raise(SIGSEGV), testing::ExitedWithCode(0), "") in TestExitMacros() 886 EXPECT_EXIT(DieWithMessage("exiting with rc 1\n"), in TEST_F()
|
H A D | googletest-port-test.cc | 378 EXPECT_EXIT( in TEST()
|
H A D | gtest_unittest.cc | 6195 EXPECT_EXIT(GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter(""), true), in TEST_F() 6214 EXPECT_EXIT(GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), true), in TEST_F()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/ |
H A D | rtsan_test_utilities.h | 39 EXPECT_EXIT(RealtimeInvoke(std::forward<Function>(Func)),
|
/freebsd/contrib/atf/atf-c/ |
H A D | tc.c | 57 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 D | assertions.md | 598 ### EXPECT_EXIT {#EXPECT_EXIT} 600 `EXPECT_EXIT(`*`statement`*`,`*`predicate`*`,`*`matcher`*`)` \ 632 EXPECT_EXIT(NormalExit(), testing::ExitedWithCode(0), "Success");
|
/freebsd/contrib/googletest/docs/ |
H A D | advanced.md | 449 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
|