| 8898 | } |
| 8899 | |
| 8900 | Section::~Section() { |
| 8901 | if (m_sectionIncluded) { |
| 8902 | SectionEndInfo endInfo(m_info, m_assertions, m_timer.getElapsedSeconds()); |
| 8903 | if (uncaught_exceptions()) |
| 8904 | getResultCapture().sectionEndedEarly(endInfo); |
| 8905 | else |
| 8906 | getResultCapture().sectionEnded(endInfo); |
| 8907 | } |
| 8908 | } |
| 8909 | |
| 8910 | // This indicates whether the section should be executed or not |
| 8911 | Section::operator bool() const { |
nothing calls this directly
no test coverage detected