Namespaces | Classes | Typedefs | Functions
doctest::detail Namespace Reference

Namespaces

 assertAction
 
 binaryAssertComparison
 
 has_insertion_operator_impl
 

Classes

class  ContextScope
 
class  ContextScopeBase
 
struct  deferred_false
 
class  ExceptionTranslator
 OCLINT destructor of virtual class. More...
 
struct  ExpressionDecomposer
 
struct  has_insertion_operator
 
struct  IExceptionTranslator
 
struct  MessageBuilder
 
struct  RelationalComparator
 
struct  remove_const
 
struct  remove_const< const T >
 
struct  remove_reference
 
struct  remove_reference< T & >
 
struct  remove_reference< T && >
 
struct  Result
 
struct  ResultBuilder
 
struct  StringMakerBase
 
struct  StringMakerBase< true >
 
struct  StringStream
 
struct  StringStreamBase
 
struct  StringStreamBase< true >
 
struct  Subcase
 
struct  TestCase
 
struct  TestFailureException
 
struct  TestSuite
 

Typedefs

typedef void(* assert_handler) (const AssertData &)
 
typedef void(* funcType) ()
 
typedef IReporter *(* reporterCreatorFunc) (const ContextOptions &)
 

Functions

template<int comparison, typename L , typename R >
DOCTEST_NOINLINE void binary_assert (assertType::Enum at, const char *file, int line, const char *expr, const DOCTEST_REF_WRAP(L) lhs, const DOCTEST_REF_WRAP(R) rhs)
 
DOCTEST_INTERFACE bool checkIfShouldThrow (assertType::Enum at)
 
DOCTEST_INTERFACE void decomp_assert (assertType::Enum at, const char *file, int line, const char *expr, Result result)
 
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH DOCTEST_GCC_SUPPRESS_WARNING_PUSH DOCTEST_MSVC_SUPPRESS_WARNING_PUSH DOCTEST_MSVC_SUPPRESS_WARNING (4388) DOCTEST_MSVC_SUPPRESS_WARNING(4389) DOCTEST_MSVC_SUPPRESS_WARNING(4018) template< typename L > struct Expression_lhs
 
DOCTEST_INTERFACE void failed_out_of_a_testing_context (const AssertData &ad)
 
DOCTEST_INTERFACE std::ostreamgetTlsOss ()
 
DOCTEST_INTERFACE String getTlsOssResult ()
 
template<typename T >
int instantiationHelper (const T &)
 
DOCTEST_INTERFACE bool isDebuggerActive ()
 
template<typename L >
ContextScope< L > MakeContextScope (const L &lambda)
 
DOCTEST_INTERFACE void my_memcpy (void *dest, const void *src, unsigned num)
 
DOCTEST_INTERFACE String rawMemoryToString (const void *object, unsigned size)
 
template<typename T >
String rawMemoryToString (const DOCTEST_REF_WRAP(T) object)
 
DOCTEST_INTERFACE void registerExceptionTranslatorImpl (const IExceptionTranslator *et)
 
DOCTEST_INTERFACE void registerReporterImpl (const char *name, int prio, reporterCreatorFunc c, bool isReporter)
 
DOCTEST_INTERFACE int regTest (const TestCase &tc)
 
template<typename Reporter >
IReporterreporterCreator (const ContextOptions &o)
 
DOCTEST_INTERFACE int setTestSuite (const TestSuite &ts)
 
template<typename L , typename R >
String stringifyBinaryExpr (const DOCTEST_REF_WRAP(L) lhs, const char *op, const DOCTEST_REF_WRAP(R) rhs)
 
DOCTEST_INTERFACE void throwException ()
 
template<typename T >
void toStream (std::ostream *s, const T &value)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, bool in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, float in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, double in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, double long in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, char in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, char signed in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, char unsigned in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, int short in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, int short unsigned in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, int in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, int unsigned in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, int long in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, int long unsigned in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, int long long in)
 
DOCTEST_INTERFACE void toStream (std::ostream *s, int long long unsigned in)
 
template<typename T >
const char * type_to_string ()
 
template<typename L >
DOCTEST_NOINLINE void unary_assert (assertType::Enum at, const char *file, int line, const char *expr, const DOCTEST_REF_WRAP(L) val)
 

Typedef Documentation

◆ assert_handler

typedef void(* doctest::detail::assert_handler) (const AssertData &)

Definition at line 1574 of file doctest.h.

◆ funcType

typedef void(* doctest::detail::funcType) ()

Definition at line 1230 of file doctest.h.

◆ reporterCreatorFunc

typedef IReporter*(* doctest::detail::reporterCreatorFunc) (const ContextOptions &)

Definition at line 1704 of file doctest.h.

Function Documentation

◆ binary_assert()

template<int comparison, typename L , typename R >
DOCTEST_NOINLINE void doctest::detail::binary_assert ( assertType::Enum  at,
const char *  file,
int  line,
const char *  expr,
const DOCTEST_REF_WRAP(L)  lhs,
const DOCTEST_REF_WRAP(R)  rhs 
)

