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

Method printFileAndLineForTestAndFailure

src/CppUTest/TestOutput.cpp:213–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void TestOutput::printFileAndLineForTestAndFailure(const TestFailure& failure)
214{
215 printErrorInFileOnLineFormattedForWorkingEnvironment(failure.getTestFileName(), failure.getTestLineNumber());
216 printFailureInTest(failure.getTestName());
217 printErrorInFileOnLineFormattedForWorkingEnvironment(failure.getFileName(), failure.getFailureLineNumber());
218}
219
220void TestOutput::printFileAndLineForFailure(const TestFailure& failure)
221{

Callers

nothing calls this directly

Calls 5

getTestFileNameMethod · 0.80
getTestLineNumberMethod · 0.80
getTestNameMethod · 0.80
getFileNameMethod · 0.80
getFailureLineNumberMethod · 0.80

Tested by

no test coverage detected