Lines Matching refs:EXPECT_NONFATAL_FAILURE
688 // Used for testing EXPECT_NONFATAL_FAILURE() and EXPECT_FATAL_FAILURE().
691 // Tests that EXPECT_NONFATAL_FAILURE() can reference global variables.
694 EXPECT_NONFATAL_FAILURE({
699 // Tests that EXPECT_NONFATAL_FAILURE() can reference local variables
705 EXPECT_NONFATAL_FAILURE({
710 // Tests that EXPECT_NONFATAL_FAILURE() succeeds when there is exactly
713 EXPECT_NONFATAL_FAILURE({
718 // Tests that EXPECT_NONFATAL_FAILURE() fails when there is no
722 EXPECT_NONFATAL_FAILURE({
726 // Tests that EXPECT_NONFATAL_FAILURE() fails when there are two
730 EXPECT_NONFATAL_FAILURE({
736 // Tests that EXPECT_NONFATAL_FAILURE() fails when there is one fatal
740 EXPECT_NONFATAL_FAILURE({
745 // Tests that EXPECT_NONFATAL_FAILURE() fails when the statement being
749 EXPECT_NONFATAL_FAILURE({
756 // Tests that EXPECT_NONFATAL_FAILURE() fails when the statement being
761 EXPECT_NONFATAL_FAILURE({
978 EXPECT_NONFATAL_FAILURE(SUCCEED(), "Expected non-fatal failure.");
981 EXPECT_NONFATAL_FAILURE(AddFailure(FATAL_FAILURE), "Expected fatal failure.");
984 EXPECT_NONFATAL_FAILURE(AddFailure(NONFATAL_FAILURE), "Some other non-fatal "
1008 EXPECT_NONFATAL_FAILURE(AddFailureInOtherThread(NONFATAL_FAILURE),