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

Method ~Section

unittests/catch.hpp:8972–8980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8970 }
8971
8972 Section::~Section() {
8973 if( m_sectionIncluded ) {
8974 SectionEndInfo endInfo( m_info, m_assertions, m_timer.getElapsedSeconds() );
8975 if( uncaught_exceptions() )
8976 getResultCapture().sectionEndedEarly( endInfo );
8977 else
8978 getResultCapture().sectionEnded( endInfo );
8979 }
8980 }
8981
8982 // This indicates whether the section should be executed or not
8983 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