Home | History | Annotate | Download | only in test

Lines Matching refs:FAIL

328   // Some compilers may fail to detect some null pointer literals;
1263 FAIL() << "Expected fatal failure.";
1382 EXPECT_FATAL_FAILURE_ON_ALL_THREADS(FAIL(), "");
1395 EXPECT_FATAL_FAILURE_ON_ALL_THREADS(FAIL(), "");
2915 // Tests the cases where FloatLE() should fail.
3087 // Tests the cases where DoubleLE() should fail.
3121 FAIL() << "Unexpected failure: Disabled test should not be run.";
3133 FAIL() << "Unexpected failure: Test in disabled test case should not be run.";
3139 FAIL() << "Unexpected failure: Test in disabled test case should not be run.";
3147 FAIL() << "Unexpected failure: All tests disabled in test case. "
3152 FAIL() << "Unexpected failure: All tests disabled in test case. "
3158 FAIL() << "Unexpected failure: Disabled test should not be run.";
3162 FAIL() << "Unexpected failure: Disabled test should not be run.";
3177 FAIL() << "Unexpected failure: Disabled typed test should not run.";
3187 FAIL() << "Unexpected failure: Disabled typed test should not run.";
3203 FAIL() << "Unexpected failure: "
3218 FAIL() << "Unexpected failure: "
3390 FAIL() << "some fatal failure";
3460 EXPECT_NO_FATAL_FAILURE(FAIL() << "foo") << "my message";
4058 EXPECT_NO_FATAL_FAILURE(FAIL()) << "This should never be executed. "
4064 ASSERT_NO_FATAL_FAILURE(FAIL()) << "";
4409 EXPECT_FATAL_FAILURE(FAIL() << str,
4421 EXPECT_FATAL_FAILURE(FAIL() << string_with_nul,
4428 FAIL() << "A NUL" << '\0' << " and some more string";
4434 EXPECT_FATAL_FAILURE(FAIL() << 900913,
4444 EXPECT_FATAL_FAILURE(FAIL() << static_cast<const char*>(NULL),
4452 FAIL() << "Line 1." << std::endl
4488 // Tests FAIL.
4489 TEST(MacroTest, FAIL) {
4490 EXPECT_FATAL_FAILURE(FAIL(),
4492 EXPECT_FATAL_FAILURE(FAIL() << "Intentional failure.",
4505 // These tests fail *intentionally*, s.t. the failure messages can be
4586 // which having a NUL character in the middle. This should fail.
6229 EXPECT_EQ(1, 1) << "This shouldn't fail.";
6232 // Tests that an assertion that should fail works as expected.
6234 EXPECT_FATAL_FAILURE(FAIL() << "This failure is expected.",
6261 EXPECT_FATAL_FAILURE(FAIL() << "expected failure",
6536 static void FailFatally() { FAIL(); }
6941 // GTEST_FAIL is the same as FAIL.