MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / complete

Method complete

Bcore/src/main/cpp/Dobby/tests/catch.hpp:4819–4831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4817}
4818
4819void 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}
4832void AssertionHandler::setCompleted() {
4833 m_completed = true;
4834}

Callers 1

Calls 1

Tested by

no test coverage detected