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

Method handleNonExpr

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

Source from the content-addressed store, hash-verified

8870 assertionEnded(assertionResult);
8871}
8872void RunContext::handleNonExpr(AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction) {
8873 m_lastAssertionInfo = info;
8874
8875 AssertionResultData data(resultType, LazyExpression(false));
8876 AssertionResult assertionResult{info, data};
8877 assertionEnded(assertionResult);
8878
8879 if (!assertionResult.isOk())
8880 populateReaction(reaction);
8881}
8882
8883IResultCapture &getResultCapture() {
8884 if (auto *capture = getCurrentContext().getResultCapture())

Calls 2

LazyExpressionClass · 0.85
isOkMethod · 0.80

Tested by

no test coverage detected