| 12199 | } |
| 12200 | |
| 12201 | bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) { |
| 12202 | ITracker& sectionTracker = SectionTracker::acquire(m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo)); |
| 12203 | if (!sectionTracker.isOpen()) |
| 12204 | return false; |
| 12205 | m_activeSections.push_back(§ionTracker); |
| 12206 | |
| 12207 | m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo; |
| 12208 | |
| 12209 | m_reporter->sectionStarting(sectionInfo); |
| 12210 | |
| 12211 | assertions = m_totals.assertions; |
| 12212 | |
| 12213 | return true; |
| 12214 | } |
| 12215 | auto RunContext::acquireGeneratorTracker( SourceLineInfo const& lineInfo ) -> IGeneratorTracker& { |
| 12216 | using namespace Generators; |
| 12217 | GeneratorTracker& tracker = GeneratorTracker::acquire( m_trackerContext, TestCaseTracking::NameAndLocation( "generator", lineInfo ) ); |
no test coverage detected