Home
last modified time | relevance | path

Searched refs:EXPECT_NONFATAL_FAILURE (Results 1 – 25 of 30) sorted by relevance

12

/external/protobuf/gtest/test/
Dgtest-port_test.cc194 EXPECT_NONFATAL_FAILURE({ in TYPED_TEST()
481 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex(NULL)), in TEST()
483 EXPECT_NONFATAL_FAILURE( in TEST()
486 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("a\\")), in TEST()
488 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("\\n\\")), in TEST()
490 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("\\s\\hb")), in TEST()
492 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("^^")), in TEST()
494 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex(".*^b")), in TEST()
496 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("$$")), in TEST()
498 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("^$a")), in TEST()
[all …]
Dgtest_pred_impl_unittest.cc201 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
211 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
221 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
231 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
349 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
359 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
369 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
379 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
603 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
614 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
[all …]
Dgtest_unittest.cc1661 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1676 EXPECT_NONFATAL_FAILURE({ in TEST_F()
1973 EXPECT_NONFATAL_FAILURE( in ExpectNonFatalFailureRecordingPropertyWithReservedKey()
2489 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2505 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT1(AssertIsEvenFunctor(), n), in TEST()
2540 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2560 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2595 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2605 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2768 EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"non-null", NULL), in TEST()
[all …]
Dgtest_output_test_.cc558 EXPECT_NONFATAL_FAILURE({ in TEST()
569 EXPECT_NONFATAL_FAILURE({ in TEST()
577 EXPECT_NONFATAL_FAILURE({ in TEST()
586 EXPECT_NONFATAL_FAILURE({ in TEST()
594 EXPECT_NONFATAL_FAILURE({ in TEST()
604 EXPECT_NONFATAL_FAILURE({ in TEST()
613 EXPECT_NONFATAL_FAILURE({ in TEST()
625 EXPECT_NONFATAL_FAILURE({ in TEST()
842 EXPECT_NONFATAL_FAILURE(SUCCEED(), "Expected non-fatal failure."); in TEST_F()
845 EXPECT_NONFATAL_FAILURE(AddFailure(FATAL_FAILURE), "Expected fatal failure."); in TEST_F()
[all …]
Dgtest-death-test_test.cc493 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(DieIf(false), "DieIf"), in TEST_F()
499 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
515 EXPECT_NONFATAL_FAILURE(ExpectDeathTestHelper(&aborted), in TEST_F()
544 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(static_cast<void>(0), "Foo"), in TEST_F()
636 EXPECT_NONFATAL_FAILURE(ExpectDebugDeathHelper(&aborted), ""); in TEST_F()
672 EXPECT_NONFATAL_FAILURE({ // NOLINT in TestExitMacros()
695 EXPECT_NONFATAL_FAILURE({ // NOLINT in TestExitMacros()
712 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
980 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
1138 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH_IF_SUPPORTED(;, ""), ""); in TEST()
/external/gtest/test/
Dgtest_unittest.cc1438 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1444 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1450 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1465 EXPECT_NONFATAL_FAILURE({ in TEST_F()
1705 EXPECT_NONFATAL_FAILURE( in ExpectNonFatalFailureRecordingPropertyWithReservedKey()
2250 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2266 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT1(AssertIsEvenFunctor(), n), in TEST()
2301 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2321 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2356 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
[all …]
Dgtest_pred_impl_unittest.cc200 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
210 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
220 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
230 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
348 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
358 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
368 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
378 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
601 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
612 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
[all …]
Dgtest_output_test_.cc581 EXPECT_NONFATAL_FAILURE({ in TEST()
592 EXPECT_NONFATAL_FAILURE({ in TEST()
600 EXPECT_NONFATAL_FAILURE({ in TEST()
609 EXPECT_NONFATAL_FAILURE({ in TEST()
617 EXPECT_NONFATAL_FAILURE({ in TEST()
627 EXPECT_NONFATAL_FAILURE({ in TEST()
636 EXPECT_NONFATAL_FAILURE({ in TEST()
648 EXPECT_NONFATAL_FAILURE({ in TEST()
865 EXPECT_NONFATAL_FAILURE(SUCCEED(), "Expected non-fatal failure."); in TEST_F()
868 EXPECT_NONFATAL_FAILURE(AddFailure(FATAL_FAILURE), "Expected fatal failure."); in TEST_F()
[all …]
Dgtest-death-test_ex_test.cc53 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); in TEST()
68 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST()
71 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST()
Dgtest-port_test.cc393 EXPECT_NONFATAL_FAILURE({ in TYPED_TEST()
682 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex(NULL)), in TEST()
684 EXPECT_NONFATAL_FAILURE( in TEST()
687 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("a\\")), in TEST()
689 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("\\n\\")), in TEST()
691 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("\\s\\hb")), in TEST()
693 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("^^")), in TEST()
695 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex(".*^b")), in TEST()
697 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("$$")), in TEST()
699 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("^$a")), in TEST()
[all …]
Dgtest-death-test_test.cc502 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(DieIf(false), "DieIf"), in TEST_F()
508 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
524 EXPECT_NONFATAL_FAILURE(ExpectDeathTestHelper(&aborted), in TEST_F()
553 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(static_cast<void>(0), "Foo"), in TEST_F()
645 EXPECT_NONFATAL_FAILURE(ExpectDebugDeathHelper(&aborted), ""); in TEST_F()
690 EXPECT_NONFATAL_FAILURE({ // NOLINT in TestExitMacros()
707 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
714 EXPECT_NONFATAL_FAILURE( in TEST_F()
723 EXPECT_NONFATAL_FAILURE( in TEST_F()
736 EXPECT_NONFATAL_FAILURE( in TEST_F()
[all …]
/external/chromium/testing/gtest/test/
Dgtest_unittest.cc1438 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1444 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1450 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1465 EXPECT_NONFATAL_FAILURE({ in TEST_F()
1705 EXPECT_NONFATAL_FAILURE( in ExpectNonFatalFailureRecordingPropertyWithReservedKey()
2250 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2266 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT1(AssertIsEvenFunctor(), n), in TEST()
2301 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2321 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2356 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
[all …]
Dgtest_pred_impl_unittest.cc200 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
210 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
220 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
230 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
348 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
358 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
368 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
378 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
601 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
612 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
[all …]
Dgtest_output_test_.cc581 EXPECT_NONFATAL_FAILURE({ in TEST()
592 EXPECT_NONFATAL_FAILURE({ in TEST()
600 EXPECT_NONFATAL_FAILURE({ in TEST()
609 EXPECT_NONFATAL_FAILURE({ in TEST()
617 EXPECT_NONFATAL_FAILURE({ in TEST()
627 EXPECT_NONFATAL_FAILURE({ in TEST()
636 EXPECT_NONFATAL_FAILURE({ in TEST()
648 EXPECT_NONFATAL_FAILURE({ in TEST()
865 EXPECT_NONFATAL_FAILURE(SUCCEED(), "Expected non-fatal failure."); in TEST_F()
868 EXPECT_NONFATAL_FAILURE(AddFailure(FATAL_FAILURE), "Expected fatal failure."); in TEST_F()
[all …]
Dgtest-death-test_ex_test.cc53 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); in TEST()
68 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST()
71 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST()
Dgtest-port_test.cc373 EXPECT_NONFATAL_FAILURE({ in TYPED_TEST()
662 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex(NULL)), in TEST()
664 EXPECT_NONFATAL_FAILURE( in TEST()
667 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("a\\")), in TEST()
669 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("\\n\\")), in TEST()
671 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("\\s\\hb")), in TEST()
673 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("^^")), in TEST()
675 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex(".*^b")), in TEST()
677 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("$$")), in TEST()
679 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("^$a")), in TEST()
[all …]
Dgtest-death-test_test.cc502 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(DieIf(false), "DieIf"), in TEST_F()
508 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
524 EXPECT_NONFATAL_FAILURE(ExpectDeathTestHelper(&aborted), in TEST_F()
553 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(static_cast<void>(0), "Foo"), in TEST_F()
645 EXPECT_NONFATAL_FAILURE(ExpectDebugDeathHelper(&aborted), ""); in TEST_F()
690 EXPECT_NONFATAL_FAILURE({ // NOLINT in TestExitMacros()
707 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
714 EXPECT_NONFATAL_FAILURE( in TEST_F()
723 EXPECT_NONFATAL_FAILURE( in TEST_F()
736 EXPECT_NONFATAL_FAILURE( in TEST_F()
[all …]
/external/chromium/testing/gmock/test/
Dgmock-spec-builders_test.cc245 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
265 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
307 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
319 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
327 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
354 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
368 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
406 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
419 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
432 EXPECT_NONFATAL_FAILURE({ in TEST()
[all …]
Dgmock-nice-strict_test.cc169 EXPECT_NONFATAL_FAILURE(nice_foo.DoThis(), "called more times than expected"); in TEST()
222 EXPECT_NONFATAL_FAILURE(strict_foo.DoThis(), in TEST()
230 EXPECT_NONFATAL_FAILURE(strict_foo.DoThis(), in TEST()
242 EXPECT_NONFATAL_FAILURE(strict_foo->DoThis(), in TEST()
252 EXPECT_NONFATAL_FAILURE(strict_bar.That(5, true), in TEST()
263 EXPECT_NONFATAL_FAILURE(strict_bar.That(5, true), in TEST()
Dgmock-cardinalities_test.cc136 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
191 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
246 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
252 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
258 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
345 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-spi.h236 #define EXPECT_NONFATAL_FAILURE(statement, substr) do {\ macro
/external/protobuf/gtest/include/gtest/
Dgtest-spi.h204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ macro
/external/chromium/testing/gtest/include/gtest/
Dgtest-spi.h204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ macro
/external/gtest/include/gtest/
Dgtest-spi.h204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ macro
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-spi.h204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ macro

12