Definition at line 1368 of file doctest.h.

◆ checkIfShouldThrow()

DOCTEST_INTERFACE bool doctest::detail::checkIfShouldThrow ( assertType::Enum  at)

◆ decomp_assert()

DOCTEST_INTERFACE void doctest::detail::decomp_assert ( assertType::Enum  at,
const char *  file,
int  line,
const char *  expr,
Result  result 
)

◆ DOCTEST_MSVC_SUPPRESS_WARNING()

OCLINT bitwise operator in conditional

OCLINT bitwise operator in conditional

OCLINT bitwise operator in conditional

OCLINT bitwise operator in conditional

OCLINT bitwise operator in conditional

OCLINT bitwise operator in conditional

OCLINT bitwise operator in conditional

Definition at line 1083 of file doctest.h.

◆ failed_out_of_a_testing_context()

DOCTEST_INTERFACE void doctest::detail::failed_out_of_a_testing_context ( const AssertData ad)

◆ getTlsOss()

DOCTEST_INTERFACE std::ostream* doctest::detail::getTlsOss ( )

◆ getTlsOssResult()

DOCTEST_INTERFACE String doctest::detail::getTlsOssResult ( )

◆ instantiationHelper()

template<typename T >
int doctest::detail::instantiationHelper ( const T &  )

Definition at line 1266 of file doctest.h.

◆ isDebuggerActive()

DOCTEST_INTERFACE bool doctest::detail::isDebuggerActive ( )

◆ MakeContextScope()

template<typename L >
ContextScope<L> doctest::detail::MakeContextScope ( const L &  lambda)

Definition at line 1525 of file doctest.h.

◆ my_memcpy()

DOCTEST_INTERFACE void doctest::detail::my_memcpy ( void dest,
const void src,
unsigned  num 
)

◆ rawMemoryToString() [1/2]

DOCTEST_INTERFACE String doctest::detail::rawMemoryToString ( const void object,
unsigned  size 
)

◆ rawMemoryToString() [2/2]

template<typename T >
String doctest::detail::rawMemoryToString ( const DOCTEST_REF_WRAP(T)  object)

Definition at line 814 of file doctest.h.

◆ registerExceptionTranslatorImpl()

DOCTEST_INTERFACE void doctest::detail::registerExceptionTranslatorImpl ( const IExceptionTranslator et)

◆ registerReporterImpl()

DOCTEST_INTERFACE void doctest::detail::registerReporterImpl ( const char *  name,
int  prio,
reporterCreatorFunc  c,
bool  isReporter 
)

◆ regTest()

DOCTEST_INTERFACE int doctest::detail::regTest ( const TestCase tc)

◆ reporterCreator()

template<typename Reporter >
IReporter* doctest::detail::reporterCreator ( const ContextOptions o)

Definition at line 1709 of file doctest.h.

◆ setTestSuite()

DOCTEST_INTERFACE int doctest::detail::setTestSuite ( const TestSuite ts)

◆ stringifyBinaryExpr()

template<typename L , typename R >
String doctest::detail::stringifyBinaryExpr ( const DOCTEST_REF_WRAP(L)  lhs,
const char *  op,
const DOCTEST_REF_WRAP(R)  rhs 
)

Definition at line 1006 of file doctest.h.

◆ throwException()

DOCTEST_INTERFACE void doctest::detail::throwException ( )

◆ toStream() [1/16]

template<typename T >
void doctest::detail::toStream ( std::ostream s,
const T &  value 
)

Definition at line 1458 of file doctest.h.

◆ toStream() [2/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
bool  in 
)

◆ toStream() [3/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
float  in 
)

◆ toStream() [4/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
double  in 
)

◆ toStream() [5/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
double long  in 
)

◆ toStream() [6/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
char  in 
)

◆ toStream() [7/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
char signed  in 
)

◆ toStream() [8/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
char unsigned  in 
)

◆ toStream() [9/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
int short  in 
)

◆ toStream() [10/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
int short unsigned  in 
)

◆ toStream() [11/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
int  in 
)

◆ toStream() [12/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
int unsigned  in 
)

◆ toStream() [13/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
int long  in 
)

◆ toStream() [14/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
int long unsigned  in 
)

◆ toStream() [15/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
int long long  in 
)

◆ toStream() [16/16]

DOCTEST_INTERFACE void doctest::detail::toStream ( std::ostream s,
int long long unsigned  in 
)

◆ type_to_string()

template<typename T >
const char* doctest::detail::type_to_string ( )

Definition at line 819 of file doctest.h.

◆ unary_assert()

template<typename L >
DOCTEST_NOINLINE void doctest::detail::unary_assert ( assertType::Enum  at,
const char *  file,
int  line,
const char *  expr,
const DOCTEST_REF_WRAP(L)  val 
)

OCLINT bitwise operator in conditional

Definition at line 1382 of file doctest.h.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23