Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
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_unittest.cc1276 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1282 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1288 EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(), in TEST_F()
1303 EXPECT_NONFATAL_FAILURE({ in TEST_F()
1947 EXPECT_NONFATAL_FAILURE(Test::RecordProperty(key, "1"), "Reserved key"); in ExpectNonFatalFailureRecordingPropertyWithReservedKey()
2072 EXPECT_NONFATAL_FAILURE( in TEST_F()
2221 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2237 EXPECT_NONFATAL_FAILURE(EXPECT_PRED_FORMAT1(AssertIsEvenFunctor(), n), in TEST()
2272 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST()
2292 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_.cc594 EXPECT_NONFATAL_FAILURE({ in TEST()
605 EXPECT_NONFATAL_FAILURE({ in TEST()
613 EXPECT_NONFATAL_FAILURE({ in TEST()
622 EXPECT_NONFATAL_FAILURE({ in TEST()
630 EXPECT_NONFATAL_FAILURE({ in TEST()
640 EXPECT_NONFATAL_FAILURE({ in TEST()
649 EXPECT_NONFATAL_FAILURE({ in TEST()
661 EXPECT_NONFATAL_FAILURE({ in TEST()
878 EXPECT_NONFATAL_FAILURE(SUCCEED(), "Expected non-fatal failure."); in TEST_F()
881 EXPECT_NONFATAL_FAILURE(AddFailure(FATAL_FAILURE), "Expected fatal failure."); in TEST_F()
[all …]
Dgtest-port_test.cc435 EXPECT_NONFATAL_FAILURE({ in TYPED_TEST()
724 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex(NULL)), in TEST()
726 EXPECT_NONFATAL_FAILURE( in TEST()
729 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("a\\")), in TEST()
731 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("\\n\\")), in TEST()
733 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("\\s\\hb")), in TEST()
735 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("^^")), in TEST()
737 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex(".*^b")), in TEST()
739 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("$$")), in TEST()
741 EXPECT_NONFATAL_FAILURE(ASSERT_FALSE(ValidateRegex("^$a")), in TEST()
[all …]
Dgtest-death-test_test.cc558 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(DieIf(false), "DieIf"), in TEST_F()
564 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
580 EXPECT_NONFATAL_FAILURE(ExpectDeathTestHelper(&aborted), in TEST_F()
609 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(static_cast<void>(0), "Foo"), in TEST_F()
697 EXPECT_NONFATAL_FAILURE(ExpectDebugDeathHelper(&aborted), ""); in TEST_F()
742 EXPECT_NONFATAL_FAILURE({ // NOLINT in TestExitMacros()
759 EXPECT_NONFATAL_FAILURE({ // NOLINT in TEST_F()
766 EXPECT_NONFATAL_FAILURE( in TEST_F()
775 EXPECT_NONFATAL_FAILURE( in TEST_F()
788 EXPECT_NONFATAL_FAILURE( in TEST_F()
[all …]
Dgtest_stress_test.cc218 EXPECT_NONFATAL_FAILURE(GenerateFatalFailureInAnotherThread(false), in TEST()
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-spi.h204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ macro