Searched refs:ASSERT_EXIT (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-death-test.h | 173 #define ASSERT_EXIT(statement, predicate, matcher) \ macro 185 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-death-test-test.cc | 813 ASSERT_EXIT(_Exit(42), testing::ExitedWithCode(42), ""); in TestExitMacros() 826 ASSERT_EXIT(raise(SIGUSR2), testing::KilledBySignal(SIGUSR2), "") << "bar"; in TestExitMacros() 830 ASSERT_EXIT(_Exit(0), testing::KilledBySignal(SIGSEGV), "") in TestExitMacros()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | assertions.md | 601 `ASSERT_EXIT(`*`statement`*`,`*`predicate`*`,`*`matcher`*`)`
|
/freebsd/contrib/googletest/docs/ |
H A D | advanced.md | 471 2. (in the case of `ASSERT_EXIT` and `EXPECT_EXIT`) does the exit status 616 The `statement` argument of `ASSERT_EXIT()` can be any valid C++ statement. If
|