Searched refs:ExitedWithCode (Results 1 – 4 of 4) sorted by relevance
190 class GTEST_API_ ExitedWithCode {192 explicit ExitedWithCode(int exit_code);196 void operator=(const ExitedWithCode& other);
215 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument218 EXPECT_TRUE(testing::ExitedWithCode(0)(0)); in TEST()219 EXPECT_TRUE(testing::ExitedWithCode(1)(1)); in TEST()220 EXPECT_TRUE(testing::ExitedWithCode(42)(42)); in TEST()221 EXPECT_FALSE(testing::ExitedWithCode(0)(1)); in TEST()222 EXPECT_FALSE(testing::ExitedWithCode(1)(0)); in TEST()257 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument261 const testing::ExitedWithCode pred0(0); in TEST()262 const testing::ExitedWithCode pred1(1); in TEST()263 const testing::ExitedWithCode pred42(42); in TEST()[all …]
383 ::testing::ExitedWithCode(0), "Success"); in TEST()
149 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { in ExitedWithCode() function in testing::ExitedWithCode153 bool ExitedWithCode::operator()(int exit_status) const { in operator ()()209 return !ExitedWithCode(0)(exit_status); in ExitedUnsuccessfully()