| 12602 | } |
| 12603 | |
| 12604 | bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) { |
| 12605 | ITracker& sectionTracker = SectionTracker::acquire(m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo)); |
| 12606 | if (!sectionTracker.isOpen()) |
| 12607 | return false; |
| 12608 | m_activeSections.push_back(§ionTracker); |
| 12609 | |
| 12610 | m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo; |
| 12611 | |
| 12612 | m_reporter->sectionStarting(sectionInfo); |
| 12613 | |
| 12614 | assertions = m_totals.assertions; |
| 12615 | |
| 12616 | return true; |
| 12617 | } |
| 12618 | auto RunContext::acquireGeneratorTracker( SourceLineInfo const& lineInfo ) -> IGeneratorTracker& { |
| 12619 | using namespace Generators; |
| 12620 | GeneratorTracker& tracker = GeneratorTracker::acquire( m_trackerContext, TestCaseTracking::NameAndLocation( "generator", lineInfo ) ); |
no test coverage detected