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

Method reportExpr

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

Source from the content-addressed store, hash-verified

8817 }
8818}
8819void RunContext::reportExpr(AssertionInfo const &info, ResultWas::OfType resultType, ITransientExpression const *expr,
8820 bool negated) {
8821
8822 m_lastAssertionInfo = info;
8823 AssertionResultData data(resultType, LazyExpression(negated));
8824
8825 AssertionResult assertionResult{info, data};
8826 assertionResult.m_resultData.lazyExpression.m_transientExpression = expr;
8827
8828 assertionEnded(assertionResult);
8829}
8830
8831void RunContext::handleMessage(AssertionInfo const &info, ResultWas::OfType resultType, StringRef const &message,
8832 AssertionReaction &reaction) {

Callers

nothing calls this directly

Calls 1

LazyExpressionClass · 0.85

Tested by

no test coverage detected