Home
last modified time | relevance | path

Searched refs:ExitedWithCode (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h195 class GTEST_API_ ExitedWithCode {
197 explicit ExitedWithCode(int exit_code);
198 ExitedWithCode(const ExitedWithCode&) = default;
199 void operator=(const ExitedWithCode& other) = delete;
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc231 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
234 EXPECT_TRUE(testing::ExitedWithCode(0)(0)); in TEST()
235 EXPECT_TRUE(testing::ExitedWithCode(1)(1)); in TEST()
236 EXPECT_TRUE(testing::ExitedWithCode(42)(42)); in TEST()
237 EXPECT_FALSE(testing::ExitedWithCode(0)(1)); in TEST()
238 EXPECT_FALSE(testing::ExitedWithCode(1)(0)); in TEST()
273 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
277 const testing::ExitedWithCode pred0(0); in TEST()
278 const testing::ExitedWithCode pred1(1); in TEST()
279 const testing::ExitedWithCode pred42(42); in TEST()
[all …]
H A Dgoogletest-port-test.cc384 ::testing::ExitedWithCode(0), "Success"); in TEST()
H A Dgtest_unittest.cc6196 testing::ExitedWithCode(1), in TEST_F()
6215 testing::ExitedWithCode(1), in TEST_F()
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/
H A Drtsan_test_utilities.h40 ExitedWithCode(EXIT_FAILURE), GetExpectedErrorSubstring());
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc174 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) {} in ExitedWithCode() function in testing::ExitedWithCode
177 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()
240 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()
/freebsd/contrib/googletest/docs/reference/
H A Dassertions.md613 ::testing::ExitedWithCode(exit_code);
632 EXPECT_EXIT(NormalExit(), testing::ExitedWithCode(0), "Success");
/freebsd/contrib/googletest/docs/
H A Dadvanced.md449 EXPECT_EXIT(NormalExit(), testing::ExitedWithCode(0), "Success");