MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / sectionStarted

Method sectionStarted

extern/Catch2/catch.hpp:12820–12833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12818 }
12819
12820 bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) {
12821 ITracker& sectionTracker = SectionTracker::acquire(m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo));
12822 if (!sectionTracker.isOpen())
12823 return false;
12824 m_activeSections.push_back(&sectionTracker);
12825
12826 m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo;
12827
12828 m_reporter->sectionStarting(sectionInfo);
12829
12830 assertions = m_totals.assertions;
12831
12832 return true;
12833 }
12834 auto RunContext::acquireGeneratorTracker( StringRef generatorName, SourceLineInfo const& lineInfo ) -> IGeneratorTracker& {
12835 using namespace Generators;
12836 GeneratorTracker& tracker = GeneratorTracker::acquire(m_trackerContext,

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