MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / sectionEndedEarly

Method sectionEndedEarly

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

Source from the content-addressed store, hash-verified

8649}
8650
8651void RunContext::sectionEndedEarly(SectionEndInfo const &endInfo) {
8652 if (m_unfinishedSections.empty())
8653 m_activeSections.back()->fail();
8654 else
8655 m_activeSections.back()->close();
8656 m_activeSections.pop_back();
8657
8658 m_unfinishedSections.push_back(endInfo);
8659}
8660void RunContext::benchmarkStarting(BenchmarkInfo const &info) {
8661 m_reporter->benchmarkStarting(info);
8662}

Callers 1

~SectionMethod · 0.80

Calls 3

failMethod · 0.80
emptyMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected