refactoredCPPNeuronMesher
doctest::detail Namespace Reference

Namespaces

 assertAction
 
 binaryAssertComparison
 
 types
 

Classes

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

Typedefs

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

Functions

static constexpr int consume (const int *, int) noexcept
 
template<typename T >
T && declval ()
 
template<class T >
constexpr T && forward (typename types::remove_reference< T >::type &t) noexcept
 
template<class T >
constexpr T && forward (typename types::remove_reference< T >::type &&t) noexcept
 
std::ostreamtlssPush ()
 
String tlssPop ()
 
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<typename T >
String toStream (const T &in)
 
bool checkIfShouldThrow (assertType::Enum at)
 
void throwException ()
 
template<typename L , typename R >
String stringifyBinaryExpr (const L &lhs, const char *op, const R &rhs)
 
template<typename L , typename R >
bool eq (const L &lhs, const R &rhs)
 
template<typename L , typename R >
bool ne (const L &lhs, const R &rhs)
 
template<typename L , typename R >
bool lt (const L &lhs, const R &rhs)
 
template<typename L , typename R >
bool gt (const L &lhs, const R &rhs)
 
template<typename L , typename R >
bool le (const L &lhs, const R &rhs)
 
template<typename L , typename R >
bool ge (const L &lhs, const R &rhs)
 
int regTest (const TestCase &tc)
 
int setTestSuite (const TestSuite &ts)
 
bool isDebuggerActive ()
 
template<typename T >
int instantiationHelper (const T &)
 
void failed_out_of_a_testing_context (const AssertData &ad)
 
bool decomp_assert (assertType::Enum at, const char *file, int line, const char *expr, const Result &result)
 
template<int comparison, typename L , typename R >
 __attribute__ ((noinline)) bool binary_assert(assertType
 
template<typename L >
 __attribute__ ((noinline)) bool unary_assert(assertType
 
void registerExceptionTranslatorImpl (const IExceptionTranslator *et)
 
template<typename L >
ContextScope< L > MakeContextScope (const L &lambda)
 
void registerReporterImpl (const char *name, int prio, reporterCreatorFunc c, bool isReporter)
 
template<typename Reporter >
IReporterreporterCreator (const ContextOptions &o)
 

Typedef Documentation

◆ assert_handler

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

◆ funcType

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

◆ reporterCreatorFunc

Function Documentation

◆ __attribute__() [1/2]

template<int comparison, typename L , typename R >
doctest::detail::__attribute__ ( (noinline)  )
Here is the call graph for this function:

◆ __attribute__() [2/2]

template<typename L >
doctest::detail::__attribute__ ( (noinline)  )

OCLINT bitwise operator in conditional

◆ checkIfShouldThrow()

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

◆ consume()

static constexpr int doctest::detail::consume ( const int *  ,
int   
)
staticconstexprnoexcept

◆ declval()

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

◆ decomp_assert()

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

◆ eq()

template<typename L , typename R >
bool doctest::detail::eq ( const L &  lhs,
const R &  rhs 
)

◆ failed_out_of_a_testing_context()

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 
)

◆ filloss() [2/2]

template<typename T , size_t N>
void doctest::detail::filloss ( std::ostream stream,
const T(&)  in[N] 
)
Here is the caller graph for this function:

◆ forward() [1/2]

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

◆ forward() [2/2]

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

◆ ge()

template<typename L , typename R >
bool doctest::detail::ge ( const L &  lhs,
const R &  rhs 
)

◆ gt()

template<typename L , typename R >
bool doctest::detail::gt ( const L &  lhs,
const R &  rhs 
)

◆ instantiationHelper()

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

◆ isDebuggerActive()

bool doctest::detail::isDebuggerActive ( )

◆ le()

template<typename L , typename R >
bool doctest::detail::le ( const L &  lhs,
const R &  rhs 
)

◆ lt()

template<typename L , typename R >
bool doctest::detail::lt ( const L &  lhs,
const R &  rhs 
)

◆ MakeContextScope()

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

◆ ne()

template<typename L , typename R >
bool doctest::detail::ne ( const L &  lhs,
const R &  rhs 
)

◆ registerExceptionTranslatorImpl()

void doctest::detail::registerExceptionTranslatorImpl ( const IExceptionTranslator et)
Here is the caller graph for this function:

◆ registerReporterImpl()

void doctest::detail::registerReporterImpl ( const char *  name,
int  prio,
reporterCreatorFunc  c,
bool  isReporter 
)
Here is the caller graph for this function:

◆ regTest()

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

◆ reporterCreator()

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

◆ setTestSuite()

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

◆ stringifyBinaryExpr()

template<typename L , typename R >
String doctest::detail::stringifyBinaryExpr ( const L &  lhs,
const char *  op,
const R &  rhs 
)
Here is the caller graph for this function:

◆ throwException()

void doctest::detail::throwException ( )

◆ tlssPop()

String doctest::detail::tlssPop ( )
Here is the caller graph for this function:

◆ tlssPush()

std::ostream* doctest::detail::tlssPush ( )
Here is the caller graph for this function:

◆ toStream()

template<typename T >
String doctest::detail::toStream ( const T &  in)
Here is the call graph for this function:
Here is the caller graph for this function: