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

Method sectionStarted

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

Source from the content-addressed store, hash-verified

8608}
8609
8610bool RunContext::sectionStarted(SectionInfo const &sectionInfo, Counts &assertions) {
8611 ITracker &sectionTracker = SectionTracker::acquire(
8612 m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo));
8613 if (!sectionTracker.isOpen())
8614 return false;
8615 m_activeSections.push_back(&sectionTracker);
8616
8617 m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo;
8618
8619 m_reporter->sectionStarting(sectionInfo);
8620
8621 assertions = m_totals.assertions;
8622
8623 return true;
8624}
8625
8626bool RunContext::testForMissingAssertions(Counts &assertions) {
8627 if (assertions.total() != 0)

Callers 1

SectionMethod · 0.80

Calls 3

NameAndLocationClass · 0.85
isOpenMethod · 0.80
sectionStartingMethod · 0.45

Tested by

no test coverage detected