| 12842 | } |
| 12843 | |
| 12844 | bool RunContext::testForMissingAssertions(Counts& assertions) { |
| 12845 | if (assertions.total() != 0) |
| 12846 | return false; |
| 12847 | if (!m_config->warnAboutMissingAssertions()) |
| 12848 | return false; |
| 12849 | if (m_trackerContext.currentTracker().hasChildren()) |
| 12850 | return false; |
| 12851 | m_totals.assertions.failed++; |
| 12852 | assertions.failed++; |
| 12853 | return true; |
| 12854 | } |
| 12855 | |
| 12856 | void RunContext::sectionEnded(SectionEndInfo const & endInfo) { |
| 12857 | Counts assertions = m_totals.assertions - endInfo.prevAssertions; |
nothing calls this directly
no test coverage detected