| 10171 | } |
| 10172 | |
| 10173 | bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) { |
| 10174 | ITracker& sectionTracker = SectionTracker::acquire(m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo)); |
| 10175 | if (!sectionTracker.isOpen()) |
| 10176 | return false; |
| 10177 | m_activeSections.push_back(§ionTracker); |
| 10178 | |
| 10179 | m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo; |
| 10180 | |
| 10181 | m_reporter->sectionStarting(sectionInfo); |
| 10182 | |
| 10183 | assertions = m_totals.assertions; |
| 10184 | |
| 10185 | return true; |
| 10186 | } |
| 10187 | auto RunContext::acquireGeneratorTracker( SourceLineInfo const& lineInfo ) -> IGeneratorTracker& { |
| 10188 | using namespace Generators; |
| 10189 | GeneratorTracker& tracker = GeneratorTracker::acquire( m_trackerContext, TestCaseTracking::NameAndLocation( "generator", lineInfo ) ); |
no test coverage detected