| 12831 | } |
| 12832 | |
| 12833 | bool RunContext::testForMissingAssertions(Counts& assertions) { |
| 12834 | if (assertions.total() != 0) |
| 12835 | return false; |
| 12836 | if (!m_config->warnAboutMissingAssertions()) |
| 12837 | return false; |
| 12838 | if (m_trackerContext.currentTracker().hasChildren()) |
| 12839 | return false; |
| 12840 | m_totals.assertions.failed++; |
| 12841 | assertions.failed++; |
| 12842 | return true; |
| 12843 | } |
| 12844 | |
| 12845 | void RunContext::sectionEnded(SectionEndInfo const & endInfo) { |
| 12846 | Counts assertions = m_totals.assertions - endInfo.prevAssertions; |
nothing calls this directly
no test coverage detected