MCPcopy Create free account
hub / github.com/cpputest/cpputest / TEST

Function TEST

tests/CppUTest/TestUTestMacro.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55} // LCOV_EXCL_LINE
56
57TEST(UnitTestMacros, FAILMakesTheTestFailPrintsTheRightResultAndStopsExecuting)
58{
59 fixture.runTestWithMethod(_failingTestMethodWithFAIL);
60 CHECK_TEST_FAILS_PROPER_WITH_TEXT("This test fails");
61}
62
63TEST(UnitTestMacros, FAILWillPrintTheFileThatItFailed)
64{

Callers

nothing calls this directly

Calls 9

_countingMethodFunction · 0.85
runTestWithMethodMethod · 0.80
containsMethod · 0.80
getOutputMethod · 0.80
assertPrintContainsMethod · 0.80
getFailureCountMethod · 0.45
getCheckCountMethod · 0.45

Tested by

no test coverage detected