MCPcopy Create free account
hub / github.com/FlightGear/flightgear / fillFailedTestsMap

Method fillFailedTestsMap

3rdparty/cppunit/src/cppunit/XmlOutputter.cpp:92–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91
92void
93XmlOutputter::fillFailedTestsMap( FailedTests &failedTests )
94{
95 const TestResultCollector::TestFailures &failures = m_result->failures();
96 TestResultCollector::TestFailures::const_iterator itFailure = failures.begin();
97 while ( itFailure != failures.end() )
98 {
99 TestFailure *failure = *itFailure++;
100 failedTests.insert( std::pair<Test* const, TestFailure*>(failure->failedTest(), failure ) );
101 }
102}
103
104
105void

Callers

nothing calls this directly

Calls 4

failedTestMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected