| 10454 | } |
| 10455 | |
| 10456 | bool RunContext::testForMissingAssertions(Counts& assertions) { |
| 10457 | if (assertions.total() != 0) |
| 10458 | return false; |
| 10459 | if (!m_config->warnAboutMissingAssertions()) |
| 10460 | return false; |
| 10461 | if (m_trackerContext.currentTracker().hasChildren()) |
| 10462 | return false; |
| 10463 | m_totals.assertions.failed++; |
| 10464 | assertions.failed++; |
| 10465 | return true; |
| 10466 | } |
| 10467 | |
| 10468 | void RunContext::sectionEnded(SectionEndInfo const & endInfo) { |
| 10469 | Counts assertions = m_totals.assertions - endInfo.prevAssertions; |
nothing calls this directly
no test coverage detected