Function handleNonExpr

Synopsis

#include <include/internal/catch_run_context.h>

void handleNonExpr(AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction) override

Description

No description yet.

Source

Lines 522-535 in include/internal/catch_run_context.cpp. Line 73 in include/internal/catch_run_context.h.

void RunContext::handleNonExpr(
        AssertionInfo const &info,
        ResultWas::OfType resultType,
        AssertionReaction &reaction
) {
    m_lastAssertionInfo = info;
    AssertionResultData data( resultType, LazyExpression( false ) );
    AssertionResult assertionResult{ info, data };
    assertionEnded( assertionResult );
    if( !assertionResult.isOk() )
        populateReaction( reaction );
}





Add Discussion as Guest

Log in