| 5015 | } |
| 5016 | |
| 5017 | void AssertionHandler::complete() { |
| 5018 | setCompleted(); |
| 5019 | if( m_reaction.shouldDebugBreak ) { |
| 5020 | |
| 5021 | // If you find your debugger stopping you here then go one level up on the |
| 5022 | // call-stack for the code that caused it (typically a failed assertion) |
| 5023 | |
| 5024 | // (To go back to the test and change execution, jump over the throw, next) |
| 5025 | CATCH_BREAK_INTO_DEBUGGER(); |
| 5026 | } |
| 5027 | if( m_reaction.shouldThrow ) |
| 5028 | throw Catch::TestFailureException(); |
| 5029 | } |
| 5030 | void AssertionHandler::setCompleted() { |
| 5031 | m_completed = true; |
| 5032 | } |
nothing calls this directly
no test coverage detected