| 8666 | } |
| 8667 | |
| 8668 | bool RunContext::testForMissingAssertions(Counts& assertions) { |
| 8669 | if (assertions.total() != 0) |
| 8670 | return false; |
| 8671 | if (!m_config->warnAboutMissingAssertions()) |
| 8672 | return false; |
| 8673 | if (m_trackerContext.currentTracker().hasChildren()) |
| 8674 | return false; |
| 8675 | m_totals.assertions.failed++; |
| 8676 | assertions.failed++; |
| 8677 | return true; |
| 8678 | } |
| 8679 | |
| 8680 | void RunContext::sectionEnded(SectionEndInfo const & endInfo) { |
| 8681 | Counts assertions = m_totals.assertions - endInfo.prevAssertions; |
nothing calls this directly
no test coverage detected