| 10432 | } |
| 10433 | |
| 10434 | bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) { |
| 10435 | ITracker& sectionTracker = SectionTracker::acquire(m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo)); |
| 10436 | if (!sectionTracker.isOpen()) |
| 10437 | return false; |
| 10438 | m_activeSections.push_back(§ionTracker); |
| 10439 | |
| 10440 | m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo; |
| 10441 | |
| 10442 | m_reporter->sectionStarting(sectionInfo); |
| 10443 | |
| 10444 | assertions = m_totals.assertions; |
| 10445 | |
| 10446 | return true; |
| 10447 | } |
| 10448 | auto RunContext::acquireGeneratorTracker( SourceLineInfo const& lineInfo ) -> IGeneratorTracker& { |
| 10449 | using namespace Generators; |
| 10450 | GeneratorTracker& tracker = GeneratorTracker::acquire( m_trackerContext, TestCaseTracking::NameAndLocation( "generator", lineInfo ) ); |
no test coverage detected