Lines Matching refs:EXPECT_NONFATAL_FAILURE
588 // Used for testing EXPECT_NONFATAL_FAILURE() and EXPECT_FATAL_FAILURE().
591 // Tests that EXPECT_NONFATAL_FAILURE() can reference global variables.
594 EXPECT_NONFATAL_FAILURE({
599 // Tests that EXPECT_NONFATAL_FAILURE() can reference local variables
605 EXPECT_NONFATAL_FAILURE({
610 // Tests that EXPECT_NONFATAL_FAILURE() succeeds when there is exactly
613 EXPECT_NONFATAL_FAILURE({
618 // Tests that EXPECT_NONFATAL_FAILURE() fails when there is no
622 EXPECT_NONFATAL_FAILURE({
626 // Tests that EXPECT_NONFATAL_FAILURE() fails when there are two
630 EXPECT_NONFATAL_FAILURE({
636 // Tests that EXPECT_NONFATAL_FAILURE() fails when there is one fatal
640 EXPECT_NONFATAL_FAILURE({
645 // Tests that EXPECT_NONFATAL_FAILURE() fails when the statement being
649 EXPECT_NONFATAL_FAILURE({
656 // Tests that EXPECT_NONFATAL_FAILURE() fails when the statement being
661 EXPECT_NONFATAL_FAILURE({
878 EXPECT_NONFATAL_FAILURE(SUCCEED(), "Expected non-fatal failure.");
881 EXPECT_NONFATAL_FAILURE(AddFailure(FATAL_FAILURE), "Expected fatal failure.");
884 EXPECT_NONFATAL_FAILURE(AddFailure(NONFATAL_FAILURE), "Some other non-fatal "
908 EXPECT_NONFATAL_FAILURE(AddFailureInOtherThread(NONFATAL_FAILURE),