| 8608 | } |
| 8609 | |
| 8610 | bool RunContext::sectionStarted(SectionInfo const §ionInfo, Counts &assertions) { |
| 8611 | ITracker §ionTracker = SectionTracker::acquire( |
| 8612 | m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo)); |
| 8613 | if (!sectionTracker.isOpen()) |
| 8614 | return false; |
| 8615 | m_activeSections.push_back(§ionTracker); |
| 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 | |
| 8626 | bool RunContext::testForMissingAssertions(Counts &assertions) { |
| 8627 | if (assertions.total() != 0) |
no test coverage detected