| 4817 | } |
| 4818 | |
| 4819 | void AssertionHandler::complete() { |
| 4820 | setCompleted(); |
| 4821 | if (m_reaction.shouldDebugBreak) { |
| 4822 | |
| 4823 | // If you find your debugger stopping you here then go one level up on the |
| 4824 | // call-stack for the code that caused it (typically a failed assertion) |
| 4825 | |
| 4826 | // (To go back to the test and change execution, jump over the throw, next) |
| 4827 | CATCH_BREAK_INTO_DEBUGGER(); |
| 4828 | } |
| 4829 | if (m_reaction.shouldThrow) |
| 4830 | throw Catch::TestFailureException(); |
| 4831 | } |
| 4832 | void AssertionHandler::setCompleted() { |
| 4833 | m_completed = true; |
| 4834 | } |
no test coverage detected