Classes | Public Member Functions | Private Attributes
Catch::ResultBuilder Class Reference

#include <catch.hpp>

List of all members.

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 >
ResultBuilderoperator<< (T const &value)
template<typename T >
ExpressionLhs< T const & > operator<= (T const &operand)
ExpressionLhs< booloperator<= (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="")
ResultBuildersetLhs (std::string const &lhs)
ResultBuildersetOp (std::string const &op)
ResultBuildersetResultType (ResultWas::OfType result)
ResultBuildersetResultType (bool result)
ResultBuildersetRhs (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

Detailed Description

Definition at line 1228 of file catch.hpp.


Constructor & Destructor Documentation

Catch::ResultBuilder::ResultBuilder ( char const *  macroName,
SourceLineInfo const &  lineInfo,
char const *  capturedExpression,
ResultDisposition::Flags  resultDisposition,
char const *  secondArg = "" 
)

Member Function Documentation

void Catch::ResultBuilder::captureExpectedException ( std::string const &  expectedMessage)
template<typename RhsT >
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& Catch::ResultBuilder::operator&& ( RhsT const &  )
template<typename T >
ResultBuilder& Catch::ResultBuilder::operator<< ( T const &  value) [inline]

Definition at line 1241 of file catch.hpp.

template<typename T >
ExpressionLhs< T const & > Catch::ResultBuilder::operator<= ( T const &  operand) [inline]

Definition at line 1891 of file catch.hpp.

ExpressionLhs< bool > Catch::ResultBuilder::operator<= ( bool  value) [inline]

Definition at line 1895 of file catch.hpp.

template<typename RhsT >
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& Catch::ResultBuilder::operator|| ( RhsT const &  )
ResultBuilder& Catch::ResultBuilder::setLhs ( std::string const &  lhs)
ResultBuilder& Catch::ResultBuilder::setOp ( std::string const &  op)
ResultBuilder& Catch::ResultBuilder::setRhs ( std::string const &  rhs)

Member Data Documentation

Definition at line 1271 of file catch.hpp.

Definition at line 1272 of file catch.hpp.

Definition at line 1280 of file catch.hpp.

Definition at line 1281 of file catch.hpp.

Definition at line 1278 of file catch.hpp.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:10