MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / complete

Method complete

unittests/catch.hpp:5017–5029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected