Lines Matching refs:assertions

1971                                         Counts& assertions ) = 0;
2221 diff.assertions = assertions - other.assertions; in operator -()
2228 if( diff.assertions.failed > 0 ) in delta()
2230 else if( diff.assertions.failedButOk > 0 ) in delta()
2238 assertions += other.assertions; in operator +=()
2243 Counts assertions; member
5138 assertions( _assertions ), in SectionStats()
5151 Counts assertions; member
5914 deltaTotals.assertions.failed++; in runTest()
5939 m_totals.assertions.passed++; in assertionEnded()
5942 m_totals.assertions.failed++; in assertionEnded()
5955 Counts& assertions in sectionStarted() argument
5970 assertions = m_totals.assertions; in sectionStarted()
5974 bool testForMissingAssertions( Counts& assertions ) { in testForMissingAssertions() argument
5975 if( assertions.total() != 0 ) in testForMissingAssertions()
5981 m_totals.assertions.failed++; in testForMissingAssertions()
5982 assertions.failed++; in testForMissingAssertions()
5987 Counts assertions = m_totals.assertions - endInfo.prevAssertions; in sectionEnded() local
5988 bool missingAssertions = testForMissingAssertions( assertions ); in sectionEnded()
5995 …m_reporter->sectionEnded( SectionStats( endInfo.sectionInfo, assertions, endInfo.durationInSeconds… in sectionEnded()
6039 Counts assertions; in handleFatalErrorCondition() local
6040 assertions.failed = 1; in handleFatalErrorCondition()
6041 SectionStats testCaseSectionStats( testCaseSection, assertions, 0, false ); in handleFatalErrorCondition()
6061 return m_totals.assertions.failed == static_cast<std::size_t>( m_config->abortAfter() ); in aborting()
6070 Counts prevAssertions = m_totals.assertions; in runCurrentTest()
6099 Counts assertions = m_totals.assertions - prevAssertions; in runCurrentTest() local
6100 bool missingAssertions = testForMissingAssertions( assertions ); in runCurrentTest()
6103 std::swap( assertions.failedButOk, assertions.failed ); in runCurrentTest()
6104 m_totals.assertions.failed -= assertions.failedButOk; in runCurrentTest()
6105 m_totals.assertions.failedButOk += assertions.failedButOk; in runCurrentTest()
6108 … SectionStats testCaseSectionStats( testCaseSection, assertions, duration, missingAssertions ); in runCurrentTest()
6364 return static_cast<int>( runTests( m_config ).assertions.failed ); in run()
7575 virtual void EndSection( std::string const& sectionName, Counts const& assertions ) = 0;
7657 m_legacyReporter->EndSection( sectionStats.sectionInfo.name, sectionStats.assertions ); in sectionEnded()
8616 Assertions assertions; member
8683 sectionNode.assertions.push_back( assertionStats ); in assertionEnded()
9212 e.writeAttribute( "successes", sectionStats.assertions.passed ); in sectionEnded()
9213 e.writeAttribute( "failures", sectionStats.assertions.failed ); in sectionEnded()
9214 e.writeAttribute( "expectedFailures", sectionStats.assertions.failedButOk ); in sectionEnded()
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()
9371 if( !sectionNode.assertions.empty() || in writeSection()
9405 it = sectionNode.assertions.begin(), itEnd = sectionNode.assertions.end(); in writeAssertions()
9640 if( stats.totals.assertions.total() > 0 ) { in print()
9811 else if( totals.assertions.total() > 0 && totals.testCases.allPassed() ) { in printTotals()
9814 << pluralise( totals.assertions.passed, "assertion" ) << " in " in printTotals()
9823 .addRow( totals.assertions.total() ) ); in printTotals()
9826 .addRow( totals.assertions.passed ) ); in printTotals()
9829 .addRow( totals.assertions.failed ) ); in printTotals()
9832 .addRow( totals.assertions.failedButOk ) ); in printTotals()
10158 totals.assertions.failed == totals.assertions.total() ? in printTotals()
10159 bothOrAll( totals.assertions.failed ) : ""; in printTotals()
10164 pluralise( totals.assertions.failed, "assertion" ) << "."; in printTotals()
10166 else if( totals.assertions.total() == 0 ) { in printTotals()
10172 else if( totals.assertions.failed ) { in printTotals()
10176 "failed " << pluralise( totals.assertions.failed, "assertion" ) << "."; in printTotals()
10183 " with " << pluralise( totals.assertions.passed, "assertion" ) << "."; in printTotals()