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

Method sectionEnded

tests/catch.hpp:10207–10218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10205 }
10206
10207 void RunContext::sectionEnded(SectionEndInfo const & endInfo) {
10208 Counts assertions = m_totals.assertions - endInfo.prevAssertions;
10209 bool missingAssertions = testForMissingAssertions(assertions);
10210
10211 if (!m_activeSections.empty()) {
10212 m_activeSections.back()->close();
10213 m_activeSections.pop_back();
10214 }
10215
10216 m_reporter->sectionEnded(SectionStats(endInfo.sectionInfo, assertions, endInfo.durationInSeconds, missingAssertions));
10217 m_messages.clear();
10218 }
10219
10220 void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) {
10221 if (m_unfinishedSections.empty())

Callers 3

catch.hppFile · 0.45
~SectionMethod · 0.45

Calls 7

SectionStatsClass · 0.85
getFormattedDurationFunction · 0.85
showDurationsMethod · 0.80
sizeMethod · 0.80
scopedElementMethod · 0.80
emptyMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected