#include <catch_assertionhandler.h>
Definition at line 2173 of file catch.hpp.
◆ AssertionHandler() [1/2]
Definition at line 54 of file catch_assertionhandler.cpp.
59 : m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition },
61 {}
IResultCapture & getResultCapture()
◆ ~AssertionHandler() [1/2]
Catch::AssertionHandler::~AssertionHandler |
( |
| ) |
|
|
inline |
Definition at line 56 of file catch_assertionhandler.h.
56 {
57 if ( !m_completed ) {
59 }
60 }
virtual void handleIncomplete(AssertionInfo const &info)=0
◆ AssertionHandler() [2/2]
◆ ~AssertionHandler() [2/2]
Catch::AssertionHandler::~AssertionHandler |
( |
| ) |
|
|
inline |
Definition at line 2185 of file catch.hpp.
2185 {
2186 if ( !m_completed ) {
2188 }
2189 }
◆ allowThrows() [1/2]
auto Catch::AssertionHandler::allowThrows |
( |
| ) |
const -> bool |
Definition at line 70 of file catch_assertionhandler.cpp.
70 {
72 }
IContext & getCurrentContext()
virtual IConfigPtr const & getConfig() const =0
◆ allowThrows() [2/2]
auto Catch::AssertionHandler::allowThrows |
( |
| ) |
const -> bool |
◆ complete() [1/2]
void Catch::AssertionHandler::complete |
( |
| ) |
|
Definition at line 74 of file catch_assertionhandler.cpp.
74 {
77
78
79
80
81
83 }
85#if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)
87#else
88 CATCH_ERROR(
"Test failure requires aborting test!" );
89#endif
90 }
91 }
#define CATCH_BREAK_INTO_DEBUGGER()
◆ complete() [2/2]
void Catch::AssertionHandler::complete |
( |
| ) |
|
◆ handleExceptionNotThrownAsExpected() [1/2]
void Catch::AssertionHandler::handleExceptionNotThrownAsExpected |
( |
| ) |
|
Definition at line 103 of file catch_assertionhandler.cpp.
103 {
105 }
virtual void handleNonExpr(AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction)=0
◆ handleExceptionNotThrownAsExpected() [2/2]
void Catch::AssertionHandler::handleExceptionNotThrownAsExpected |
( |
| ) |
|
◆ handleExceptionThrownAsExpected() [1/2]
void Catch::AssertionHandler::handleExceptionThrownAsExpected |
( |
| ) |
|
◆ handleExceptionThrownAsExpected() [2/2]
void Catch::AssertionHandler::handleExceptionThrownAsExpected |
( |
| ) |
|
◆ handleExpr() [1/4]
void Catch::AssertionHandler::handleExpr |
( |
ExprLhs< T > const & | expr | ) |
|
|
inline |
◆ handleExpr() [2/4]
void Catch::AssertionHandler::handleExpr |
( |
ExprLhs< T > const & | expr | ) |
|
|
inline |
◆ handleExpr() [3/4]
Definition at line 63 of file catch_assertionhandler.cpp.
63 {
64 m_resultCapture.
handleExpr( m_assertionInfo, expr, m_reaction );
65 }
virtual void handleExpr(AssertionInfo const &info, ITransientExpression const &expr, AssertionReaction &reaction)=0
◆ handleExpr() [4/4]
◆ handleMessage() [1/2]
Definition at line 66 of file catch_assertionhandler.cpp.
66 {
67 m_resultCapture.
handleMessage( m_assertionInfo, resultType, message, m_reaction );
68 }
virtual void handleMessage(AssertionInfo const &info, ResultWas::OfType resultType, StringRef const &message, AssertionReaction &reaction)=0
◆ handleMessage() [2/2]
◆ handleThrowingCallSkipped() [1/2]
void Catch::AssertionHandler::handleThrowingCallSkipped |
( |
| ) |
|
◆ handleThrowingCallSkipped() [2/2]
void Catch::AssertionHandler::handleThrowingCallSkipped |
( |
| ) |
|
◆ handleUnexpectedExceptionNotThrown() [1/2]
void Catch::AssertionHandler::handleUnexpectedExceptionNotThrown |
( |
| ) |
|
Definition at line 107 of file catch_assertionhandler.cpp.
107 {
109 }
virtual void handleUnexpectedExceptionNotThrown(AssertionInfo const &info, AssertionReaction &reaction)=0
◆ handleUnexpectedExceptionNotThrown() [2/2]
void Catch::AssertionHandler::handleUnexpectedExceptionNotThrown |
( |
| ) |
|
◆ handleUnexpectedInflightException() [1/2]
void Catch::AssertionHandler::handleUnexpectedInflightException |
( |
| ) |
|
Definition at line 96 of file catch_assertionhandler.cpp.
96 {
98 }
std::string translateActiveException()
virtual void handleUnexpectedInflightException(AssertionInfo const &info, std::string const &message, AssertionReaction &reaction)=0
◆ handleUnexpectedInflightException() [2/2]
void Catch::AssertionHandler::handleUnexpectedInflightException |
( |
| ) |
|
◆ setCompleted() [1/2]
void Catch::AssertionHandler::setCompleted |
( |
| ) |
|
◆ setCompleted() [2/2]
void Catch::AssertionHandler::setCompleted |
( |
| ) |
|
The documentation for this class was generated from the following files: