enum_name
Loading...
Searching...
No Matches
Public Member Functions | List of all members
doctest::detail::ResultBuilder Struct Reference
Inheritance diagram for doctest::detail::ResultBuilder:
doctest::AssertData doctest::AssertData

Public Member Functions

 ResultBuilder (assertType::Enum at, const char *file, int line, const char *expr, const char *exception_type="", const String &exception_string="")
 
 ResultBuilder (assertType::Enum at, const char *file, int line, const char *expr, const char *exception_type, const Contains &exception_string)
 
void setResult (const Result &res)
 
template<int comparison, typename L , typename R >
DOCTEST_NOINLINE bool binary_assert (const DOCTEST_REF_WRAP(L) lhs, const DOCTEST_REF_WRAP(R) rhs)
 
template<typename L >
DOCTEST_NOINLINE bool unary_assert (const DOCTEST_REF_WRAP(L) val)
 
void translateException ()
 
bool log ()
 
void react () const
 
 ResultBuilder (assertType::Enum at, const char *file, int line, const char *expr, const char *exception_type="", const String &exception_string="")
 
 ResultBuilder (assertType::Enum at, const char *file, int line, const char *expr, const char *exception_type, const Contains &exception_string)
 
void setResult (const Result &res)
 
template<int comparison, typename L , typename R >
DOCTEST_NOINLINE bool binary_assert (const DOCTEST_REF_WRAP(L) lhs, const DOCTEST_REF_WRAP(R) rhs)
 
template<typename L >
DOCTEST_NOINLINE bool unary_assert (const DOCTEST_REF_WRAP(L) val)
 
void translateException ()
 
bool log ()
 
void react () const
 
- Public Member Functions inherited from doctest::AssertData
 AssertData (assertType::Enum at, const char *file, int line, const char *expr, const char *exception_type, const StringContains &exception_string)
 
 AssertData (assertType::Enum at, const char *file, int line, const char *expr, const char *exception_type, const StringContains &exception_string)
 

Additional Inherited Members

- Public Attributes inherited from doctest::AssertData
const TestCaseDatam_test_case
 
assertType::Enum m_at
 
const char * m_file
 
int m_line
 
const char * m_expr
 
bool m_failed
 
bool m_threw
 
String m_exception
 
String m_decomp
 
bool m_threw_as
 
const char * m_exception_type
 
class DOCTEST_INTERFACE doctest::AssertData::StringContains m_exception_string
 

Member Function Documentation

◆ log()

bool doctest::detail::ResultBuilder::log ( )

OCLINT bitwise operator in conditional

OCLINT

OCLINT bitwise operator in conditional

OCLINT bitwise operator in conditional

OCLINT bitwise operator in conditional

◆ unary_assert() [1/2]

template<typename L >
DOCTEST_NOINLINE bool doctest::detail::ResultBuilder::unary_assert ( const DOCTEST_REF_WRAP(L) val)
inline

OCLINT bitwise operator in conditional

◆ unary_assert() [2/2]

template<typename L >
DOCTEST_NOINLINE bool doctest::detail::ResultBuilder::unary_assert ( const DOCTEST_REF_WRAP(L) val)
inline

OCLINT bitwise operator in conditional


The documentation for this struct was generated from the following files: