Home
last modified time | relevance | path

Searched refs:ASSERT_EXIT (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h173 #define ASSERT_EXIT(statement, predicate, matcher) \ macro
185 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc813 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 Dassertions.md601 `ASSERT_EXIT(`*`statement`*`,`*`predicate`*`,`*`matcher`*`)`
/freebsd/contrib/googletest/docs/
H A Dadvanced.md471 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