Lines Matching refs:ExitedWithCode
216 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
219 EXPECT_TRUE(testing::ExitedWithCode(0)(0)); in TEST()
220 EXPECT_TRUE(testing::ExitedWithCode(1)(1)); in TEST()
221 EXPECT_TRUE(testing::ExitedWithCode(42)(42)); in TEST()
222 EXPECT_FALSE(testing::ExitedWithCode(0)(1)); in TEST()
223 EXPECT_FALSE(testing::ExitedWithCode(1)(0)); in TEST()
258 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
262 const testing::ExitedWithCode pred0(0); in TEST()
263 const testing::ExitedWithCode pred1(1); in TEST()
264 const testing::ExitedWithCode pred42(42); in TEST()
374 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F()
449 EXPECT_EXIT(_exit(i), testing::ExitedWithCode(i), "") << ": i = " << i; in TEST_F()
456 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F()
721 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TestExitMacros()
722 ASSERT_EXIT(_exit(42), testing::ExitedWithCode(42), ""); in TestExitMacros()
729 EXPECT_EXIT(raise(SIGABRT), testing::ExitedWithCode(3), "") << "b_ar"; in TestExitMacros()
744 EXPECT_EXIT(raise(SIGSEGV), testing::ExitedWithCode(0), "") in TestExitMacros()
791 testing::ExitedWithCode(3), in TEST_F()