| 8970 | } |
| 8971 | |
| 8972 | Section::~Section() { |
| 8973 | if( m_sectionIncluded ) { |
| 8974 | SectionEndInfo endInfo( m_info, m_assertions, m_timer.getElapsedSeconds() ); |
| 8975 | if( uncaught_exceptions() ) |
| 8976 | getResultCapture().sectionEndedEarly( endInfo ); |
| 8977 | else |
| 8978 | getResultCapture().sectionEnded( endInfo ); |
| 8979 | } |
| 8980 | } |
| 8981 | |
| 8982 | // This indicates whether the section should be executed or not |
| 8983 | Section::operator bool() const { |
nothing calls this directly
no test coverage detected