MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / ~Section

Method ~Section

extlibs/catch/include/catch/catch.hpp:12546–12554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12544 }
12545
12546 Section::~Section() {
12547 if( m_sectionIncluded ) {
12548 SectionEndInfo endInfo{ m_info, m_assertions, m_timer.getElapsedSeconds() };
12549 if( uncaught_exceptions() )
12550 getResultCapture().sectionEndedEarly( endInfo );
12551 else
12552 getResultCapture().sectionEnded( endInfo );
12553 }
12554 }
12555
12556 // This indicates whether the section should be executed or not
12557 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