| 10768 | } |
| 10769 | |
| 10770 | Section::~Section() { |
| 10771 | if( m_sectionIncluded ) { |
| 10772 | SectionEndInfo endInfo{ m_info, m_assertions, m_timer.getElapsedSeconds() }; |
| 10773 | if( uncaught_exceptions() ) |
| 10774 | getResultCapture().sectionEndedEarly( endInfo ); |
| 10775 | else |
| 10776 | getResultCapture().sectionEnded( endInfo ); |
| 10777 | } |
| 10778 | } |
| 10779 | |
| 10780 | // This indicates whether the section should be executed or not |
| 10781 | Section::operator bool() const { |
nothing calls this directly
no test coverage detected