Lines Matching refs:totals
5106 totals( _totals ) in AssertionStats()
5129 Totals totals; member
5163 totals( _totals ), in TestCaseStats()
5178 Totals totals; member
5189 totals( _totals ), in TestGroupStats()
5206 Totals totals; member
5215 totals( _totals ), in TestRunStats()
5223 totals( _other.totals ), in TestRunStats()
5234 Totals totals; member
5884 …void testGroupEnded( std::string const& testSpec, Totals const& totals, std::size_t groupIndex, st… in testGroupEnded() argument
5885 …GroupEnded( TestGroupStats( GroupInfo( testSpec, groupIndex, groupsCount ), totals, aborting() ) ); in testGroupEnded()
6240 Totals totals; in runTests() local
6253 totals += context.runTest( *it ); in runTests()
6258 context.testGroupEnded( iconfig->name(), totals, 1, 1 ); in runTests()
6259 return totals; in runTests()
7569 virtual void EndTesting( Totals const& totals ) = 0;
7571 virtual void EndGroup( std::string const& groupName, Totals const& totals ) = 0;
7573 …virtual void EndTestCase( TestCaseInfo const& testInfo, Totals const& totals, std::string const& s…
7662 testCaseStats.totals, in testCaseEnded()
7669 m_legacyReporter->EndGroup( testGroupStats.groupInfo.name, testGroupStats.totals ); in testGroupEnded()
7672 m_legacyReporter->EndTesting( testRunStats.totals ); in testRunEnded()
9226 e.writeAttribute( "success", testCaseStats.totals.assertions.allOk() ); in testCaseEnded()
9238 .writeAttribute( "successes", testGroupStats.totals.assertions.passed ) in testGroupEnded()
9239 .writeAttribute( "failures", testGroupStats.totals.assertions.failed ) in testGroupEnded()
9240 .writeAttribute( "expectedFailures", testGroupStats.totals.assertions.failedButOk ); in testGroupEnded()
9247 .writeAttribute( "successes", testRunStats.totals.assertions.passed ) in testRunEnded()
9248 .writeAttribute( "failures", testRunStats.totals.assertions.failed ) in testRunEnded()
9249 .writeAttribute( "expectedFailures", testRunStats.totals.assertions.failedButOk ); in testRunEnded()
9327 xml.writeAttribute( "failures", stats.totals.assertions.failed-unexpectedExceptions ); in writeGroup()
9328 xml.writeAttribute( "tests", stats.totals.assertions.total() ); in writeGroup()
9549 printTotals( _testGroupStats.totals ); in testGroupEnded()
9555 printTotalsDivider( _testRunStats.totals ); in testRunEnded()
9556 printTotals( _testRunStats.totals ); in testRunEnded()
9640 if( stats.totals.assertions.total() > 0 ) { in print()
9807 void printTotals( Totals const& totals ) { in printTotals()
9808 if( totals.testCases.total() == 0 ) { in printTotals()
9811 else if( totals.assertions.total() > 0 && totals.testCases.allPassed() ) { in printTotals()
9814 << pluralise( totals.assertions.passed, "assertion" ) << " in " in printTotals()
9815 << pluralise( totals.testCases.passed, "test case" ) << ")" in printTotals()
9822 .addRow( totals.testCases.total() ) in printTotals()
9823 .addRow( totals.assertions.total() ) ); in printTotals()
9825 .addRow( totals.testCases.passed ) in printTotals()
9826 .addRow( totals.assertions.passed ) ); in printTotals()
9828 .addRow( totals.testCases.failed ) in printTotals()
9829 .addRow( totals.assertions.failed ) ); in printTotals()
9831 .addRow( totals.testCases.failedButOk ) in printTotals()
9832 .addRow( totals.assertions.failedButOk ) ); in printTotals()
9870 void printTotalsDivider( Totals const& totals ) { in printTotalsDivider()
9871 if( totals.testCases.total() > 0 ) { in printTotalsDivider()
9872 … std::size_t failedRatio = makeRatio( totals.testCases.failed, totals.testCases.total() ); in printTotalsDivider()
9873 …std::size_t failedButOkRatio = makeRatio( totals.testCases.failedButOk, totals.testCases.total() ); in printTotalsDivider()
9874 … std::size_t passedRatio = makeRatio( totals.testCases.passed, totals.testCases.total() ); in printTotalsDivider()
9882 if( totals.testCases.allPassed() ) in printTotalsDivider()
9954 printTotals( _testRunStats.totals ); in testRunEnded()
10151 void printTotals( const Totals& totals ) const { in printTotals()
10152 if( totals.testCases.total() == 0 ) { in printTotals()
10155 else if( totals.testCases.failed == totals.testCases.total() ) { in printTotals()
10158 totals.assertions.failed == totals.assertions.total() ? in printTotals()
10159 bothOrAll( totals.assertions.failed ) : ""; in printTotals()
10161 "Failed " << bothOrAll( totals.testCases.failed ) in printTotals()
10162 << pluralise( totals.testCases.failed, "test case" ) << ", " in printTotals()
10164 pluralise( totals.assertions.failed, "assertion" ) << "."; in printTotals()
10166 else if( totals.assertions.total() == 0 ) { in printTotals()
10168 "Passed " << bothOrAll( totals.testCases.total() ) in printTotals()
10169 << pluralise( totals.testCases.total(), "test case" ) in printTotals()
10172 else if( totals.assertions.failed ) { in printTotals()
10175 "Failed " << pluralise( totals.testCases.failed, "test case" ) << ", " in printTotals()
10176 "failed " << pluralise( totals.assertions.failed, "assertion" ) << "."; in printTotals()
10181 "Passed " << bothOrAll( totals.testCases.passed ) in printTotals()
10182 << pluralise( totals.testCases.passed, "test case" ) << in printTotals()
10183 " with " << pluralise( totals.assertions.passed, "assertion" ) << "."; in printTotals()