#include <catch.hpp>
Classes | |
struct | ExprComponents |
Public Member Functions | |
bool | allowThrows () const |
AssertionResult | build () const |
void | captureExpectedException (std::string const &expectedMessage) |
void | captureExpectedException (Matchers::Impl::Matcher< std::string > const &matcher) |
void | captureExpression () |
void | captureResult (ResultWas::OfType resultType) |
void | endExpression () |
void | handleResult (AssertionResult const &result) |
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, char const *secondArg="") | |
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, | ||
char const * | secondArg = "" |
||
) |
bool Catch::ResultBuilder::allowThrows | ( | ) | const |
AssertionResult Catch::ResultBuilder::build | ( | ) | const |
void Catch::ResultBuilder::captureExpectedException | ( | std::string const & | expectedMessage | ) |
void Catch::ResultBuilder::captureExpectedException | ( | Matchers::Impl::Matcher< std::string > const & | matcher | ) |
void Catch::ResultBuilder::captureResult | ( | ResultWas::OfType | resultType | ) |
void Catch::ResultBuilder::endExpression | ( | ) |
void Catch::ResultBuilder::handleResult | ( | AssertionResult const & | result | ) |
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& Catch::ResultBuilder::operator&& | ( | RhsT const & | ) |
ResultBuilder& Catch::ResultBuilder::operator<< | ( | T const & | value | ) | [inline] |
ExpressionLhs< T const & > Catch::ResultBuilder::operator<= | ( | T const & | operand | ) | [inline] |
ExpressionLhs< bool > Catch::ResultBuilder::operator<= | ( | bool | value | ) | [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 | ( | bool | result | ) |
ResultBuilder& Catch::ResultBuilder::setRhs | ( | std::string const & | rhs | ) |
bool Catch::ResultBuilder::shouldDebugBreak | ( | ) | const |
void Catch::ResultBuilder::useActiveException | ( | ResultDisposition::Flags | resultDisposition = ResultDisposition::Normal | ) |
bool Catch::ResultBuilder::m_shouldDebugBreak [private] |
bool Catch::ResultBuilder::m_shouldThrow [private] |
CopyableStream Catch::ResultBuilder::m_stream [private] |