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

Method reportExpr

unittests/catch.hpp:8870–8883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8868 }
8869 }
8870 void RunContext::reportExpr(
8871 AssertionInfo const &info,
8872 ResultWas::OfType resultType,
8873 ITransientExpression const *expr,
8874 bool negated ) {
8875
8876 m_lastAssertionInfo = info;
8877 AssertionResultData data( resultType, LazyExpression( negated ) );
8878
8879 AssertionResult assertionResult{ info, data };
8880 assertionResult.m_resultData.lazyExpression.m_transientExpression = expr;
8881
8882 assertionEnded( assertionResult );
8883 }
8884
8885 void RunContext::handleMessage(
8886 AssertionInfo const& info,

Callers

nothing calls this directly

Calls 1

LazyExpressionClass · 0.85

Tested by

no test coverage detected