Github User Fetcher 1.0.0
C Application with Server and GUI
|
Namespaces | |
namespace | assertAction |
namespace | binaryAssertComparison |
namespace | types |
Data Structures | |
class | ContextScope |
struct | ContextScopeBase |
struct | deferred_false |
class | ExceptionTranslator |
OCLINT destructor of virtual class. More... | |
struct | Expression_lhs |
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 | should_stringify_as_underlying_type |
struct | StringMakerBase |
struct | StringMakerBase< true > |
struct | Subcase |
struct | TestCase |
struct | TestFailureException |
struct | TestSuite |
Typedefs | |
using | funcType = void (*)() |
using | assert_handler = void (*)(const AssertData&) |
using | reporterCreatorFunc = IReporter* (*)(const ContextOptions&) |
Functions | |
static DOCTEST_CONSTEXPR int | consume (const int *, int) noexcept |
template<typename T > | |
T && | declval () |
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 |
DOCTEST_INTERFACE std::ostream * | tlssPush () |
DOCTEST_INTERFACE 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) |
DOCTEST_INTERFACE bool | checkIfShouldThrow (assertType::Enum at) |
DOCTEST_INTERFACE void | throwException () |
template<typename L , typename R > | |
String | stringifyBinaryExpr (const DOCTEST_REF_WRAP(L) lhs, const char *op, const DOCTEST_REF_WRAP(R) rhs) |
DOCTEST_INTERFACE int | regTest (const TestCase &tc) |
DOCTEST_INTERFACE int | setTestSuite (const TestSuite &ts) |
DOCTEST_INTERFACE bool | isDebuggerActive () |
template<typename T > | |
int | instantiationHelper (const T &) |
DOCTEST_INTERFACE void | failed_out_of_a_testing_context (const AssertData &ad) |
DOCTEST_INTERFACE bool | decomp_assert (assertType::Enum at, const char *file, int line, const char *expr, const Result &result) |
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) |
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) |
DOCTEST_INTERFACE void | registerExceptionTranslatorImpl (const IExceptionTranslator *et) |
template<typename L > | |
ContextScope< L > | MakeContextScope (const L &lambda) |
DOCTEST_INTERFACE void | registerReporterImpl (const char *name, int prio, reporterCreatorFunc c, bool isReporter) |
template<typename Reporter > | |
IReporter * | reporterCreator (const ContextOptions &o) |
Variables | |
struct DOCTEST_INTERFACE | TestCase |
using doctest::detail::assert_handler = void (*)(const AssertData&) |
using doctest::detail::funcType = void (*)() |
using doctest::detail::reporterCreatorFunc = IReporter* (*)(const ContextOptions&) |
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 1765 of file doctest.h.
References binary_assert(), DOCTEST_ASSERT_IN_TESTS, DOCTEST_ASSERT_OUT_OF_TESTS, and stringifyBinaryExpr().
Referenced by binary_assert().
DOCTEST_INTERFACE bool doctest::detail::checkIfShouldThrow | ( | assertType::Enum | at | ) |
References checkIfShouldThrow().
Referenced by checkIfShouldThrow().
|
staticnoexcept |
T && doctest::detail::declval | ( | ) |
DOCTEST_INTERFACE bool doctest::detail::decomp_assert | ( | assertType::Enum | at, |
const char * | file, | ||
int | line, | ||
const char * | expr, | ||
const Result & | result ) |
References decomp_assert().
Referenced by decomp_assert().
DOCTEST_INTERFACE void doctest::detail::failed_out_of_a_testing_context | ( | const AssertData & | ad | ) |
References failed_out_of_a_testing_context().
Referenced by failed_out_of_a_testing_context().
void doctest::detail::filloss | ( | std::ostream * | stream, |
const T & | in ) |
Definition at line 1053 of file doctest.h.
References filloss().
Referenced by filloss(), filloss(), and toStream().
void doctest::detail::filloss | ( | std::ostream * | stream, |
const T(&) | in[N] ) |
DOCTEST_CONSTEXPR_FUNC T && doctest::detail::forward | ( | typename types::remove_reference< T >::type && | t | ) |
DOCTEST_CONSTEXPR_FUNC T && doctest::detail::forward | ( | typename types::remove_reference< T >::type & | t | ) |
int doctest::detail::instantiationHelper | ( | const T & | ) |
Definition at line 1654 of file doctest.h.
References instantiationHelper().
Referenced by instantiationHelper().
DOCTEST_INTERFACE bool doctest::detail::isDebuggerActive | ( | ) |
References isDebuggerActive().
Referenced by isDebuggerActive().
ContextScope< L > doctest::detail::MakeContextScope | ( | const L & | lambda | ) |
Definition at line 1910 of file doctest.h.
References MakeContextScope().
Referenced by MakeContextScope().
DOCTEST_INTERFACE void doctest::detail::registerExceptionTranslatorImpl | ( | const IExceptionTranslator * | et | ) |
References registerExceptionTranslatorImpl().
Referenced by registerExceptionTranslatorImpl().
DOCTEST_INTERFACE void doctest::detail::registerReporterImpl | ( | const char * | name, |
int | prio, | ||
reporterCreatorFunc | c, | ||
bool | isReporter ) |
References registerReporterImpl().
Referenced by registerReporterImpl().
DOCTEST_INTERFACE int doctest::detail::regTest | ( | const TestCase & | tc | ) |
IReporter * doctest::detail::reporterCreator | ( | const ContextOptions & | o | ) |
Definition at line 2105 of file doctest.h.
References reporterCreator().
Referenced by reporterCreator().
DOCTEST_INTERFACE int doctest::detail::setTestSuite | ( | const TestSuite & | ts | ) |
References setTestSuite().
Referenced by setTestSuite().
String doctest::detail::stringifyBinaryExpr | ( | const DOCTEST_REF_WRAP(L) | lhs, |
const char * | op, | ||
const DOCTEST_REF_WRAP(R) | rhs ) |
Definition at line 1355 of file doctest.h.
References DOCTEST_STRINGIFY, and stringifyBinaryExpr().
Referenced by binary_assert(), doctest::detail::ResultBuilder::binary_assert(), and stringifyBinaryExpr().
DOCTEST_INTERFACE void doctest::detail::throwException | ( | ) |
References throwException().
Referenced by throwException().
DOCTEST_INTERFACE String doctest::detail::tlssPop | ( | ) |
References tlssPop().
Referenced by tlssPop(), and toStream().
DOCTEST_INTERFACE std::ostream * doctest::detail::tlssPush | ( | ) |
References tlssPush().
Referenced by tlssPush(), and toStream().
String doctest::detail::toStream | ( | const T & | in | ) |
Definition at line 1065 of file doctest.h.
References filloss(), tlssPop(), tlssPush(), and toStream().
Referenced by doctest::detail::StringMakerBase< true >::convert(), and toStream().
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 1780 of file doctest.h.
References DOCTEST_ASSERT_IN_TESTS, DOCTEST_ASSERT_OUT_OF_TESTS, DOCTEST_STRINGIFY, and unary_assert().
Referenced by unary_assert().
struct DOCTEST_INTERFACE doctest::detail::TestCase |