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

Method TestFailure

src/CppUTest/TestFailure.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63TestFailure::TestFailure(UtestShell* test, const char* fileName, size_t lineNumber, const SimpleString& theMessage) :
64 testName_(test->getFormattedName()), testNameOnly_(test->getName()), fileName_(fileName), lineNumber_(lineNumber), testFileName_(test->getFile()), testLineNumber_(test->getLineNumber()), message_(theMessage)
65{
66}
67
68TestFailure::TestFailure(UtestShell* test, const SimpleString& theMessage) :
69 testName_(test->getFormattedName()), testNameOnly_(test->getName()), fileName_(test->getFile()), lineNumber_(test->getLineNumber()), testFileName_(test->getFile()), testLineNumber_(test->getLineNumber()), message_(theMessage)

Callers

nothing calls this directly

Calls 4

getFormattedNameMethod · 0.80
getFileMethod · 0.80
getLineNumberMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected