Lines Matching refs:EXPECT_NONFATAL_FAILURE
576 // Used for testing EXPECT_NONFATAL_FAILURE() and EXPECT_FATAL_FAILURE().
579 // Tests that EXPECT_NONFATAL_FAILURE() can reference global variables.
582 EXPECT_NONFATAL_FAILURE({
587 // Tests that EXPECT_NONFATAL_FAILURE() can reference local variables
593 EXPECT_NONFATAL_FAILURE({
598 // Tests that EXPECT_NONFATAL_FAILURE() succeeds when there is exactly
601 EXPECT_NONFATAL_FAILURE({
606 // Tests that EXPECT_NONFATAL_FAILURE() fails when there is no
610 EXPECT_NONFATAL_FAILURE({
614 // Tests that EXPECT_NONFATAL_FAILURE() fails when there are two
618 EXPECT_NONFATAL_FAILURE({
624 // Tests that EXPECT_NONFATAL_FAILURE() fails when there is one fatal
628 EXPECT_NONFATAL_FAILURE({
633 // Tests that EXPECT_NONFATAL_FAILURE() fails when the statement being
637 EXPECT_NONFATAL_FAILURE({
644 // Tests that EXPECT_NONFATAL_FAILURE() fails when the statement being
649 EXPECT_NONFATAL_FAILURE({
866 EXPECT_NONFATAL_FAILURE(SUCCEED(), "Expected non-fatal failure.");
869 EXPECT_NONFATAL_FAILURE(AddFailure(FATAL_FAILURE), "Expected fatal failure.");
872 EXPECT_NONFATAL_FAILURE(AddFailure(NONFATAL_FAILURE), "Some other non-fatal "
896 EXPECT_NONFATAL_FAILURE(AddFailureInOtherThread(NONFATAL_FAILURE),