| 13176 | } |
| 13177 | |
| 13178 | Section::~Section() { |
| 13179 | if( m_sectionIncluded ) { |
| 13180 | SectionEndInfo endInfo{ m_info, m_assertions, m_timer.getElapsedSeconds() }; |
| 13181 | if( uncaught_exceptions() ) |
| 13182 | getResultCapture().sectionEndedEarly( endInfo ); |
| 13183 | else |
| 13184 | getResultCapture().sectionEnded( endInfo ); |
| 13185 | } |
| 13186 | } |
| 13187 | |
| 13188 | // This indicates whether the section should be executed or not |
| 13189 | Section::operator bool() const { |
nothing calls this directly
no test coverage detected