FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::AssertionHandler Class Reference

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
 

Private Attributes

AssertionInfo m_assertionInfo
 
AssertionReaction m_reaction
 
bool m_completed
 
IResultCapturem_resultCapture
 

Constructor & Destructor Documentation

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

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

Field Documentation

AssertionInfo Catch::AssertionHandler::m_assertionInfo
private
bool Catch::AssertionHandler::m_completed
private
AssertionReaction Catch::AssertionHandler::m_reaction
private
IResultCapture& Catch::AssertionHandler::m_resultCapture
private