MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / sectionEndedEarly

Method sectionEndedEarly

unittests/catch.hpp:8693–8701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8691 }
8692
8693 void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) {
8694 if (m_unfinishedSections.empty())
8695 m_activeSections.back()->fail();
8696 else
8697 m_activeSections.back()->close();
8698 m_activeSections.pop_back();
8699
8700 m_unfinishedSections.push_back(endInfo);
8701 }
8702 void RunContext::benchmarkStarting( BenchmarkInfo const& info ) {
8703 m_reporter->benchmarkStarting( info );
8704 }

Callers 1

~SectionMethod · 0.80

Calls 5

failMethod · 0.80
backMethod · 0.80
pop_backMethod · 0.80
emptyMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected