| 8651 | } |
| 8652 | |
| 8653 | bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) { |
| 8654 | ITracker& sectionTracker = SectionTracker::acquire(m_trackerContext, TestCaseTracking::NameAndLocation(sectionInfo.name, sectionInfo.lineInfo)); |
| 8655 | if (!sectionTracker.isOpen()) |
| 8656 | return false; |
| 8657 | m_activeSections.push_back(§ionTracker); |
| 8658 | |
| 8659 | m_lastAssertionInfo.lineInfo = sectionInfo.lineInfo; |
| 8660 | |
| 8661 | m_reporter->sectionStarting(sectionInfo); |
| 8662 | |
| 8663 | assertions = m_totals.assertions; |
| 8664 | |
| 8665 | return true; |
| 8666 | } |
| 8667 | |
| 8668 | bool RunContext::testForMissingAssertions(Counts& assertions) { |
| 8669 | if (assertions.total() != 0) |
no test coverage detected