| 10503 | } |
| 10504 | |
| 10505 | Section::~Section() { |
| 10506 | if( m_sectionIncluded ) { |
| 10507 | SectionEndInfo endInfo{ m_info, m_assertions, m_timer.getElapsedSeconds() }; |
| 10508 | if( uncaught_exceptions() ) |
| 10509 | getResultCapture().sectionEndedEarly( endInfo ); |
| 10510 | else |
| 10511 | getResultCapture().sectionEnded( endInfo ); |
| 10512 | } |
| 10513 | } |
| 10514 | |
| 10515 | // This indicates whether the section should be executed or not |
| 10516 | Section::operator bool() const { |
nothing calls this directly
no test coverage detected