MCPcopy Create free account
hub / github.com/apache/trafficserver / sectionStarted

Method sectionStarted

lib/catch2/catch.hpp:12822–12835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

SectionMethod · 0.80

Calls 5

acquireFunction · 0.85
NameAndLocationClass · 0.85
isOpenMethod · 0.45
push_backMethod · 0.45
sectionStartingMethod · 0.45

Tested by

no test coverage detected