kblib 0.2.3
General utilities library for modern C++
Catch::AssertionHandler Class Reference

#include <catch/catch.hpp>

Public Member Functions

 AssertionHandler (StringRef const &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
 
 AssertionHandler (StringRef const &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
 

Detailed Description

Definition at line 2548 of file catch.hpp.

Constructor & Destructor Documentation

◆ AssertionHandler() [1/2]

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

◆ ~AssertionHandler() [1/2]

Catch::AssertionHandler::~AssertionHandler ( )
inline

Definition at line 2560 of file catch.hpp.

◆ AssertionHandler() [2/2]

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

◆ ~AssertionHandler() [2/2]

Catch::AssertionHandler::~AssertionHandler ( )
inline

Definition at line 2560 of file catch.hpp.

Member Function Documentation

◆ allowThrows() [1/2]

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

◆ allowThrows() [2/2]

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

◆ complete() [1/2]

void Catch::AssertionHandler::complete ( )

◆ complete() [2/2]

void Catch::AssertionHandler::complete ( )

◆ handleExceptionNotThrownAsExpected() [1/2]

void Catch::AssertionHandler::handleExceptionNotThrownAsExpected ( )

◆ handleExceptionNotThrownAsExpected() [2/2]

void Catch::AssertionHandler::handleExceptionNotThrownAsExpected ( )

◆ handleExceptionThrownAsExpected() [1/2]

void Catch::AssertionHandler::handleExceptionThrownAsExpected ( )

◆ handleExceptionThrownAsExpected() [2/2]

void Catch::AssertionHandler::handleExceptionThrownAsExpected ( )

◆ handleExpr() [1/4]

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

Definition at line 2567 of file catch.hpp.

◆ handleExpr() [2/4]

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

Definition at line 2567 of file catch.hpp.

◆ handleExpr() [3/4]

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

◆ handleExpr() [4/4]

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

◆ handleMessage() [1/2]

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

◆ handleMessage() [2/2]

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

◆ handleThrowingCallSkipped() [1/2]

void Catch::AssertionHandler::handleThrowingCallSkipped ( )

◆ handleThrowingCallSkipped() [2/2]

void Catch::AssertionHandler::handleThrowingCallSkipped ( )

◆ handleUnexpectedExceptionNotThrown() [1/2]

void Catch::AssertionHandler::handleUnexpectedExceptionNotThrown ( )

◆ handleUnexpectedExceptionNotThrown() [2/2]

void Catch::AssertionHandler::handleUnexpectedExceptionNotThrown ( )

◆ handleUnexpectedInflightException() [1/2]

void Catch::AssertionHandler::handleUnexpectedInflightException ( )

◆ handleUnexpectedInflightException() [2/2]

void Catch::AssertionHandler::handleUnexpectedInflightException ( )

◆ setCompleted() [1/2]

void Catch::AssertionHandler::setCompleted ( )

◆ setCompleted() [2/2]

void Catch::AssertionHandler::setCompleted ( )

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