Lines Matching refs:FAIL
305 // Some compilers may fail to detect some null pointer literals;
606 // Popping on an empty Vector should fail.
609 // Popping again on an empty Vector should fail, and the result element
1486 FAIL() << "Expected fatal failure.";
1605 EXPECT_FATAL_FAILURE_ON_ALL_THREADS(FAIL(), "");
1618 EXPECT_FATAL_FAILURE_ON_ALL_THREADS(FAIL(), "");
3160 // Tests the cases where FloatLE() should fail.
3326 // Tests the cases where DoubleLE() should fail.
3360 FAIL() << "Unexpected failure: Disabled test should not be run.";
3372 FAIL() << "Unexpected failure: Test in disabled test case should not be run.";
3378 FAIL() << "Unexpected failure: Test in disabled test case should not be run.";
3386 FAIL() << "Unexpected failure: All tests disabled in test case. "
3391 FAIL() << "Unexpected failure: All tests disabled in test case. "
3397 FAIL() << "Unexpected failure: Disabled test should not be run.";
3401 FAIL() << "Unexpected failure: Disabled test should not be run.";
3416 FAIL() << "Unexpected failure: Disabled typed test should not run.";
3426 FAIL() << "Unexpected failure: Disabled typed test should not run.";
3442 FAIL() << "Unexpected failure: "
3457 FAIL() << "Unexpected failure: "
3629 FAIL() << "some fatal failure";
3699 EXPECT_NO_FATAL_FAILURE(FAIL() << "foo") << "my message";
4226 EXPECT_NO_FATAL_FAILURE(FAIL()) << "This should never be executed. "
4232 ASSERT_NO_FATAL_FAILURE(FAIL()) << "";
4550 EXPECT_FATAL_FAILURE(FAIL() << str,
4562 EXPECT_FATAL_FAILURE(FAIL() << string_with_nul,
4571 FAIL() << "A NUL" << '\0' << " and some more string";
4577 EXPECT_FATAL_FAILURE(FAIL() << 900913,
4587 EXPECT_FATAL_FAILURE(FAIL() << static_cast<const char*>(NULL),
4595 FAIL() << "Line 1." << std::endl
4616 // Tests FAIL.
4617 TEST(MacroTest, FAIL) {
4618 EXPECT_FATAL_FAILURE(FAIL(),
4620 EXPECT_FATAL_FAILURE(FAIL() << "Intentional failure.",
4633 // These tests fail *intentionally*, s.t. the failure messages can be
4713 // which having a NUL character in the middle. This should fail.
6138 EXPECT_EQ(1, 1) << "This shouldn't fail.";
6141 // Tests that an assertion that should fail works as expected.
6143 EXPECT_FATAL_FAILURE(FAIL() << "This failure is expected.",
6170 EXPECT_FATAL_FAILURE(FAIL() << "expected failure",
6452 static void FailFatally() { FAIL(); }