MCPcopy Create free account
hub / github.com/apache/trafficserver / ~Section

Method ~Section

lib/catch2/catch.hpp:13178–13186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13176 }
13177
13178 Section::~Section() {
13179 if( m_sectionIncluded ) {
13180 SectionEndInfo endInfo{ m_info, m_assertions, m_timer.getElapsedSeconds() };
13181 if( uncaught_exceptions() )
13182 getResultCapture().sectionEndedEarly( endInfo );
13183 else
13184 getResultCapture().sectionEnded( endInfo );
13185 }
13186 }
13187
13188 // This indicates whether the section should be executed or not
13189 Section::operator bool() const {

Callers

nothing calls this directly

Calls 4

uncaught_exceptionsFunction · 0.85
getElapsedSecondsMethod · 0.80
sectionEndedEarlyMethod · 0.80
sectionEndedMethod · 0.45

Tested by

no test coverage detected