| 10205 | } |
| 10206 | |
| 10207 | void RunContext::sectionEnded(SectionEndInfo const & endInfo) { |
| 10208 | Counts assertions = m_totals.assertions - endInfo.prevAssertions; |
| 10209 | bool missingAssertions = testForMissingAssertions(assertions); |
| 10210 | |
| 10211 | if (!m_activeSections.empty()) { |
| 10212 | m_activeSections.back()->close(); |
| 10213 | m_activeSections.pop_back(); |
| 10214 | } |
| 10215 | |
| 10216 | m_reporter->sectionEnded(SectionStats(endInfo.sectionInfo, assertions, endInfo.durationInSeconds, missingAssertions)); |
| 10217 | m_messages.clear(); |
| 10218 | } |
| 10219 | |
| 10220 | void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) { |
| 10221 | if (m_unfinishedSections.empty()) |
no test coverage detected