Searched refs:ExitedWithCode (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-death-test.h | 195 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 D | googletest-death-test-test.cc | 231 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 D | googletest-port-test.cc | 384 ::testing::ExitedWithCode(0), "Success"); in TEST()
|
H A D | gtest_unittest.cc | 6196 testing::ExitedWithCode(1), in TEST_F() 6215 testing::ExitedWithCode(1), in TEST_F()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/ |
H A D | rtsan_test_utilities.h | 40 ExitedWithCode(EXIT_FAILURE), GetExpectedErrorSubstring());
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 174 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 D | assertions.md | 613 ::testing::ExitedWithCode(exit_code); 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");
|