Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Catch::AssertionHandler Class Reference

#include <catch.hpp>

+ Collaboration diagram for Catch::AssertionHandler:

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
 

Detailed Description

Definition at line 2548 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 2560 of file catch.hpp.

References Catch::IResultCapture::handleIncomplete().

+ Here is the call graph for this function:

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

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