Lines Matching refs:ExitedWithCode
214 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
217 EXPECT_TRUE(testing::ExitedWithCode(0)(0)); in TEST()
218 EXPECT_TRUE(testing::ExitedWithCode(1)(1)); in TEST()
219 EXPECT_TRUE(testing::ExitedWithCode(42)(42)); in TEST()
220 EXPECT_FALSE(testing::ExitedWithCode(0)(1)); in TEST()
221 EXPECT_FALSE(testing::ExitedWithCode(1)(0)); in TEST()
256 TEST(ExitStatusPredicateTest, ExitedWithCode) { in TEST() argument
260 const testing::ExitedWithCode pred0(0); in TEST()
261 const testing::ExitedWithCode pred1(1); in TEST()
262 const testing::ExitedWithCode pred42(42); in TEST()
372 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F()
447 EXPECT_EXIT(_exit(i), testing::ExitedWithCode(i), "") << ": i = " << i; in TEST_F()
454 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TEST_F()
785 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), ""); in TestExitMacros()
786 ASSERT_EXIT(_exit(42), testing::ExitedWithCode(42), ""); in TestExitMacros()
793 EXPECT_EXIT(raise(SIGABRT), testing::ExitedWithCode(3), "") << "b_ar"; in TestExitMacros()
808 EXPECT_EXIT(raise(SIGSEGV), testing::ExitedWithCode(0), "") in TestExitMacros()
855 testing::ExitedWithCode(3), in TEST_F()