| 10193 | } |
| 10194 | |
| 10195 | bool RunContext::testForMissingAssertions(Counts& assertions) { |
| 10196 | if (assertions.total() != 0) |
| 10197 | return false; |
| 10198 | if (!m_config->warnAboutMissingAssertions()) |
| 10199 | return false; |
| 10200 | if (m_trackerContext.currentTracker().hasChildren()) |
| 10201 | return false; |
| 10202 | m_totals.assertions.failed++; |
| 10203 | assertions.failed++; |
| 10204 | return true; |
| 10205 | } |
| 10206 | |
| 10207 | void RunContext::sectionEnded(SectionEndInfo const & endInfo) { |
| 10208 | Counts assertions = m_totals.assertions - endInfo.prevAssertions; |
nothing calls this directly
no test coverage detected