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

Method sectionEndedEarly

extlibs/catch/include/catch/catch.hpp:12249–12257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12247 }
12248
12249 void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) {
12250 if (m_unfinishedSections.empty())
12251 m_activeSections.back()->fail();
12252 else
12253 m_activeSections.back()->close();
12254 m_activeSections.pop_back();
12255
12256 m_unfinishedSections.push_back(endInfo);
12257 }
12258
12259#if defined(CATCH_CONFIG_ENABLE_BENCHMARKING)
12260 void RunContext::benchmarkPreparing(std::string const& name) {

Callers 1

~SectionMethod · 0.80

Calls 4

failMethod · 0.80
emptyMethod · 0.45
closeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected