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

Namespaces

 assertAction
 
 binaryAssertComparison
 
 types
 

Classes

class  ContextScope
 
struct  ContextScopeBase
 
struct  deferred_false
 
class  ExceptionTranslator
 OCLINT destructor of virtual class. More...
 
struct  ExpressionDecomposer
 
struct  filldata
 
struct  filldata< const char[N]>
 
struct  filldata< const void * >
 
struct  filldata< T * >
 
struct  filldata< T[N]>
 
struct  has_insertion_operator
 
struct  has_insertion_operator< T, decltype(operator<<(declval< std::ostream & >(), declval< const T & >()), void())>
 
struct  IExceptionTranslator
 
struct  MessageBuilder
 
struct  RelationalComparator
 
struct  Result
 
struct  ResultBuilder
 
struct  StringMakerBase
 
struct  StringMakerBase< true >
 
struct  Subcase
 
struct  TestCase
 
struct  TestFailureException
 
struct  TestSuite
 

Typedefs

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

Functions

template<int comparison, typename L , typename R >
DOCTEST_NOINLINE bool 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)
 
template<typename T >
T && declval ()
 
DOCTEST_INTERFACE bool decomp_assert (assertType::Enum at, const char *file, int line, const char *expr, const 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)
 
template<typename T >
void filloss (std::ostream *stream, const T &in)
 
template<typename T , size_t N>
void filloss (std::ostream *stream, const T(&in)[N])
 
template<class T >
DOCTEST_CONSTEXPR_FUNC T && forward (typename types::remove_reference< T >::type &&t) DOCTEST_NOEXCEPT
 
template<class T >
DOCTEST_CONSTEXPR_FUNC T && forward (typename types::remove_reference< T >::type &t) DOCTEST_NOEXCEPT
 
template<typename T >
int instantiationHelper (const T &)
 
DOCTEST_INTERFACE bool isDebuggerActive ()
 
template<typename L >
ContextScope< L > MakeContextScope (const L &lambda)
 
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 ()
 
DOCTEST_INTERFACE String tlssPop ()
 
DOCTEST_INTERFACE std::ostreamtlssPush ()
 
template<typename T >
String toStream (const T &in)
 
template<typename L >
DOCTEST_NOINLINE bool unary_assert (assertType::Enum at, const char *file, int line, const char *expr, const DOCTEST_REF_WRAP(L) val)
 

Variables

struct DOCTEST_INTERFACE TestCase
 

Typedef Documentation

◆ assert_handler

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

Definition at line 1918 of file doctest.h.

◆ funcType

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

Definition at line 1570 of file doctest.h.

◆ reporterCreatorFunc

Definition at line 2057 of file doctest.h.

Function Documentation

◆ binary_assert()

template<int comparison, typename L , typename R >
DOCTEST_NOINLINE bool 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 1722 of file doctest.h.

◆ checkIfShouldThrow()

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

◆ declval()

template<typename T >
T&& doctest::detail::declval ( )

◆ decomp_assert()

DOCTEST_INTERFACE bool doctest::detail::decomp_assert ( assertType::Enum  at,
const char *  file,
int  line,
const char *  expr,
const 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 1404 of file doctest.h.

◆ failed_out_of_a_testing_context()

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

◆ filloss() [1/2]

template<typename T >
void doctest::detail::filloss ( std::ostream stream,
const T &  in 
)

Definition at line 1024 of file doctest.h.

◆ filloss() [2/2]

template<typename T , size_t N>
void doctest::detail::filloss ( std::ostream stream,
const T(&)  in[N] 
)

Definition at line 1029 of file doctest.h.

◆ forward() [1/2]

template<class T >
DOCTEST_CONSTEXPR_FUNC T&& doctest::detail::forward ( typename types::remove_reference< T >::type &&  t)

Definition at line 965 of file doctest.h.

◆ forward() [2/2]

template<class T >
DOCTEST_CONSTEXPR_FUNC T&& doctest::detail::forward ( typename types::remove_reference< T >::type &  t)

Definition at line 960 of file doctest.h.

◆ instantiationHelper()

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

Definition at line 1611 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 1867 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 2062 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 1316 of file doctest.h.

◆ throwException()

DOCTEST_INTERFACE void doctest::detail::throwException ( )

◆ tlssPop()

DOCTEST_INTERFACE String doctest::detail::tlssPop ( )

◆ tlssPush()

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

◆ toStream()

template<typename T >
String doctest::detail::toStream ( const T &  in)

Definition at line 1036 of file doctest.h.

◆ unary_assert()

template<typename L >
DOCTEST_NOINLINE bool 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 1737 of file doctest.h.

Variable Documentation

◆ TestCase

Definition at line 867 of file doctest.h.



rosbag_fancy
Author(s):
autogenerated on Tue Feb 20 2024 03:20:59