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

Method sectionStarted

external/catch.hpp:12811–12824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12809 }
12810
12811 bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) {
12812 ITracker& sectionTracker = SectionTracker::acquire(m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo));
12813 if (!sectionTracker.isOpen())
12814 return false;
12815 m_activeSections.push_back(&sectionTracker);
12816
12817 m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo;
12818
12819 m_reporter->sectionStarting(sectionInfo);
12820
12821 assertions = m_totals.assertions;
12822
12823 return true;
12824 }
12825 auto RunContext::acquireGeneratorTracker( StringRef generatorName, SourceLineInfo const& lineInfo ) -> IGeneratorTracker& {
12826 using namespace Generators;
12827 GeneratorTracker& tracker = GeneratorTracker::acquire(m_trackerContext,

Callers 1

SectionMethod · 0.80

Calls 3

NameAndLocationClass · 0.85
isOpenMethod · 0.80
sectionStartingMethod · 0.45

Tested by

no test coverage detected