Catch::AssertionHandler Class Reference

#include <catch.hpp>

Public Member Functions

 AssertionHandler (StringRef macroName, SourceLineInfo const &lineInfo, StringRef capturedExpression, ResultDisposition::Flags resultDisposition)
 
 ~AssertionHandler ()
 
template<typename T >
void handleExpr (ExprLhs< T > const &expr)
 
void handleExpr (ITransientExpression const &expr)
 
void handleMessage (ResultWas::OfType resultType, StringRef const &message)
 
void handleExceptionThrownAsExpected ()
 
void handleUnexpectedExceptionNotThrown ()
 
void handleExceptionNotThrownAsExpected ()
 
void handleThrowingCallSkipped ()
 
void handleUnexpectedInflightException ()
 
void complete ()
 
void setCompleted ()
 
auto allowThrows () const -> bool
 

Constructor & Destructor Documentation

◆ AssertionHandler()

Catch::AssertionHandler::AssertionHandler ( StringRef  macroName,
SourceLineInfo const &  lineInfo,
StringRef  capturedExpression,
ResultDisposition::Flags  resultDisposition 
)

◆ ~AssertionHandler()

Catch::AssertionHandler::~AssertionHandler ( )
inline

Member Function Documentation

◆ allowThrows()

auto Catch::AssertionHandler::allowThrows ( ) const -> bool

◆ complete()

void Catch::AssertionHandler::complete ( )

◆ handleExceptionNotThrownAsExpected()

void Catch::AssertionHandler::handleExceptionNotThrownAsExpected ( )

◆ handleExceptionThrownAsExpected()

void Catch::AssertionHandler::handleExceptionThrownAsExpected ( )

◆ handleExpr() [1/2]

template<typename T >
void Catch::AssertionHandler::handleExpr ( ExprLhs< T > const &  expr)
inline

◆ handleExpr() [2/2]

void Catch::AssertionHandler::handleExpr ( ITransientExpression const &  expr)

◆ handleMessage()

void Catch::AssertionHandler::handleMessage ( ResultWas::OfType  resultType,
StringRef const &  message 
)

◆ handleThrowingCallSkipped()

void Catch::AssertionHandler::handleThrowingCallSkipped ( )

◆ handleUnexpectedExceptionNotThrown()

void Catch::AssertionHandler::handleUnexpectedExceptionNotThrown ( )

◆ handleUnexpectedInflightException()

void Catch::AssertionHandler::handleUnexpectedInflightException ( )

◆ setCompleted()

void Catch::AssertionHandler::setCompleted ( )

The documentation for this class was generated from the following file: