Home
last modified time | relevance | path

Searched refs:ADD_FAILURE (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-output-test_.cc180 ADD_FAILURE() << "Just checking that all these values work fine."; in TEST()
188 ADD_FAILURE() << "This failure is expected, and shouldn't have a trace."; in TEST()
194 ADD_FAILURE() << "This failure is expected, and should have a trace."; in TEST()
199 ADD_FAILURE() << "This failure is expected, and shouldn't have a trace."; in TEST()
235 ADD_FAILURE() in TEST()
239 ADD_FAILURE() in TEST()
244 ADD_FAILURE() << "This failure is expected, and should " in TEST()
249 ADD_FAILURE() << "This failure is expected, and should " in TEST()
292 ADD_FAILURE() << "Expected failure #1 (in thread B, only trace B alive)."; in ThreadWithScopedTrace()
296 ADD_FAILURE() in ThreadWithScopedTrace()
[all …]
H A Dgoogletest-catch-exceptions-test_.cc119 ADD_FAILURE() << "CxxExceptionInConstructorTest destructor " in ~CxxExceptionInConstructorTest()
124 ADD_FAILURE() << "CxxExceptionInConstructorTest::SetUp() " in SetUp()
129 ADD_FAILURE() << "CxxExceptionInConstructorTest::TearDown() " in TearDown()
135 ADD_FAILURE() << "CxxExceptionInConstructorTest test body " in TEST_F()
218 ADD_FAILURE() << "CxxExceptionInSetUpTest test body " in TEST_F()
H A Dgtest_stress_test.cc158 ADD_FAILURE() << "Non-fatal failure in some other thread. " in FailingThread()
202 ADD_FAILURE() << "This is an expected non-fatal failure."; in TEST()
221 ADD_FAILURE() << "This is an expected non-fatal failure."; in TEST()
H A Dgtest_environment_test.cc61 ADD_FAILURE() << "Expected non-fatal failure in global set-up."; in SetUp()
74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down."; in TearDown()
H A Dgtest_unittest.cc1166 ADD_FAILURE() << "Expected non-fatal failure."; in AddNonfatalFailure()
1967 ADD_FAILURE() << "Shard " << prev_selected_shard_index << " and " in TEST()
3412 void FailsNonFatal() { ADD_FAILURE() << "some non-fatal failure"; } in FailsNonFatal()
3417 ADD_FAILURE() << "should not reach here."; in DoAssertNoFatalFailureOnFails()
3422 ADD_FAILURE() << "other failure"; in DoExpectNoFatalFailureOnFails()
4679 ADD_FAILURE() << "Intentional failure."; in AddFailureHelper()
4684 TEST(MacroTest, ADD_FAILURE) { in TEST() argument
6444 EXPECT_NONFATAL_FAILURE(ADD_FAILURE() << "expected failure", in TEST()
6748 ADD_FAILURE(); in TEST()
6756 ADD_FAILURE(); in TEST()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Derror_test.cpp65 ADD_FAILURE() << "Error failure value should convert to true"; in TEST()
92 ADD_FAILURE() << "Derived cast incorrectly matched base error"; in TEST()
96 ADD_FAILURE() << "Unexpected error value"; in TEST()
105 ADD_FAILURE() << "Unexpected error value"; in TEST()
115 ADD_FAILURE() << "Unexpected error value"; in TEST()
170 ADD_FAILURE() << "Expected StringError value"; in TEST()
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp49 ADD_FAILURE() << Text; in HandleDiagnostic()
103 ADD_FAILURE() << "Failed to create invocation"; in TestAST()
111 ADD_FAILURE() << "Failed to setWD: " << Err.message(); in TestAST()
127 ADD_FAILURE() << "Failed to BeginSourceFile()"; in TestAST()
132 ADD_FAILURE() << "Failed to Execute(): " << llvm::toString(std::move(Err)); in TestAST()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-port.cc824 ADD_FAILURE() << "NULL is not a valid simple regular expression."; in ValidateRegex()
836 ADD_FAILURE() << FormatRegexSyntaxError(regex, i - 1) in ValidateRegex()
842 ADD_FAILURE() << FormatRegexSyntaxError(regex, i - 1) in ValidateRegex()
851 ADD_FAILURE() << FormatRegexSyntaxError(regex, i) in ValidateRegex()
855 ADD_FAILURE() << FormatRegexSyntaxError(regex, i) in ValidateRegex()
859 ADD_FAILURE() << FormatRegexSyntaxError(regex, i) << "'" << ch in ValidateRegex()
863 ADD_FAILURE() << FormatRegexSyntaxError(regex, i) << "'" << ch in ValidateRegex()
H A Dgtest.cc2409 ADD_FAILURE() << "Reserved key used in RecordProperty(): " << property_name in ValidateTestPropertyName()
2562 ADD_FAILURE() in HasSameFixtureClass()
2574 ADD_FAILURE() in HasSameFixtureClass()
/freebsd/contrib/capsicum-test/
H A Dcapsicum-test.h92 ADD_FAILURE() << "Test hung"; \
96 ADD_FAILURE() << "Failed to wait for child"; \
H A Dprocdesc.cc89 ADD_FAILURE() << "Failed to wait for child"; in CheckChildFinished()
/freebsd/contrib/googletest/docs/reference/
H A Dassertions.md61 ### ADD_FAILURE {#ADD_FAILURE}
63 `ADD_FAILURE()`
H A Dtesting.md1097 an explicit `FAIL()`, `ADD_FAILURE()`, or `SUCCESS()`).
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest.h1750 #define ADD_FAILURE() GTEST_NONFATAL_FAILURE_("Failed") macro
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-spec-builders_test.cc2120 ADD_FAILURE() << "Google Mock is printing a value that shouldn't be " in PrintTo()
H A Dgmock-matchers-comparisons_test.cc545 ADD_FAILURE() << "Conversion constructor called"; in ConvertibleFromAny()
/freebsd/contrib/googletest/docs/
H A Dfaq.md380 `ADD_FAILURE*`) in constructors and destructors. The workaround is to move the
H A Dadvanced.md257 that generate non-fatal failures, such as `ADD_FAILURE*` and `EXPECT_*`.