| 8624 | } |
| 8625 | |
| 8626 | bool RunContext::testForMissingAssertions(Counts &assertions) { |
| 8627 | if (assertions.total() != 0) |
| 8628 | return false; |
| 8629 | if (!m_config->warnAboutMissingAssertions()) |
| 8630 | return false; |
| 8631 | if (m_trackerContext.currentTracker().hasChildren()) |
| 8632 | return false; |
| 8633 | m_totals.assertions.failed++; |
| 8634 | assertions.failed++; |
| 8635 | return true; |
| 8636 | } |
| 8637 | |
| 8638 | void RunContext::sectionEnded(SectionEndInfo const &endInfo) { |
| 8639 | Counts assertions = m_totals.assertions - endInfo.prevAssertions; |
nothing calls this directly
no test coverage detected