| 6652 | } |
| 6653 | |
| 6654 | virtual bool sectionStarted ( |
| 6655 | SectionInfo const& sectionInfo, |
| 6656 | Counts& assertions |
| 6657 | ) |
| 6658 | { |
| 6659 | ITracker& sectionTracker = SectionTracker::acquire( m_trackerContext, TestCaseTracking::NameAndLocation( sectionInfo.name, sectionInfo.lineInfo ) ); |
| 6660 | if( !sectionTracker.isOpen() ) |
| 6661 | return false; |
| 6662 | m_activeSections.push_back( §ionTracker ); |
| 6663 | |
| 6664 | m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo; |
| 6665 | |
| 6666 | m_reporter->sectionStarting( sectionInfo ); |
| 6667 | |
| 6668 | assertions = m_totals.assertions; |
| 6669 | |
| 6670 | return true; |
| 6671 | } |
| 6672 | bool testForMissingAssertions( Counts& assertions ) { |
| 6673 | if( assertions.total() != 0 ) |
| 6674 | return false; |
no test coverage detected