MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / complete

Method complete

tests/catch.hpp:6113–6130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6111 }
6112
6113 void AssertionHandler::complete() {
6114 setCompleted();
6115 if( m_reaction.shouldDebugBreak ) {
6116
6117 // If you find your debugger stopping you here then go one level up on the
6118 // call-stack for the code that caused it (typically a failed assertion)
6119
6120 // (To go back to the test and change execution, jump over the throw, next)
6121 CATCH_BREAK_INTO_DEBUGGER();
6122 }
6123 if (m_reaction.shouldThrow) {
6124#if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)
6125 throw Catch::TestFailureException();
6126#else
6127 CATCH_ERROR( "Test failure requires aborting test!" );
6128#endif
6129 }
6130 }
6131 void AssertionHandler::setCompleted() {
6132 m_completed = true;
6133 }

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected