#include <catch.hpp>
Classes | |
struct | ExprComponents |
Public Member Functions | |
bool | allowThrows () const |
AssertionResult | build () const |
void | captureExpression () |
void | captureResult (ResultWas::OfType resultType) |
void | endExpression () |
template<typename RhsT > | |
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison & | operator&& (RhsT const &) |
template<typename T > | |
ResultBuilder & | operator<< (T const &value) |
template<typename T > | |
ExpressionLhs< T const & > | operator<= (T const &operand) |
ExpressionLhs< bool > | operator<= (bool value) |
template<typename RhsT > | |
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison & | operator|| (RhsT const &) |
void | react () |
std::string | reconstructExpression () const |
ResultBuilder (char const *macroName, SourceLineInfo const &lineInfo, char const *capturedExpression, ResultDisposition::Flags resultDisposition) | |
ResultBuilder & | setLhs (std::string const &lhs) |
ResultBuilder & | setOp (std::string const &op) |
ResultBuilder & | setResultType (ResultWas::OfType result) |
ResultBuilder & | setResultType (bool result) |
ResultBuilder & | setRhs (std::string const &rhs) |
bool | shouldDebugBreak () const |
void | useActiveException (ResultDisposition::Flags resultDisposition=ResultDisposition::Normal) |
Private Attributes | |
AssertionInfo | m_assertionInfo |
AssertionResultData | m_data |
struct Catch::ResultBuilder::ExprComponents | m_exprComponents |
bool | m_shouldDebugBreak |
bool | m_shouldThrow |
CopyableStream | m_stream |
Catch::ResultBuilder::ResultBuilder | ( | char const * | macroName, |
SourceLineInfo const & | lineInfo, | ||
char const * | capturedExpression, | ||
ResultDisposition::Flags | resultDisposition | ||
) |
bool Catch::ResultBuilder::allowThrows | ( | ) | const |
AssertionResult Catch::ResultBuilder::build | ( | ) | const |
void Catch::ResultBuilder::captureExpression | ( | ) |
void Catch::ResultBuilder::captureResult | ( | ResultWas::OfType | resultType | ) |
void Catch::ResultBuilder::endExpression | ( | ) |
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& Catch::ResultBuilder::operator&& | ( | RhsT const & | ) |
|
inline |
|
inline |
|
inline |
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& Catch::ResultBuilder::operator|| | ( | RhsT const & | ) |
void Catch::ResultBuilder::react | ( | ) |
std::string Catch::ResultBuilder::reconstructExpression | ( | ) | const |
ResultBuilder& Catch::ResultBuilder::setLhs | ( | std::string const & | lhs | ) |
ResultBuilder& Catch::ResultBuilder::setOp | ( | std::string const & | op | ) |
ResultBuilder& Catch::ResultBuilder::setResultType | ( | ResultWas::OfType | result | ) |
ResultBuilder& Catch::ResultBuilder::setResultType | ( | bool | result | ) |
ResultBuilder& Catch::ResultBuilder::setRhs | ( | std::string const & | rhs | ) |
bool Catch::ResultBuilder::shouldDebugBreak | ( | ) | const |
void Catch::ResultBuilder::useActiveException | ( | ResultDisposition::Flags | resultDisposition = ResultDisposition::Normal | ) |
|
private |
|
private |
|
private |
|
private |