MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / ~Section

Method ~Section

extern/Catch2/catch.hpp:13176–13184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13174 }
13175
13176 Section::~Section() {
13177 if( m_sectionIncluded ) {
13178 SectionEndInfo endInfo{ m_info, m_assertions, m_timer.getElapsedSeconds() };
13179 if( uncaught_exceptions() )
13180 getResultCapture().sectionEndedEarly( endInfo );
13181 else
13182 getResultCapture().sectionEnded( endInfo );
13183 }
13184 }
13185
13186 // This indicates whether the section should be executed or not
13187 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