MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / ~Section

Method ~Section

Bcore/src/main/cpp/Dobby/tests/catch.hpp:8900–8908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8898}
8899
8900Section::~Section() {
8901 if (m_sectionIncluded) {
8902 SectionEndInfo endInfo(m_info, m_assertions, m_timer.getElapsedSeconds());
8903 if (uncaught_exceptions())
8904 getResultCapture().sectionEndedEarly(endInfo);
8905 else
8906 getResultCapture().sectionEnded(endInfo);
8907 }
8908}
8909
8910// This indicates whether the section should be executed or not
8911Section::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