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 2173 of file catch.hpp.

Constructor & Destructor Documentation

◆ AssertionHandler()

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

◆ ~AssertionHandler()

Catch::AssertionHandler::~AssertionHandler ( )
inline

Definition at line 2185 of file catch.hpp.

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

Definition at line 2192 of file catch.hpp.

◆ 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 ( )

Member Data Documentation

◆ m_assertionInfo

AssertionInfo Catch::AssertionHandler::m_assertionInfo
private

Definition at line 2174 of file catch.hpp.

◆ m_completed

bool Catch::AssertionHandler::m_completed = false
private

Definition at line 2176 of file catch.hpp.

◆ m_reaction

AssertionReaction Catch::AssertionHandler::m_reaction
private

Definition at line 2175 of file catch.hpp.

◆ m_resultCapture

IResultCapture& Catch::AssertionHandler::m_resultCapture
private

Definition at line 2177 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:10