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

Method isOk

unittests/catch.hpp:5091–5093  ·  view source on GitHub ↗

Result was a success, or failure is suppressed

Source from the content-addressed store, hash-verified

5089
5090 // Result was a success, or failure is suppressed
5091 bool AssertionResult::isOk() const {
5092 return Catch::isOk( m_resultData.resultType ) || shouldSuppressFailure( m_info.resultDisposition );
5093 }
5094
5095 ResultWas::OfType AssertionResult::getResultType() const {
5096 return m_resultData.resultType;

Callers 7

assertionEndedMethod · 0.80
handleMessageMethod · 0.80
handleNonExprMethod · 0.80
printMethod · 0.80
printMethod · 0.80
writeAssertionMethod · 0.80

Calls 2

isOkFunction · 0.85
shouldSuppressFailureFunction · 0.85

Tested by

no test coverage detected