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

Method printCurrentTestEnded

src/CppUTest/TeamCityTestOutput.cpp:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void TeamCityTestOutput::printCurrentTestEnded(const TestResult& res)
26{
27 if (!currtest_)
28 return;
29
30 print("##teamcity[testFinished name='");
31 printEscaped(currtest_->getName().asCharString());
32 print("' duration='");
33 print(res.getCurrentTestTotalExecutionTime());
34 print("']\n");
35}
36
37void TeamCityTestOutput::printCurrentGroupStarted(const UtestShell& test)
38{

Callers

nothing calls this directly

Calls 3

asCharStringMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected