MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / handleNonExpr

Method handleNonExpr

extlibs/catch/include/catch/catch.hpp:12512–12525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12510 assertionEnded( assertionResult );
12511 }
12512 void RunContext::handleNonExpr(
12513 AssertionInfo const &info,
12514 ResultWas::OfType resultType,
12515 AssertionReaction &reaction
12516 ) {
12517 m_lastAssertionInfo = info;
12518
12519 AssertionResultData data( resultType, LazyExpression( false ) );
12520 AssertionResult assertionResult{ info, data };
12521 assertionEnded( assertionResult );
12522
12523 if( !assertionResult.isOk() )
12524 populateReaction( reaction );
12525 }
12526
12527 IResultCapture& getResultCapture() {
12528 if (auto* capture = getCurrentContext().getResultCapture())

Calls 2

LazyExpressionClass · 0.85
isOkMethod · 0.80

Tested by

no test coverage detected