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 2545 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 2557 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 2564 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 2546 of file catch.hpp.

bool Catch::AssertionHandler::m_completed = false
private

Definition at line 2548 of file catch.hpp.

AssertionReaction Catch::AssertionHandler::m_reaction
private

Definition at line 2547 of file catch.hpp.

IResultCapture& Catch::AssertionHandler::m_resultCapture
private

Definition at line 2549 of file catch.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:35