Lines Matching refs:EXPECT_NONFATAL_FAILURE
1262 // Tests EXPECT_NONFATAL_FAILURE{,ON_ALL_THREADS}.
1267 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(),
1273 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(),
1279 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(),
1290 // Tests that the EXPECT_NONFATAL_FAILURE{,_ON_ALL_THREADS} accepts a
1294 EXPECT_NONFATAL_FAILURE({
1938 EXPECT_NONFATAL_FAILURE(Test::RecordProperty(key, "1"), "Reserved key");
2063 EXPECT_NONFATAL_FAILURE(
2212 EXPECT_NONFATAL_FAILURE({ // NOLINT
2228 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT1(AssertIsEvenFunctor(), n),
2263 EXPECT_NONFATAL_FAILURE({ // NOLINT
2283 EXPECT_NONFATAL_FAILURE({ // NOLINT
2318 EXPECT_NONFATAL_FAILURE({ // NOLINT
2328 EXPECT_NONFATAL_FAILURE({ // NOLINT
2487 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"non-null", NULL),
2494 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"abc", L"Abc"),
2498 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"abc\x8119", L"abc\x8120"),
2502 EXPECT_NONFATAL_FAILURE({ // NOLINT
2510 EXPECT_NONFATAL_FAILURE({ // NOLINT
2515 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE(L"", L""),
2522 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE(L"Hi", L"Hi"),
2529 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE(L"abc\x8119", L"abc\x8119"),
2749 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(-0.0, 1.0),
2782 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(1.0, values_.further_from_one),
2788 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(2.5, 3.0),
2801 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, -values_.infinity),
2806 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, values_.nan1),
2824 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(v.nan1, v.nan1),
2826 EXPECT_NONFATAL_FAILURE
2828 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(1.0, v.nan1),
2849 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.further_from_one, 1.0),
2857 EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.0f,1.5f, 0.25f), // NOLINT
2887 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(FloatLE, 2.0f, 1.0f),
2891 EXPECT_NONFATAL_FAILURE({ // NOLINT
2899 EXPECT_NONFATAL_FAILURE({ // NOLINT
2902 EXPECT_NONFATAL_FAILURE({ // NOLINT
2922 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(-0.0, 1.0),
2955 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one),
2961 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(2.0, 3.0),
2974 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.infinity, -values_.infinity),
2979 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.infinity, values_.nan1),
2996 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(v.nan1, v.nan1),
2998 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(v.nan1, v.nan2), "v.nan2");
2999 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, v.nan1), "v.nan1");
3021 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.further_from_one, 1.0),
3029 EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.0, 1.5, 0.25), // NOLINT
3059 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT2(DoubleLE, 2.0, 1.0),
3063 EXPECT_NONFATAL_FAILURE({ // NOLINT
3071 EXPECT_NONFATAL_FAILURE({ // NOLINT
3074 EXPECT_NONFATAL_FAILURE({ // NOLINT
3255 EXPECT_NONFATAL_FAILURE(EXPECT_STRCASEEQ(p1_++, p2_++),
3277 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(-1 == a_++), "-1 == a_++");
3286 EXPECT_NONFATAL_FAILURE(EXPECT_LT(a_++, b_++), "(a_++) < (b_++)");
3316 EXPECT_NONFATAL_FAILURE(EXPECT_THROW({ // NOLINT
3323 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing");
3331 EXPECT_NONFATAL_FAILURE(EXPECT_NO_THROW({ // NOLINT
3345 EXPECT_NONFATAL_FAILURE(EXPECT_ANY_THROW(a_++), "it doesn't");
3379 EXPECT_NONFATAL_FAILURE(
3382 EXPECT_NONFATAL_FAILURE(
3774 EXPECT_NONFATAL_FAILURE(EXPECT_PRED1(IsPositiveUncopyable, y),
3777 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(x, y),
3789 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(kE1, kE2), "Which is: 0");
3790 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(kE1, kE2), "Actual: 1");
3838 EXPECT_NONFATAL_FAILURE(EXPECT_GE(kCaseA, kCaseB),
3840 EXPECT_NONFATAL_FAILURE(EXPECT_GE(kCaseA, kCaseC),
3887 EXPECT_NONFATAL_FAILURE(EXPECT_HRESULT_SUCCEEDED(UnexpectedHRESULTFailure()),
3904 EXPECT_NONFATAL_FAILURE(EXPECT_HRESULT_FAILED(OkHRESULTSuccess()),
3907 EXPECT_NONFATAL_FAILURE(EXPECT_HRESULT_FAILED(FalseHRESULTSuccess()),
3935 EXPECT_NONFATAL_FAILURE(
3947 EXPECT_NONFATAL_FAILURE(
3990 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(n++, int), "");
3991 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(throw 1, const char*), "");
3993 EXPECT_NONFATAL_FAILURE(EXPECT_NO_THROW(throw 1), "");
3995 EXPECT_NONFATAL_FAILURE(EXPECT_ANY_THROW(n++), "");
4133 EXPECT_NONFATAL_FAILURE(EXPECT_NE(1, 1) << "Expected failure #1.",
4136 EXPECT_NONFATAL_FAILURE(EXPECT_LT(1, 0) << "Expected failure #2.",
4139 EXPECT_NONFATAL_FAILURE(EXPECT_GT(1, 2) << "Expected failure #3.",
4143 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE("1", "1") << "Expected failure #4.",
4146 EXPECT_NONFATAL_FAILURE(EXPECT_STRCASENE("a", "A") << "Expected failure #5.",
4150 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1, 1.2) << "Expected failure #6.",
4215 EXPECT_NONFATAL_FAILURE({ // NOLINT
4228 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(false) << "Intentional failure #1.",
4230 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(false) << "Intentional failure #2.",
4233 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(2 < 1),
4237 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(2 > 3),
4244 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(ResultIsEven(3)),
4249 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(ResultIsEvenNoExplanation(3)),
4259 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(true) << "Intentional failure #1.",
4261 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(true) << "Intentional failure #2.",
4263 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(2 > 1),
4267 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(2 < 3),
4274 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(ResultIsEven(2)),
4279 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(ResultIsEvenNoExplanation(2)),
4293 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(5, 2*3),
4297 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(5, 2 - 3),
4309 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(5.1, 5.2),
4326 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(NULL, &n),
4342 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(0, 5.6),
4350 EXPECT_NONFATAL_FAILURE(EXPECT_NE('a', 'a'),
4353 EXPECT_NONFATAL_FAILURE(EXPECT_NE(2, 2),
4356 EXPECT_NONFATAL_FAILURE(EXPECT_NE(p0, p0),
4364 EXPECT_NONFATAL_FAILURE(EXPECT_NE(p1, p1),
4372 EXPECT_NONFATAL_FAILURE(EXPECT_LE(2, 0),
4374 EXPECT_NONFATAL_FAILURE(EXPECT_LE(1.1, 0.9),
4381 EXPECT_NONFATAL_FAILURE(EXPECT_LT(2, 2),
4383 EXPECT_NONFATAL_FAILURE(EXPECT_LT(2, 1),
4391 EXPECT_NONFATAL_FAILURE(EXPECT_GE(2, 3),
4393 EXPECT_NONFATAL_FAILURE(EXPECT_GE(0.9, 1.1),
4400 EXPECT_NONFATAL_FAILURE(EXPECT_GT(2, 2),
4402 EXPECT_NONFATAL_FAILURE(EXPECT_GT(2, 3),
4411 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool),
4414 EXPECT_NONFATAL_FAILURE(
4423 EXPECT_NONFATAL_FAILURE(EXPECT_NO_THROW(ThrowAnInteger()),
4431 EXPECT_NONFATAL_FAILURE(
4442 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(true, true && false),
4543 EXPECT_NONFATAL_FAILURE(AddFailureHelper(&aborted),
4552 EXPECT_NONFATAL_FAILURE(ADD_FAILURE_AT("foo.cc", 42) << "Wrong!", "Wrong!");
4555 EXPECT_NONFATAL_FAILURE(ADD_FAILURE_AT("foo.cc", 42), "Failed");
4559 // EXPECT_NONFATAL_FAILURE() doesn't get to see the file path and
4596 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(32, 33),
4613 EXPECT_NONFATAL_FAILURE(EXPECT_EQ('\0', ch),
4615 EXPECT_NONFATAL_FAILURE(EXPECT_EQ('a', ch),
4623 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(L'\0', L'x'),
4631 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(L'a', wchar),
4651 EXPECT_NONFATAL_FAILURE(EXPECT_EQ("Test", ::std::string("test")),
4656 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(::std::string("bar"), p1),
4685 EXPECT_NONFATAL_FAILURE({ // NOLINT
4693 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(wstr1, wstr3),
4717 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(::string("Test"), "test"),
4724 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(str1, str3),
4751 EXPECT_NONFATAL_FAILURE({ // NOLINT
4757 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, ::wstring(L"bar")),
4784 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p0, p2),
4786 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, p2),
4806 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p0, p2),
4808 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, p2),
4814 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p3, p4),
4866 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(x, y), "1-byte object <78>");
4867 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(x, y), "1-byte object <79>");
4868 EXPECT_NONFATAL_FAILURE(EXPECT_LT(y, y), "1-byte object <79>");
4869 EXPECT_NONFATAL_FAILURE(EXPECT_GT(x, y), "1-byte object <78>");
4870 EXPECT_NONFATAL_FAILURE(EXPECT_GT(x, y), "1-byte object <79>");
6333 EXPECT_NONFATAL_FAILURE(ADD_FAILURE() << "expected failure",
6347 EXPECT_NONFATAL_FAILURE(EXPECT_TRUE(false) << "expected failure",
6356 EXPECT_NONFATAL_FAILURE(EXPECT_FALSE(true) << "expected failure",
6370 EXPECT_NONFATAL_FAILURE(EXPECT_EQ(1, 2) << "expected failure",
6379 EXPECT_NONFATAL_FAILURE(EXPECT_LT(2, 1) << "expected failure",
6388 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ("foo", "bar") << "expected failure",
6397 EXPECT_NONFATAL_FAILURE(EXPECT_STRNE("foo", "foo") << "expected failure",
6406 EXPECT_NONFATAL_FAILURE(EXPECT_STRCASEEQ("foo", "bar") << "expected failure",
6415 EXPECT_NONFATAL_FAILURE(EXPECT_STRCASENE("foo", "FOO") << "expected failure",
6424 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(0.0, 1.0) << "expected failure",
6435 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool) <<
6444 EXPECT_NONFATAL_FAILURE(EXPECT_NO_THROW(ThrowAnInteger()) <<
6453 EXPECT_NONFATAL_FAILURE(EXPECT_ANY_THROW(ThrowNothing()) <<