| 10961 | virtual void assertionStarting( AssertionInfo const& ) {} |
| 10962 | |
| 10963 | virtual bool assertionEnded( AssertionStats const& _assertionStats ) { |
| 10964 | AssertionResult const& result = _assertionStats.assertionResult; |
| 10965 | |
| 10966 | bool printInfoMessages = true; |
| 10967 | |
| 10968 | // Drop out if result was successful and we're not printing those |
| 10969 | if( !m_config->includeSuccessfulResults() && result.isOk() ) { |
| 10970 | if( result.getResultType() != ResultWas::Warning ) |
| 10971 | return false; |
| 10972 | printInfoMessages = false; |
| 10973 | } |
| 10974 | |
| 10975 | AssertionPrinter printer( stream, _assertionStats, printInfoMessages ); |
| 10976 | printer.print(); |
| 10977 | |
| 10978 | stream << std::endl; |
| 10979 | return true; |
| 10980 | } |
| 10981 | |
| 10982 | virtual void sectionEnded(SectionStats const& _sectionStats) CATCH_OVERRIDE { |
| 10983 | if (m_config->showDurations() == ShowDurations::Always) { |
nothing calls this directly
no test coverage detected