Lines Matching refs:FAIL
1092 FAIL() << "Expected fatal failure.";
1211 EXPECT_FATAL_FAILURE_ON_ALL_THREADS(FAIL(), "");
1224 EXPECT_FATAL_FAILURE_ON_ALL_THREADS(FAIL(), "");
2884 // Tests the cases where FloatLE() should fail.
3056 // Tests the cases where DoubleLE() should fail.
3090 FAIL() << "Unexpected failure: Disabled test should not be run.";
3102 FAIL() << "Unexpected failure: Test in disabled test case should not be run.";
3108 FAIL() << "Unexpected failure: Test in disabled test case should not be run.";
3116 FAIL() << "Unexpected failure: All tests disabled in test case. "
3121 FAIL() << "Unexpected failure: All tests disabled in test case. "
3127 FAIL() << "Unexpected failure: Disabled test should not be run.";
3131 FAIL() << "Unexpected failure: Disabled test should not be run.";
3146 FAIL() << "Unexpected failure: Disabled typed test should not run.";
3156 FAIL() << "Unexpected failure: Disabled typed test should not run.";
3172 FAIL() << "Unexpected failure: "
3187 FAIL() << "Unexpected failure: "
3359 FAIL() << "some fatal failure";
3429 EXPECT_NO_FATAL_FAILURE(FAIL() << "foo") << "my message";
4027 EXPECT_NO_FATAL_FAILURE(FAIL()) << "This should never be executed. "
4033 ASSERT_NO_FATAL_FAILURE(FAIL()) << "";
4184 ASSERT_FALSE(false) << "This shouldn't fail.";
4191 // Tests using FAIL with a streamed message.
4192 TEST(AssertionWithMessageTest, FAIL) {
4193 EXPECT_FATAL_FAILURE(FAIL() << 0,
4484 EXPECT_FATAL_FAILURE(FAIL() << str,
4496 EXPECT_FATAL_FAILURE(FAIL() << string_with_nul,
4503 FAIL() << "A NUL" << '\0' << " and some more string";
4509 EXPECT_FATAL_FAILURE(FAIL() << 900913,
4519 EXPECT_FATAL_FAILURE(FAIL() << static_cast<const char*>(NULL),
4527 FAIL() << "Line 1." << std::endl
4563 // Tests FAIL.
4564 TEST(MacroTest, FAIL) {
4565 EXPECT_FATAL_FAILURE(FAIL(),
4567 EXPECT_FATAL_FAILURE(FAIL() << "Intentional failure.",
4579 // These tests fail *intentionally*, s.t. the failure messages can be
4660 // which having a NUL character in the middle. This should fail.
6303 EXPECT_EQ(1, 1) << "This shouldn't fail.";
6306 // Tests that an assertion that should fail works as expected.
6308 EXPECT_FATAL_FAILURE(FAIL() << "This failure is expected.",
6335 EXPECT_FATAL_FAILURE(FAIL() << "expected failure",
6613 static void FailFatally() { FAIL(); }
7018 // GTEST_FAIL is the same as FAIL.