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

Method sectionEnded

lib/catch2/catch.hpp:12856–12868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12854 }
12855
12856 void RunContext::sectionEnded(SectionEndInfo const & endInfo) {
12857 Counts assertions = m_totals.assertions - endInfo.prevAssertions;
12858 bool missingAssertions = testForMissingAssertions(assertions);
12859
12860 if (!m_activeSections.empty()) {
12861 m_activeSections.back()->close();
12862 m_activeSections.pop_back();
12863 }
12864
12865 m_reporter->sectionEnded(SectionStats(endInfo.sectionInfo, assertions, endInfo.durationInSeconds, missingAssertions));
12866 m_messages.clear();
12867 m_messageScopes.clear();
12868 }
12869
12870 void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) {
12871 if (m_unfinishedSections.empty())

Callers 3

catch.hppFile · 0.45
~SectionMethod · 0.45

Calls 10

SectionStatsClass · 0.85
shouldShowDurationFunction · 0.85
getFormattedDurationFunction · 0.85
pop_backMethod · 0.80
scopedElementMethod · 0.80
showDurationsMethod · 0.80
emptyMethod · 0.45
closeMethod · 0.45
clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected