MCPcopy Create free account
hub / github.com/Profactor/cv-plot / complete

Method complete

CvPlot/ext/catch2/inc/catch.hpp:8156–8173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8154 }
8155
8156 void AssertionHandler::complete() {
8157 setCompleted();
8158 if( m_reaction.shouldDebugBreak ) {
8159
8160 // If you find your debugger stopping you here then go one level up on the
8161 // call-stack for the code that caused it (typically a failed assertion)
8162
8163 // (To go back to the test and change execution, jump over the throw, next)
8164 CATCH_BREAK_INTO_DEBUGGER();
8165 }
8166 if (m_reaction.shouldThrow) {
8167#if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)
8168 throw Catch::TestFailureException();
8169#else
8170 CATCH_ERROR( "Test failure requires aborting test!" );
8171#endif
8172 }
8173 }
8174 void AssertionHandler::setCompleted() {
8175 m_completed = true;
8176 }

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected