• Home
  • Raw
  • Download

Lines Matching full:fatal

61 // Tests catching fatal failures.
68 // This function calls a test subroutine, catches the fatal failure it
71 // Calls a subrountine that yields a fatal failure. in TryTestSubroutine()
74 // Catches the fatal failure and aborts the test. in TryTestSubroutine()
90 // Tests catching a fatal failure in a subroutine.
97 // Tests catching a fatal failure in a nested subroutine.
101 // Calls a subrountine that yields a fatal failure. in TEST()
104 // Catches the fatal failure and aborts the test. in TEST()
319 // Tests non-fatal failures in the fixture constructor.
344 // Tests fatal failures in the fixture constructor.
359 << "had a fatal failure."; in SetUp()
365 << "had a fatal failure."; in TearDown()
376 << "had a fatal failure."; in TEST_F()
379 // Tests non-fatal failures in SetUp().
404 // Tests fatal failures in SetUp().
695 EXPECT_EQ(1, global_integer) << "Expected non-fatal failure."; in TEST()
696 }, "Expected non-fatal failure."); in TEST()
706 EXPECT_EQ(m, n) << "Expected non-fatal failure."; in TEST()
707 }, "Expected non-fatal failure."); in TEST()
711 // one non-fatal failure and no fatal failure.
714 ADD_FAILURE() << "Expected non-fatal failure."; in TEST()
715 }, "Expected non-fatal failure."); in TEST()
719 // non-fatal failure.
727 // non-fatal failures.
731 ADD_FAILURE() << "Expected non-fatal failure 1."; in TEST()
732 ADD_FAILURE() << "Expected non-fatal failure 2."; in TEST()
736 // Tests that EXPECT_NONFATAL_FAILURE() fails when there is one fatal
741 FAIL() << "Expected fatal failure."; in TEST()
774 ASSERT_EQ(1, global_integer) << "Expected fatal failure."; in TEST()
775 }, "Expected fatal failure."); in TEST()
784 ASSERT_EQ(0, n) << "Expected fatal failure."; in TEST()
785 }, "Expected fatal failure."); in TEST()
789 // one fatal failure and no non-fatal failure.
792 FAIL() << "Expected fatal failure."; in TEST()
793 }, "Expected fatal failure."); in TEST()
796 // Tests that EXPECT_FATAL_FAILURE() fails when there is no fatal
804 // A helper for generating a fatal failure.
806 FAIL() << "Expected fatal failure."; in FatalFailure()
810 // fatal failures.
819 // Tests that EXPECT_FATAL_FAILURE() fails when there is one non-fatal
824 ADD_FAILURE() << "Expected non-fatal failure."; in TEST()
954 FAIL() << "Expected fatal failure."; in AddFailure()
956 ADD_FAILURE() << "Expected non-fatal failure."; in AddFailure()
962 // Expected fatal failure, but succeeds. in TEST_F()
964 EXPECT_FATAL_FAILURE(SUCCEED(), "Expected fatal failure."); in TEST_F()
965 // Expected fatal failure, but got a non-fatal failure. in TEST_F()
967 EXPECT_FATAL_FAILURE(AddFailure(NONFATAL_FAILURE), "Expected non-fatal " in TEST_F()
971 EXPECT_FATAL_FAILURE(AddFailure(FATAL_FAILURE), "Some other fatal failure " in TEST_F()
976 // Expected non-fatal failure, but succeeds. in TEST_F()
978 EXPECT_NONFATAL_FAILURE(SUCCEED(), "Expected non-fatal failure."); in TEST_F()
979 // Expected non-fatal failure, but got a fatal failure. in TEST_F()
981 EXPECT_NONFATAL_FAILURE(AddFailure(FATAL_FAILURE), "Expected fatal failure."); in TEST_F()
984 EXPECT_NONFATAL_FAILURE(AddFailure(NONFATAL_FAILURE), "Some other non-fatal " in TEST_F()
1002 "Expected fatal failure."); in TEST_F()
1009 "Expected non-fatal failure."); in TEST_F()
1033 // Expected fatal failure, but succeeds. in TEST_F()
1035 EXPECT_FATAL_FAILURE_ON_ALL_THREADS(SUCCEED(), "Expected fatal failure."); in TEST_F()
1036 // Expected fatal failure, but got a non-fatal failure. in TEST_F()
1039 "Expected non-fatal failure."); in TEST_F()
1043 "Some other fatal failure expected."); in TEST_F()
1047 // Expected non-fatal failure, but succeeds. in TEST_F()
1049 EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(SUCCEED(), "Expected non-fatal " in TEST_F()
1051 // Expected non-fatal failure, but got a fatal failure. in TEST_F()
1054 "Expected fatal failure."); in TEST_F()
1058 "Some other non-fatal failure."); in TEST_F()
1072 FAIL() << "Expected fatal failure."; in TearDown()
1084 ADD_FAILURE() << "Expected non-fatal failure."; in TearDown()