#include <catch_assertionresult.h>
Definition at line 34 of file catch_assertionresult.h.
◆ AssertionResult() [1/2]
Catch::AssertionResult::AssertionResult |
( |
| ) |
|
|
delete |
◆ AssertionResult() [2/2]
◆ getExpandedExpression()
std::string Catch::AssertionResult::getExpandedExpression |
( |
| ) |
const |
Definition at line 80 of file catch_assertionresult.cpp.
80 {
82 return expr.empty()
84 : expr;
85 }
std::string getExpression() const
std::string reconstructExpression() const
◆ getExpression()
std::string Catch::AssertionResult::getExpression |
( |
| ) |
const |
Definition at line 55 of file catch_assertionresult.cpp.
55 {
58 else
60 }
bool isFalseTest(int flags)
ResultDisposition::Flags resultDisposition
StringRef capturedExpression
◆ getExpressionInMacro()
std::string Catch::AssertionResult::getExpressionInMacro |
( |
| ) |
const |
Definition at line 62 of file catch_assertionresult.cpp.
62 {
63 std::string expr;
66 else {
69 expr += "( ";
71 expr += " )";
72 }
73 return expr;
74 }
auto size() const noexcept -> size_type
◆ getMessage()
std::string Catch::AssertionResult::getMessage |
( |
| ) |
const |
◆ getResultType()
◆ getSourceInfo()
◆ getTestMacroName()
StringRef Catch::AssertionResult::getTestMacroName |
( |
| ) |
const |
◆ hasExpandedExpression()
bool Catch::AssertionResult::hasExpandedExpression |
( |
| ) |
const |
Definition at line 76 of file catch_assertionresult.cpp.
76 {
78 }
std::string getExpandedExpression() const
bool hasExpression() const
◆ hasExpression()
bool Catch::AssertionResult::hasExpression |
( |
| ) |
const |
◆ hasMessage()
bool Catch::AssertionResult::hasMessage |
( |
| ) |
const |
◆ isOk()
bool Catch::AssertionResult::isOk |
( |
| ) |
const |
Definition at line 39 of file catch_assertionresult.cpp.
39 {
41 }
bool isOk(ResultWas::OfType resultType)
bool shouldSuppressFailure(int flags)
◆ succeeded()
bool Catch::AssertionResult::succeeded |
( |
| ) |
const |
◆ m_info
◆ m_resultData
The documentation for this class was generated from the following files: