MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / sectionEndedEarly

Method sectionEndedEarly

extern/Catch2/catch.hpp:12868–12876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12866 }
12867
12868 void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) {
12869 if (m_unfinishedSections.empty())
12870 m_activeSections.back()->fail();
12871 else
12872 m_activeSections.back()->close();
12873 m_activeSections.pop_back();
12874
12875 m_unfinishedSections.push_back(endInfo);
12876 }
12877
12878#if defined(CATCH_CONFIG_ENABLE_BENCHMARKING)
12879 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