| 2710 | } |
| 2711 | |
| 2712 | void AssertionHandler::complete() { |
| 2713 | m_completed = true; |
| 2714 | if( m_reaction.shouldDebugBreak ) { |
| 2715 | |
| 2716 | // If you find your debugger stopping you here then go one level up on the |
| 2717 | // call-stack for the code that caused it (typically a failed assertion) |
| 2718 | |
| 2719 | // (To go back to the test and change execution, jump over the throw, next) |
| 2720 | CATCH_BREAK_INTO_DEBUGGER(); |
| 2721 | } |
| 2722 | if (m_reaction.shouldThrow) { |
| 2723 | throw_test_failure_exception(); |
| 2724 | } |
| 2725 | if ( m_reaction.shouldSkip ) { |
| 2726 | throw_test_skip_exception(); |
| 2727 | } |
| 2728 | } |
| 2729 | |
| 2730 | void AssertionHandler::handleUnexpectedInflightException() { |
| 2731 | m_resultCapture.handleUnexpectedInflightException( m_assertionInfo, Catch::translateActiveException(), m_reaction ); |
no test coverage detected