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

Method sectionStarted

tests/catch.hpp:10173–10186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

SectionMethod · 0.80

Calls 3

NameAndLocationClass · 0.85
isOpenMethod · 0.80
sectionStartingMethod · 0.45

Tested by

no test coverage detected