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

Method AssertionHandler

unittests/catch.hpp:4997–5004  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4995 }
4996
4997 AssertionHandler::AssertionHandler
4998 ( StringRef macroName,
4999 SourceLineInfo const& lineInfo,
5000 StringRef capturedExpression,
5001 ResultDisposition::Flags resultDisposition )
5002 : m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition },
5003 m_resultCapture( getResultCapture() )
5004 {}
5005
5006 void AssertionHandler::handleExpr( ITransientExpression const& expr ) {
5007 m_resultCapture.handleExpr( m_assertionInfo, expr, m_reaction );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected