MCPcopy Create free account
hub / github.com/RenderKit/embree / sectionStarted

Method sectionStarted

tutorials/external/catch.hpp:10434–10447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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(&sectionTracker);
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 ) );

Callers 1

SectionMethod · 0.80

Calls 4

NameAndLocationClass · 0.85
isOpenMethod · 0.80
push_backMethod · 0.45
sectionStartingMethod · 0.45

Tested by

no test coverage detected