Lines Matching refs:EXPECT_NONFATAL_FAILURE
1534 // Tests EXPECT_NONFATAL_FAILURE{,ON_ALL_THREADS}.
1539 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(),
1545 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(),
1551 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(),
1562 // Tests that the EXPECT_NONFATAL_FAILURE{,_ON_ALL_THREADS} accepts a
1566 EXPECT_NONFATAL_FAILURE({
1806 EXPECT_NONFATAL_FAILURE(
2357 EXPECT_NONFATAL_FAILURE({ // NOLINT
2373 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT1(AssertIsEvenFunctor(), n),
2408 EXPECT_NONFATAL_FAILURE({ // NOLINT
2428 EXPECT_NONFATAL_FAILURE({ // NOLINT
2463 EXPECT_NONFATAL_FAILURE({ // NOLINT
2473 EXPECT_NONFATAL_FAILURE({ // NOLINT
2632 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"non-null", NULL),
2639 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"abc", L"Abc"),
2643 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"abc\x8119", L"abc\x8120"),
2647 EXPECT_NONFATAL_FAILURE({ // NOLINT
2655 EXPECT_NONFATAL_FAILURE({ // NOLINT
2660 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE(L"", L""),
2667 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE(L"Hi", L"Hi"),
2674 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE(L"abc\x8119", L"abc\x8119"),
2894 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(-0.0, 1.0),
2927 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(1.0, values_.further_from_one),
2933 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(2.5, 3.0),
2946 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, -values_.infinity),
2951 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, values_.nan1),
2969 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(v.nan1, v.nan1),
2971 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(v.nan1, v.nan2),
2973 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(1.0, v.nan1),
2994 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.further_from_one, 1.0),
3002 EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.0f,1.5f, 0.25f), // NOLINT
3032 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(FloatLE, 2.0f, 1.0f),
3036 EXPECT_NONFATAL_FAILURE({ // NOLINT
3044 EXPECT_NONFATAL_FAILURE({ // NOLINT
3047 EXPECT_NONFATAL_FAILURE({ // NOLINT
3067 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(-0.0, 1.0),
3100 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one),
3106 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(2.0, 3.0),
3119 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.infinity, -values_.infinity),
3124 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.infinity, values_.nan1),
3141 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(v.nan1, v.nan1),
3143 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(v.nan1, v.nan2), "v.nan2");
3144 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, v.nan1), "v.nan1");
3166 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.further_from_one, 1.0),
3174 EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.0, 1.5, 0.25), // NOLINT
3204 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(DoubleLE, 2.0, 1.0),
3208 EXPECT_NONFATAL_FAILURE({ // NOLINT
3216 EXPECT_NONFATAL_FAILURE({ // NOLINT
3219 EXPECT_NONFATAL_FAILURE({ // NOLINT
3400 EXPECT_NONFATAL_FAILURE(EXPECT_STRCASEEQ(p1_++, p2_++),
3422 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(-1 == a_++), "-1 == a_++");
3431 EXPECT_NONFATAL_FAILURE(EXPECT_LT(a_++, b_++), "(a_++) < (b_++)");
3461 EXPECT_NONFATAL_FAILURE(EXPECT_THROW({ // NOLINT
3468 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing");
3476 EXPECT_NONFATAL_FAILURE(EXPECT_NO_THROW({ // NOLINT
3490 EXPECT_NONFATAL_FAILURE(EXPECT_ANY_THROW(a_++), "it doesn't");
3524 EXPECT_NONFATAL_FAILURE(
3527 EXPECT_NONFATAL_FAILURE(
3919 EXPECT_NONFATAL_FAILURE(EXPECT_PRED1(IsPositiveUncopyable, y),
3922 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(x, y),
3934 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(kE1, kE2), "Which is: 0");
3935 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(kE1, kE2), "Actual: 1");
3983 EXPECT_NONFATAL_FAILURE(EXPECT_GE(kCaseA, kCaseB),
3985 EXPECT_NONFATAL_FAILURE(EXPECT_GE(kCaseA, kCaseC),
4032 EXPECT_NONFATAL_FAILURE(EXPECT_HRESULT_SUCCEEDED(UnexpectedHRESULTFailure()),
4049 EXPECT_NONFATAL_FAILURE(EXPECT_HRESULT_FAILED(OkHRESULTSuccess()),
4052 EXPECT_NONFATAL_FAILURE(EXPECT_HRESULT_FAILED(FalseHRESULTSuccess()),
4080 EXPECT_NONFATAL_FAILURE(
4092 EXPECT_NONFATAL_FAILURE(
4135 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(n++, int), "");
4136 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(throw 1, const char*), "");
4138 EXPECT_NONFATAL_FAILURE(EXPECT_NO_THROW(throw 1), "");
4140 EXPECT_NONFATAL_FAILURE(EXPECT_ANY_THROW(n++), "");
4278 EXPECT_NONFATAL_FAILURE(EXPECT_NE(1, 1) << "Expected failure #1.",
4281 EXPECT_NONFATAL_FAILURE(EXPECT_LT(1, 0) << "Expected failure #2.",
4284 EXPECT_NONFATAL_FAILURE(EXPECT_GT(1, 2) << "Expected failure #3.",
4288 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE("1", "1") << "Expected failure #4.",
4291 EXPECT_NONFATAL_FAILURE(EXPECT_STRCASENE("a", "A") << "Expected failure #5.",
4295 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1, 1.2) << "Expected failure #6.",
4360 EXPECT_NONFATAL_FAILURE({ // NOLINT
4373 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(false) << "Intentional failure #1.",
4375 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(false) << "Intentional failure #2.",
4378 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(2 < 1),
4382 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(2 > 3),
4389 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(ResultIsEven(3)),
4394 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(ResultIsEvenNoExplanation(3)),
4404 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(true) << "Intentional failure #1.",
4406 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(true) << "Intentional failure #2.",
4408 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(2 > 1),
4412 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(2 < 3),
4419 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(ResultIsEven(2)),
4424 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(ResultIsEvenNoExplanation(2)),
4438 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(5, 2*3),
4442 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(5, 2 - 3),
4454 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(5.1, 5.2),
4471 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(NULL, &n),
4487 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(0, 5.6),
4495 EXPECT_NONFATAL_FAILURE(EXPECT_NE('a', 'a'),
4498 EXPECT_NONFATAL_FAILURE(EXPECT_NE(2, 2),
4501 EXPECT_NONFATAL_FAILURE(EXPECT_NE(p0, p0),
4509 EXPECT_NONFATAL_FAILURE(EXPECT_NE(p1, p1),
4517 EXPECT_NONFATAL_FAILURE(EXPECT_LE(2, 0),
4519 EXPECT_NONFATAL_FAILURE(EXPECT_LE(1.1, 0.9),
4526 EXPECT_NONFATAL_FAILURE(EXPECT_LT(2, 2),
4528 EXPECT_NONFATAL_FAILURE(EXPECT_LT(2, 1),
4536 EXPECT_NONFATAL_FAILURE(EXPECT_GE(2, 3),
4538 EXPECT_NONFATAL_FAILURE(EXPECT_GE(0.9, 1.1),
4545 EXPECT_NONFATAL_FAILURE(EXPECT_GT(2, 2),
4547 EXPECT_NONFATAL_FAILURE(EXPECT_GT(2, 3),
4556 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool),
4559 EXPECT_NONFATAL_FAILURE(
4568 EXPECT_NONFATAL_FAILURE(EXPECT_NO_THROW(ThrowAnInteger()),
4576 EXPECT_NONFATAL_FAILURE(
4587 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(true, true && false),
4688 EXPECT_NONFATAL_FAILURE(AddFailureHelper(&aborted),
4697 EXPECT_NONFATAL_FAILURE(ADD_FAILURE_AT("foo.cc", 42) << "Wrong!", "Wrong!");
4700 EXPECT_NONFATAL_FAILURE(ADD_FAILURE_AT("foo.cc", 42), "Failed");
4704 // EXPECT_NONFATAL_FAILURE() doesn't get to see the file path and
4741 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(32, 33),
4758 EXPECT_NONFATAL_FAILURE(EXPECT_EQ('\0', ch),
4760 EXPECT_NONFATAL_FAILURE(EXPECT_EQ('a', ch),
4768 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(L'\0', L'x'),
4776 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(L'a', wchar),
4796 EXPECT_NONFATAL_FAILURE(EXPECT_EQ("Test", ::std::string("test")),
4801 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(::std::string("bar"), p1),
4830 EXPECT_NONFATAL_FAILURE({ // NOLINT
4838 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(wstr1, wstr3),
4862 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(::string("Test"), "test"),
4869 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(str1, str3),
4896 EXPECT_NONFATAL_FAILURE({ // NOLINT
4902 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, ::wstring(L"bar")),
4929 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p0, p2),
4931 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, p2),
4951 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p0, p2),
4953 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, p2),
4959 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p3, p4),
5011 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(x, y), "1-byte object <78>");
5012 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(x, y), "1-byte object <79>");
5013 EXPECT_NONFATAL_FAILURE(EXPECT_LT(y, y), "1-byte object <79>");
5014 EXPECT_NONFATAL_FAILURE(EXPECT_GT(x, y), "1-byte object <78>");
5015 EXPECT_NONFATAL_FAILURE(EXPECT_GT(x, y), "1-byte object <79>");
6478 EXPECT_NONFATAL_FAILURE(ADD_FAILURE() << "expected failure",
6492 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(false) << "expected failure",
6501 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(true) << "expected failure",
6515 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(1, 2) << "expected failure",
6524 EXPECT_NONFATAL_FAILURE(EXPECT_LT(2, 1) << "expected failure",
6533 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ("foo", "bar") << "expected failure",
6542 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE("foo", "foo") << "expected failure",
6551 EXPECT_NONFATAL_FAILURE(EXPECT_STRCASEEQ("foo", "bar") << "expected failure",
6560 EXPECT_NONFATAL_FAILURE(EXPECT_STRCASENE("foo", "FOO") << "expected failure",
6569 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(0.0, 1.0) << "expected failure",
6580 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool) <<
6589 EXPECT_NONFATAL_FAILURE(EXPECT_NO_THROW(ThrowAnInteger()) <<
6598 EXPECT_NONFATAL_FAILURE(EXPECT_ANY_THROW(ThrowNothing()) <<