Public Member Functions | Private Attributes | List of all members
Catch::AssertionHandler Class Reference

#include <catch.hpp>

Public Member Functions

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

Private Attributes

AssertionInfo m_assertionInfo
 
bool m_completed = false
 
AssertionReaction m_reaction
 
IResultCapturem_resultCapture
 

Detailed Description

Definition at line 1717 of file catch.hpp.

Constructor & Destructor Documentation

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

Definition at line 1729 of file catch.hpp.

Member Function Documentation

auto Catch::AssertionHandler::allowThrows ( ) const -> bool
void Catch::AssertionHandler::complete ( )
void Catch::AssertionHandler::handleExceptionNotThrownAsExpected ( )
void Catch::AssertionHandler::handleExceptionThrownAsExpected ( )
template<typename T >
void Catch::AssertionHandler::handleExpr ( ExprLhs< T > const &  expr)
inline

Definition at line 1736 of file catch.hpp.

void Catch::AssertionHandler::handleExpr ( ITransientExpression const &  expr)
void Catch::AssertionHandler::handleMessage ( ResultWas::OfType  resultType,
StringRef const &  message 
)
void Catch::AssertionHandler::handleThrowingCallSkipped ( )
void Catch::AssertionHandler::handleUnexpectedExceptionNotThrown ( )
void Catch::AssertionHandler::handleUnexpectedInflightException ( )
void Catch::AssertionHandler::setCompleted ( )

Member Data Documentation

AssertionInfo Catch::AssertionHandler::m_assertionInfo
private

Definition at line 1718 of file catch.hpp.

bool Catch::AssertionHandler::m_completed = false
private

Definition at line 1720 of file catch.hpp.

AssertionReaction Catch::AssertionHandler::m_reaction
private

Definition at line 1719 of file catch.hpp.

IResultCapture& Catch::AssertionHandler::m_resultCapture
private

Definition at line 1721 of file catch.hpp.


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


catch_ros
Author(s): Max Schwarz
autogenerated on Thu Jan 14 2021 03:32:26