|
#define | DOCTEST_VERSION_MAJOR 1 |
|
#define | DOCTEST_VERSION_MINOR 2 |
|
#define | DOCTEST_VERSION_PATCH 9 |
|
#define | DOCTEST_VERSION_STR "1.2.9" |
|
#define | DOCTEST_VERSION (DOCTEST_VERSION_MAJOR * 10000 + DOCTEST_VERSION_MINOR * 100 + DOCTEST_VERSION_PATCH) |
|
#define | DOCTEST_COMPILER(MAJOR, MINOR, PATCH) ((MAJOR)*10000000 + (MINOR)*100000 + (PATCH)) |
|
#define | DOCTEST_MSVC 0 |
|
#define | DOCTEST_CLANG 0 |
|
#define | DOCTEST_GCC 0 |
|
#define | DOCTEST_CLANG_HAS_WARNING(x) 1 |
|
#define | DOCTEST_CLANG_HAS_FEATURE(x) 0 |
|
#define | DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_BEGIN |
|
#define | DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END DOCTEST_MSVC_SUPPRESS_WARNING_POP |
|
#define | DOCTEST_CONFIG_POSIX_SIGNALS |
|
#define | DOCTEST_SYMBOL_EXPORT __attribute__((visibility("default"))) |
|
#define | DOCTEST_SYMBOL_IMPORT |
|
#define | DOCTEST_INTERFACE |
|
#define | DOCTEST_NOINLINE __attribute__((noinline)) |
|
#define | DOCTEST_UNUSED __attribute__((unused)) |
|
#define | DOCTEST_ALIGNMENT(x) __attribute__((aligned(x))) |
|
#define | DOCTEST_CONFIG_NUM_CAPTURES_ON_STACK 5 |
|
#define | DOCTEST_CAT_IMPL(s1, s2) s1##s2 |
|
#define | DOCTEST_CAT(s1, s2) DOCTEST_CAT_IMPL(s1, s2) |
|
#define | DOCTEST_ANONYMOUS(x) DOCTEST_CAT(x, __LINE__) |
|
#define | DOCTEST_TOSTR_IMPL(...) #__VA_ARGS__ |
|
#define | DOCTEST_TOSTR(...) DOCTEST_TOSTR_IMPL(__VA_ARGS__) |
|
#define | DOCTEST_REF_WRAP(x) x& |
|
#define | DOCTEST_PLATFORM_LINUX |
|
#define | DOCTEST_DELETE_COPIES(type) type(const type&) = delete; type& operator=(const type&) = delete |
|
#define | DOCTEST_DECLARE_COPIES(type) type(const type&); type& operator=(const type&) |
|
#define | DOCTEST_DEFINE_COPIES(type) type::type(const type&) = default; type& type::operator=(const type&) = default |
|
#define | DOCTEST_DECLARE_DEFAULTS(type) type(); ~type() |
|
#define | DOCTEST_DEFINE_DEFAULTS(type) type::type() = default; type::~type() = default |
|
#define | DOCTEST_GLOBAL_NO_WARNINGS(var) DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH("-Wglobal-constructors") static int var DOCTEST_UNUSED |
|
#define | DOCTEST_GLOBAL_NO_WARNINGS_END() DOCTEST_CLANG_SUPPRESS_WARNING_POP |
|
#define | DOCTEST_BREAK_INTO_DEBUGGER() ((void)0) |
|
#define | DOCTEST_DO_BINARY_EXPRESSION_COMPARISON(op, op_str, op_macro) |
|
#define | DOCTEST_FORBIT_EXPRESSION(rt, op) |
|
#define | DOCTEST_COMPARISON_RETURN_TYPE bool |
|
#define | DOCTEST_RELATIONAL_OP(name, op) |
|
#define | DOCTEST_CMP_EQ(l, r) l == r |
|
#define | DOCTEST_CMP_NE(l, r) l != r |
|
#define | DOCTEST_CMP_GT(l, r) l > r |
|
#define | DOCTEST_CMP_LT(l, r) l < r |
|
#define | DOCTEST_CMP_GE(l, r) l >= r |
|
#define | DOCTEST_CMP_LE(l, r) l <= r |
|
#define | DOCTEST_BINARY_RELATIONAL_OP(n, op) template <class L, class R> struct RelationalComparator<n, L, R> { bool operator()(const DOCTEST_REF_WRAP(L) lhs, const DOCTEST_REF_WRAP(R) rhs) const { return op(lhs, rhs); } }; |
|
#define | DOCTEST_DEFINE_DECORATOR(name, type, def) |
|
#define | DOCTEST_EXPAND_VA_ARGS(...) __VA_ARGS__ |
|
#define | DOCTEST_ASSERT_LOG_AND_REACT(b) |
|
#define | DOCTEST_WRAP_IN_TRY(x) |
|
#define | DOCTEST_REGISTER_FUNCTION(f, decorators) |
|
#define | DOCTEST_IMPLEMENT_FIXTURE(der, base, func, decorators) |
|
#define | DOCTEST_CREATE_AND_REGISTER_FUNCTION(f, decorators) |
|
#define | DOCTEST_TEST_CASE(decorators) DOCTEST_CREATE_AND_REGISTER_FUNCTION(DOCTEST_ANONYMOUS(_DOCTEST_ANON_FUNC_), decorators) |
|
#define | DOCTEST_TEST_CASE_FIXTURE(c, decorators) |
|
#define | DOCTEST_TYPE_TO_STRING_IMPL(...) |
|
#define | DOCTEST_TYPE_TO_STRING(...) |
|
#define | DOCTEST_REGISTER_TYPED_TEST_CASE_IMPL(func, type, decorators, idx) |
|
#define | DOCTEST_TEST_CASE_TEMPLATE_DEFINE_IMPL(dec, T, id, anon) |
|
#define | DOCTEST_TEST_CASE_TEMPLATE_DEFINE_IMPL_PROXY(dec, T, id, anon) |
|
#define | DOCTEST_TEST_CASE_TEMPLATE_DEFINE(dec, T, id) DOCTEST_TEST_CASE_TEMPLATE_DEFINE_IMPL_PROXY(dec, T, id, DOCTEST_ANONYMOUS(_DOCTEST_ANON_TMP_)) |
|
#define | DOCTEST_TEST_CASE_TEMPLATE_INSTANTIATE_IMPL(id, anon, ...) |
|
#define | DOCTEST_TEST_CASE_TEMPLATE_INSTANTIATE(id, ...) |
|
#define | DOCTEST_TEST_CASE_TEMPLATE_IMPL(dec, T, anon, ...) |
|
#define | DOCTEST_TEST_CASE_TEMPLATE(dec, T, ...) DOCTEST_TEST_CASE_TEMPLATE_IMPL(dec, T, DOCTEST_ANONYMOUS(_DOCTEST_ANON_TMP_), __VA_ARGS__) |
|
#define | DOCTEST_SUBCASE(name) |
|
#define | DOCTEST_TEST_SUITE_IMPL(decorators, ns_name) |
|
#define | DOCTEST_TEST_SUITE(decorators) DOCTEST_TEST_SUITE_IMPL(decorators, DOCTEST_ANONYMOUS(_DOCTEST_ANON_SUITE_)) |
|
#define | DOCTEST_TEST_SUITE_BEGIN(decorators) |
|
#define | DOCTEST_TEST_SUITE_END |
|
#define | DOCTEST_REGISTER_EXCEPTION_TRANSLATOR_IMPL(translatorName, signature) |
|
#define | DOCTEST_REGISTER_EXCEPTION_TRANSLATOR(signature) |
|
#define | DOCTEST_REGISTER_REPORTER(name, priority, reporter) |
|
#define | DOCTEST_INFO(x) |
|
#define | DOCTEST_CAPTURE(x) DOCTEST_INFO(#x " := " << x) |
|
#define | DOCTEST_ADD_AT_IMPL(type, file, line, mb, x) |
|
#define | DOCTEST_ADD_MESSAGE_AT(file, line, x) DOCTEST_ADD_AT_IMPL(is_warn, file, line, DOCTEST_ANONYMOUS(_DOCTEST_MESSAGE_), x) |
|
#define | DOCTEST_ADD_FAIL_CHECK_AT(file, line, x) DOCTEST_ADD_AT_IMPL(is_check, file, line, DOCTEST_ANONYMOUS(_DOCTEST_MESSAGE_), x) |
|
#define | DOCTEST_ADD_FAIL_AT(file, line, x) DOCTEST_ADD_AT_IMPL(is_require, file, line, DOCTEST_ANONYMOUS(_DOCTEST_MESSAGE_), x) |
|
#define | DOCTEST_MESSAGE(x) DOCTEST_ADD_MESSAGE_AT(__FILE__, __LINE__, x) |
|
#define | DOCTEST_FAIL_CHECK(x) DOCTEST_ADD_FAIL_CHECK_AT(__FILE__, __LINE__, x) |
|
#define | DOCTEST_FAIL(x) DOCTEST_ADD_FAIL_AT(__FILE__, __LINE__, x) |
|
#define | DOCTEST_TO_LVALUE(...) TO_LVALUE_CAN_BE_USED_ONLY_IN_CPP14_MODE_OR_WITH_VS_2017_OR_NEWER |
|
#define | DOCTEST_ASSERT_IMPLEMENT_2(assert_type, ...) |
|
#define | DOCTEST_ASSERT_IMPLEMENT_1(assert_type, ...) |
|
#define | DOCTEST_WARN(...) DOCTEST_ASSERT_IMPLEMENT_1(DT_WARN, __VA_ARGS__) |
|
#define | DOCTEST_CHECK(...) DOCTEST_ASSERT_IMPLEMENT_1(DT_CHECK, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE(...) DOCTEST_ASSERT_IMPLEMENT_1(DT_REQUIRE, __VA_ARGS__) |
|
#define | DOCTEST_WARN_FALSE(...) DOCTEST_ASSERT_IMPLEMENT_1(DT_WARN_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_FALSE(...) DOCTEST_ASSERT_IMPLEMENT_1(DT_CHECK_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_FALSE(...) DOCTEST_ASSERT_IMPLEMENT_1(DT_REQUIRE_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_WARN_MESSAGE(cond, msg) do { DOCTEST_INFO(msg); DOCTEST_ASSERT_IMPLEMENT_2(DT_WARN, cond); } while((void)0, 0) |
|
#define | DOCTEST_CHECK_MESSAGE(cond, msg) do { DOCTEST_INFO(msg); DOCTEST_ASSERT_IMPLEMENT_2(DT_CHECK, cond); } while((void)0, 0) |
|
#define | DOCTEST_REQUIRE_MESSAGE(cond, msg) do { DOCTEST_INFO(msg); DOCTEST_ASSERT_IMPLEMENT_2(DT_REQUIRE, cond); } while((void)0, 0) |
|
#define | DOCTEST_WARN_FALSE_MESSAGE(cond, msg) do { DOCTEST_INFO(msg); DOCTEST_ASSERT_IMPLEMENT_2(DT_WARN_FALSE, cond); } while((void)0, 0) |
|
#define | DOCTEST_CHECK_FALSE_MESSAGE(cond, msg) do { DOCTEST_INFO(msg); DOCTEST_ASSERT_IMPLEMENT_2(DT_CHECK_FALSE, cond); } while((void)0, 0) |
|
#define | DOCTEST_REQUIRE_FALSE_MESSAGE(cond, msg) do { DOCTEST_INFO(msg); DOCTEST_ASSERT_IMPLEMENT_2(DT_REQUIRE_FALSE, cond); } while((void)0, 0) |
|
#define | DOCTEST_ASSERT_THROWS(expr, assert_type) |
|
#define | DOCTEST_ASSERT_THROWS_AS(expr, assert_type, ...) |
|
#define | DOCTEST_ASSERT_NOTHROW(expr, assert_type) |
|
#define | DOCTEST_WARN_THROWS(expr) DOCTEST_ASSERT_THROWS(expr, DT_WARN_THROWS) |
|
#define | DOCTEST_CHECK_THROWS(expr) DOCTEST_ASSERT_THROWS(expr, DT_CHECK_THROWS) |
|
#define | DOCTEST_REQUIRE_THROWS(expr) DOCTEST_ASSERT_THROWS(expr, DT_REQUIRE_THROWS) |
|
#define | DOCTEST_WARN_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_WARN_THROWS_AS, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_REQUIRE_THROWS_AS, __VA_ARGS__) |
|
#define | DOCTEST_WARN_NOTHROW(expr) DOCTEST_ASSERT_NOTHROW(expr, DT_WARN_NOTHROW) |
|
#define | DOCTEST_CHECK_NOTHROW(expr) DOCTEST_ASSERT_NOTHROW(expr, DT_CHECK_NOTHROW) |
|
#define | DOCTEST_REQUIRE_NOTHROW(expr) DOCTEST_ASSERT_NOTHROW(expr, DT_REQUIRE_NOTHROW) |
|
#define | DOCTEST_WARN_THROWS_MESSAGE(expr, msg) do { DOCTEST_INFO(msg); DOCTEST_WARN_THROWS(expr); } while((void)0, 0) |
|
#define | DOCTEST_CHECK_THROWS_MESSAGE(expr, msg) do { DOCTEST_INFO(msg); DOCTEST_CHECK_THROWS(expr); } while((void)0, 0) |
|
#define | DOCTEST_REQUIRE_THROWS_MESSAGE(expr, msg) do { DOCTEST_INFO(msg); DOCTEST_REQUIRE_THROWS(expr); } while((void)0, 0) |
|
#define | DOCTEST_WARN_THROWS_AS_MESSAGE(expr, ex, msg) do { DOCTEST_INFO(msg); DOCTEST_WARN_THROWS_AS(expr, ex); } while((void)0, 0) |
|
#define | DOCTEST_CHECK_THROWS_AS_MESSAGE(expr, ex, msg) do { DOCTEST_INFO(msg); DOCTEST_CHECK_THROWS_AS(expr, ex); } while((void)0, 0) |
|
#define | DOCTEST_REQUIRE_THROWS_AS_MESSAGE(expr, ex, msg) do { DOCTEST_INFO(msg); DOCTEST_REQUIRE_THROWS_AS(expr, ex); } while((void)0, 0) |
|
#define | DOCTEST_WARN_NOTHROW_MESSAGE(expr, msg) do { DOCTEST_INFO(msg); DOCTEST_WARN_NOTHROW(expr); } while((void)0, 0) |
|
#define | DOCTEST_CHECK_NOTHROW_MESSAGE(expr, msg) do { DOCTEST_INFO(msg); DOCTEST_CHECK_NOTHROW(expr); } while((void)0, 0) |
|
#define | DOCTEST_REQUIRE_NOTHROW_MESSAGE(expr, msg) do { DOCTEST_INFO(msg); DOCTEST_REQUIRE_NOTHROW(expr); } while((void)0, 0) |
|
#define | DOCTEST_BINARY_ASSERT(assert_type, comp, ...) |
|
#define | DOCTEST_UNARY_ASSERT(assert_type, ...) |
|
#define | DOCTEST_WARN_EQ(...) DOCTEST_BINARY_ASSERT(DT_WARN_EQ, eq, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_EQ(...) DOCTEST_BINARY_ASSERT(DT_CHECK_EQ, eq, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_EQ(...) DOCTEST_BINARY_ASSERT(DT_REQUIRE_EQ, eq, __VA_ARGS__) |
|
#define | DOCTEST_WARN_NE(...) DOCTEST_BINARY_ASSERT(DT_WARN_NE, ne, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_NE(...) DOCTEST_BINARY_ASSERT(DT_CHECK_NE, ne, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_NE(...) DOCTEST_BINARY_ASSERT(DT_REQUIRE_NE, ne, __VA_ARGS__) |
|
#define | DOCTEST_WARN_GT(...) DOCTEST_BINARY_ASSERT(DT_WARN_GT, gt, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_GT(...) DOCTEST_BINARY_ASSERT(DT_CHECK_GT, gt, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_GT(...) DOCTEST_BINARY_ASSERT(DT_REQUIRE_GT, gt, __VA_ARGS__) |
|
#define | DOCTEST_WARN_LT(...) DOCTEST_BINARY_ASSERT(DT_WARN_LT, lt, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_LT(...) DOCTEST_BINARY_ASSERT(DT_CHECK_LT, lt, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_LT(...) DOCTEST_BINARY_ASSERT(DT_REQUIRE_LT, lt, __VA_ARGS__) |
|
#define | DOCTEST_WARN_GE(...) DOCTEST_BINARY_ASSERT(DT_WARN_GE, ge, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_GE(...) DOCTEST_BINARY_ASSERT(DT_CHECK_GE, ge, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_GE(...) DOCTEST_BINARY_ASSERT(DT_REQUIRE_GE, ge, __VA_ARGS__) |
|
#define | DOCTEST_WARN_LE(...) DOCTEST_BINARY_ASSERT(DT_WARN_LE, le, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_LE(...) DOCTEST_BINARY_ASSERT(DT_CHECK_LE, le, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_LE(...) DOCTEST_BINARY_ASSERT(DT_REQUIRE_LE, le, __VA_ARGS__) |
|
#define | DOCTEST_WARN_UNARY(...) DOCTEST_UNARY_ASSERT(DT_WARN_UNARY, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_UNARY(...) DOCTEST_UNARY_ASSERT(DT_CHECK_UNARY, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_UNARY(...) DOCTEST_UNARY_ASSERT(DT_REQUIRE_UNARY, __VA_ARGS__) |
|
#define | DOCTEST_WARN_UNARY_FALSE(...) DOCTEST_UNARY_ASSERT(DT_WARN_UNARY_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_CHECK_UNARY_FALSE(...) DOCTEST_UNARY_ASSERT(DT_CHECK_UNARY_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_REQUIRE_UNARY_FALSE(...) DOCTEST_UNARY_ASSERT(DT_REQUIRE_UNARY_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_FAST_BINARY_ASSERT(assert_type, comparison, ...) |
|
#define | DOCTEST_FAST_UNARY_ASSERT(assert_type, ...) |
|
#define | DOCTEST_FAST_WARN_EQ(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_WARN_EQ, eq, __VA_ARGS__) |
|
#define | DOCTEST_FAST_CHECK_EQ(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_CHECK_EQ, eq, __VA_ARGS__) |
|
#define | DOCTEST_FAST_REQUIRE_EQ(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_REQUIRE_EQ, eq, __VA_ARGS__) |
|
#define | DOCTEST_FAST_WARN_NE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_WARN_NE, ne, __VA_ARGS__) |
|
#define | DOCTEST_FAST_CHECK_NE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_CHECK_NE, ne, __VA_ARGS__) |
|
#define | DOCTEST_FAST_REQUIRE_NE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_REQUIRE_NE, ne, __VA_ARGS__) |
|
#define | DOCTEST_FAST_WARN_GT(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_WARN_GT, gt, __VA_ARGS__) |
|
#define | DOCTEST_FAST_CHECK_GT(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_CHECK_GT, gt, __VA_ARGS__) |
|
#define | DOCTEST_FAST_REQUIRE_GT(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_REQUIRE_GT, gt, __VA_ARGS__) |
|
#define | DOCTEST_FAST_WARN_LT(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_WARN_LT, lt, __VA_ARGS__) |
|
#define | DOCTEST_FAST_CHECK_LT(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_CHECK_LT, lt, __VA_ARGS__) |
|
#define | DOCTEST_FAST_REQUIRE_LT(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_REQUIRE_LT, lt, __VA_ARGS__) |
|
#define | DOCTEST_FAST_WARN_GE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_WARN_GE, ge, __VA_ARGS__) |
|
#define | DOCTEST_FAST_CHECK_GE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_CHECK_GE, ge, __VA_ARGS__) |
|
#define | DOCTEST_FAST_REQUIRE_GE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_REQUIRE_GE, ge, __VA_ARGS__) |
|
#define | DOCTEST_FAST_WARN_LE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_WARN_LE, le, __VA_ARGS__) |
|
#define | DOCTEST_FAST_CHECK_LE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_CHECK_LE, le, __VA_ARGS__) |
|
#define | DOCTEST_FAST_REQUIRE_LE(...) DOCTEST_FAST_BINARY_ASSERT(DT_FAST_REQUIRE_LE, le, __VA_ARGS__) |
|
#define | DOCTEST_FAST_WARN_UNARY(...) DOCTEST_FAST_UNARY_ASSERT(DT_FAST_WARN_UNARY, __VA_ARGS__) |
|
#define | DOCTEST_FAST_CHECK_UNARY(...) DOCTEST_FAST_UNARY_ASSERT(DT_FAST_CHECK_UNARY, __VA_ARGS__) |
|
#define | DOCTEST_FAST_REQUIRE_UNARY(...) DOCTEST_FAST_UNARY_ASSERT(DT_FAST_REQUIRE_UNARY, __VA_ARGS__) |
|
#define | DOCTEST_FAST_WARN_UNARY_FALSE(...) DOCTEST_FAST_UNARY_ASSERT(DT_FAST_WARN_UNARY_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_FAST_CHECK_UNARY_FALSE(...) DOCTEST_FAST_UNARY_ASSERT(DT_FAST_CHECK_UNARY_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_FAST_REQUIRE_UNARY_FALSE(...) DOCTEST_FAST_UNARY_ASSERT(DT_FAST_REQUIRE_UNARY_FALSE, __VA_ARGS__) |
|
#define | DOCTEST_SCENARIO(name) DOCTEST_TEST_CASE(" Scenario: " name) |
|
#define | DOCTEST_SCENARIO_TEMPLATE(name, T, ...) DOCTEST_TEST_CASE_TEMPLATE(" Scenario: " name, T, __VA_ARGS__) |
|
#define | DOCTEST_SCENARIO_TEMPLATE_DEFINE(name, T, id) DOCTEST_TEST_CASE_TEMPLATE_DEFINE(" Scenario: " name, T, id) |
|
#define | DOCTEST_GIVEN(name) SUBCASE(" Given: " name) |
|
#define | DOCTEST_WHEN(name) SUBCASE(" When: " name) |
|
#define | DOCTEST_AND_WHEN(name) SUBCASE("And when: " name) |
|
#define | DOCTEST_THEN(name) SUBCASE(" Then: " name) |
|
#define | DOCTEST_AND_THEN(name) SUBCASE(" And: " name) |
|
#define | TEST_CASE DOCTEST_TEST_CASE |
|
#define | TEST_CASE_FIXTURE DOCTEST_TEST_CASE_FIXTURE |
|
#define | TYPE_TO_STRING DOCTEST_TYPE_TO_STRING |
|
#define | TEST_CASE_TEMPLATE DOCTEST_TEST_CASE_TEMPLATE |
|
#define | TEST_CASE_TEMPLATE_DEFINE DOCTEST_TEST_CASE_TEMPLATE_DEFINE |
|
#define | TEST_CASE_TEMPLATE_INSTANTIATE DOCTEST_TEST_CASE_TEMPLATE_INSTANTIATE |
|
#define | SUBCASE DOCTEST_SUBCASE |
|
#define | TEST_SUITE DOCTEST_TEST_SUITE |
|
#define | TEST_SUITE_BEGIN DOCTEST_TEST_SUITE_BEGIN |
|
#define | TEST_SUITE_END DOCTEST_TEST_SUITE_END |
|
#define | REGISTER_EXCEPTION_TRANSLATOR DOCTEST_REGISTER_EXCEPTION_TRANSLATOR |
|
#define | REGISTER_REPORTER DOCTEST_REGISTER_REPORTER |
|
#define | INFO DOCTEST_INFO |
|
#define | CAPTURE DOCTEST_CAPTURE |
|
#define | ADD_MESSAGE_AT DOCTEST_ADD_MESSAGE_AT |
|
#define | ADD_FAIL_CHECK_AT DOCTEST_ADD_FAIL_CHECK_AT |
|
#define | ADD_FAIL_AT DOCTEST_ADD_FAIL_AT |
|
#define | MESSAGE DOCTEST_MESSAGE |
|
#define | FAIL_CHECK DOCTEST_FAIL_CHECK |
|
#define | FAIL DOCTEST_FAIL |
|
#define | TO_LVALUE DOCTEST_TO_LVALUE |
|
#define | WARN DOCTEST_WARN |
|
#define | WARN_FALSE DOCTEST_WARN_FALSE |
|
#define | WARN_THROWS DOCTEST_WARN_THROWS |
|
#define | WARN_THROWS_AS DOCTEST_WARN_THROWS_AS |
|
#define | WARN_NOTHROW DOCTEST_WARN_NOTHROW |
|
#define | CHECK DOCTEST_CHECK |
|
#define | CHECK_FALSE DOCTEST_CHECK_FALSE |
|
#define | CHECK_THROWS DOCTEST_CHECK_THROWS |
|
#define | CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS |
|
#define | CHECK_NOTHROW DOCTEST_CHECK_NOTHROW |
|
#define | REQUIRE DOCTEST_REQUIRE |
|
#define | REQUIRE_FALSE DOCTEST_REQUIRE_FALSE |
|
#define | REQUIRE_THROWS DOCTEST_REQUIRE_THROWS |
|
#define | REQUIRE_THROWS_AS DOCTEST_REQUIRE_THROWS_AS |
|
#define | REQUIRE_NOTHROW DOCTEST_REQUIRE_NOTHROW |
|
#define | WARN_MESSAGE DOCTEST_WARN_MESSAGE |
|
#define | WARN_FALSE_MESSAGE DOCTEST_WARN_FALSE_MESSAGE |
|
#define | WARN_THROWS_MESSAGE DOCTEST_WARN_THROWS_MESSAGE |
|
#define | WARN_THROWS_AS_MESSAGE DOCTEST_WARN_THROWS_AS_MESSAGE |
|
#define | WARN_NOTHROW_MESSAGE DOCTEST_WARN_NOTHROW_MESSAGE |
|
#define | CHECK_MESSAGE DOCTEST_CHECK_MESSAGE |
|
#define | CHECK_FALSE_MESSAGE DOCTEST_CHECK_FALSE_MESSAGE |
|
#define | CHECK_THROWS_MESSAGE DOCTEST_CHECK_THROWS_MESSAGE |
|
#define | CHECK_THROWS_AS_MESSAGE DOCTEST_CHECK_THROWS_AS_MESSAGE |
|
#define | CHECK_NOTHROW_MESSAGE DOCTEST_CHECK_NOTHROW_MESSAGE |
|
#define | REQUIRE_MESSAGE DOCTEST_REQUIRE_MESSAGE |
|
#define | REQUIRE_FALSE_MESSAGE DOCTEST_REQUIRE_FALSE_MESSAGE |
|
#define | REQUIRE_THROWS_MESSAGE DOCTEST_REQUIRE_THROWS_MESSAGE |
|
#define | REQUIRE_THROWS_AS_MESSAGE DOCTEST_REQUIRE_THROWS_AS_MESSAGE |
|
#define | REQUIRE_NOTHROW_MESSAGE DOCTEST_REQUIRE_NOTHROW_MESSAGE |
|
#define | SCENARIO DOCTEST_SCENARIO |
|
#define | SCENARIO_TEMPLATE DOCTEST_SCENARIO_TEMPLATE |
|
#define | SCENARIO_TEMPLATE_DEFINE DOCTEST_SCENARIO_TEMPLATE_DEFINE |
|
#define | GIVEN DOCTEST_GIVEN |
|
#define | WHEN DOCTEST_WHEN |
|
#define | AND_WHEN DOCTEST_AND_WHEN |
|
#define | THEN DOCTEST_THEN |
|
#define | AND_THEN DOCTEST_AND_THEN |
|
#define | WARN_EQ DOCTEST_WARN_EQ |
|
#define | CHECK_EQ DOCTEST_CHECK_EQ |
|
#define | REQUIRE_EQ DOCTEST_REQUIRE_EQ |
|
#define | WARN_NE DOCTEST_WARN_NE |
|
#define | CHECK_NE DOCTEST_CHECK_NE |
|
#define | REQUIRE_NE DOCTEST_REQUIRE_NE |
|
#define | WARN_GT DOCTEST_WARN_GT |
|
#define | CHECK_GT DOCTEST_CHECK_GT |
|
#define | REQUIRE_GT DOCTEST_REQUIRE_GT |
|
#define | WARN_LT DOCTEST_WARN_LT |
|
#define | CHECK_LT DOCTEST_CHECK_LT |
|
#define | REQUIRE_LT DOCTEST_REQUIRE_LT |
|
#define | WARN_GE DOCTEST_WARN_GE |
|
#define | CHECK_GE DOCTEST_CHECK_GE |
|
#define | REQUIRE_GE DOCTEST_REQUIRE_GE |
|
#define | WARN_LE DOCTEST_WARN_LE |
|
#define | CHECK_LE DOCTEST_CHECK_LE |
|
#define | REQUIRE_LE DOCTEST_REQUIRE_LE |
|
#define | WARN_UNARY DOCTEST_WARN_UNARY |
|
#define | CHECK_UNARY DOCTEST_CHECK_UNARY |
|
#define | REQUIRE_UNARY DOCTEST_REQUIRE_UNARY |
|
#define | WARN_UNARY_FALSE DOCTEST_WARN_UNARY_FALSE |
|
#define | CHECK_UNARY_FALSE DOCTEST_CHECK_UNARY_FALSE |
|
#define | REQUIRE_UNARY_FALSE DOCTEST_REQUIRE_UNARY_FALSE |
|
#define | FAST_WARN_EQ DOCTEST_FAST_WARN_EQ |
|
#define | FAST_CHECK_EQ DOCTEST_FAST_CHECK_EQ |
|
#define | FAST_REQUIRE_EQ DOCTEST_FAST_REQUIRE_EQ |
|
#define | FAST_WARN_NE DOCTEST_FAST_WARN_NE |
|
#define | FAST_CHECK_NE DOCTEST_FAST_CHECK_NE |
|
#define | FAST_REQUIRE_NE DOCTEST_FAST_REQUIRE_NE |
|
#define | FAST_WARN_GT DOCTEST_FAST_WARN_GT |
|
#define | FAST_CHECK_GT DOCTEST_FAST_CHECK_GT |
|
#define | FAST_REQUIRE_GT DOCTEST_FAST_REQUIRE_GT |
|
#define | FAST_WARN_LT DOCTEST_FAST_WARN_LT |
|
#define | FAST_CHECK_LT DOCTEST_FAST_CHECK_LT |
|
#define | FAST_REQUIRE_LT DOCTEST_FAST_REQUIRE_LT |
|
#define | FAST_WARN_GE DOCTEST_FAST_WARN_GE |
|
#define | FAST_CHECK_GE DOCTEST_FAST_CHECK_GE |
|
#define | FAST_REQUIRE_GE DOCTEST_FAST_REQUIRE_GE |
|
#define | FAST_WARN_LE DOCTEST_FAST_WARN_LE |
|
#define | FAST_CHECK_LE DOCTEST_FAST_CHECK_LE |
|
#define | FAST_REQUIRE_LE DOCTEST_FAST_REQUIRE_LE |
|
#define | FAST_WARN_UNARY DOCTEST_FAST_WARN_UNARY |
|
#define | FAST_CHECK_UNARY DOCTEST_FAST_CHECK_UNARY |
|
#define | FAST_REQUIRE_UNARY DOCTEST_FAST_REQUIRE_UNARY |
|
#define | FAST_WARN_UNARY_FALSE DOCTEST_FAST_WARN_UNARY_FALSE |
|
#define | FAST_CHECK_UNARY_FALSE DOCTEST_FAST_CHECK_UNARY_FALSE |
|
#define | FAST_REQUIRE_UNARY_FALSE DOCTEST_FAST_REQUIRE_UNARY_FALSE |
|
#define | DOCTEST_SINGLE_HEADER |
|
|
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH | DOCTEST_CLANG_SUPPRESS_WARNING ("-Wunknown-pragmas") DOCTEST_CLANG_SUPPRESS_WARNING("-Wnon-virtual-dtor") DOCTEST_CLANG_SUPPRESS_WARNING("-Wweak-vtables") DOCTEST_CLANG_SUPPRESS_WARNING("-Wpadded") DOCTEST_CLANG_SUPPRESS_WARNING("-Wdeprecated") DOCTEST_CLANG_SUPPRESS_WARNING("-Wmissing-prototypes") DOCTEST_CLANG_SUPPRESS_WARNING("-Wunused-local-typedef") DOCTEST_CLANG_SUPPRESS_WARNING("-Wc++11-long-long") DOCTEST_CLANG_SUPPRESS_WARNING("-Wc++98-compat") DOCTEST_CLANG_SUPPRESS_WARNING("-Wc++98-compat-pedantic") DOCTEST_GCC_SUPPRESS_WARNING_PUSH DOCTEST_GCC_SUPPRESS_WARNING("-Wunknown-pragmas") DOCTEST_GCC_SUPPRESS_WARNING("-Wpragmas") DOCTEST_GCC_SUPPRESS_WARNING("-Weffc++") DOCTEST_GCC_SUPPRESS_WARNING("-Wstrict-overflow") DOCTEST_GCC_SUPPRESS_WARNING("-Wstrict-aliasing") DOCTEST_GCC_SUPPRESS_WARNING("-Wctor-dtor-privacy") DOCTEST_GCC_SUPPRESS_WARNING("-Wmissing-declarations") DOCTEST_GCC_SUPPRESS_WARNING("-Wnon-virtual-dtor") DOCTEST_GCC_SUPPRESS_WARNING("-Winline") DOCTEST_GCC_SUPPRESS_WARNING("-Wlong-long") DOCTEST_GCC_SUPPRESS_WARNING("-Wzero-as-null-pointer-constant") DOCTEST_GCC_SUPPRESS_WARNING("-Wunused-local-typedefs") DOCTEST_GCC_SUPPRESS_WARNING("-Wuseless-cast") DOCTEST_MSVC_SUPPRESS_WARNING_PUSH DOCTEST_MSVC_SUPPRESS_WARNING(4616) DOCTEST_MSVC_SUPPRESS_WARNING(4619) DOCTEST_MSVC_SUPPRESS_WARNING(4996) DOCTEST_MSVC_SUPPRESS_WARNING(4706) DOCTEST_MSVC_SUPPRESS_WARNING(4512) DOCTEST_MSVC_SUPPRESS_WARNING(4127) DOCTEST_MSVC_SUPPRESS_WARNING(4820) DOCTEST_MSVC_SUPPRESS_WARNING(4625) DOCTEST_MSVC_SUPPRESS_WARNING(4626) DOCTEST_MSVC_SUPPRESS_WARNING(5027) DOCTEST_MSVC_SUPPRESS_WARNING(5026) DOCTEST_MSVC_SUPPRESS_WARNING(4623) DOCTEST_MSVC_SUPPRESS_WARNING(4640) DOCTEST_MSVC_SUPPRESS_WARNING(26439) DOCTEST_MSVC_SUPPRESS_WARNING(26495) DOCTEST_MSVC_SUPPRESS_WARNING(26451) DOCTEST_MSVC_SUPPRESS_WARNING(26444) namespace std |
|
bool | doctest::operator== (const String &lhs, const String &rhs) |
|
bool | doctest::operator!= (const String &lhs, const String &rhs) |
|
bool | doctest::operator< (const String &lhs, const String &rhs) |
|
bool | doctest::operator> (const String &lhs, const String &rhs) |
|
bool | doctest::operator<= (const String &lhs, const String &rhs) |
|
bool | doctest::operator>= (const String &lhs, const String &rhs) |
|
std::ostream & | doctest::operator<< (std::ostream &s, const String &in) |
|
std::ostream & | doctest::Color::operator<< (std::ostream &s, Color::Enum code) |
|
const char * | doctest::assertString (assertType::Enum at) |
|
void * | doctest::detail::getNull () |
|
yes & | doctest::detail::has_insertion_operator_impl::testStreamable (std::ostream &) |
|
no | doctest::detail::has_insertion_operator_impl::testStreamable (no) |
|
no | doctest::detail::has_insertion_operator_impl::operator<< (const std::ostream &, const any_t &) |
|
void | doctest::detail::my_memcpy (void *dest, const void *src, unsigned num) |
|
std::ostream * | doctest::detail::createStream () |
|
String | doctest::detail::getStreamResult (std::ostream *) |
|
void | doctest::detail::freeStream (std::ostream *) |
|
String | doctest::detail::rawMemoryToString (const void *object, unsigned size) |
|
template<typename T > |
String | doctest::detail::rawMemoryToString (const T &object) |
|
template<typename T > |
const char * | doctest::detail::type_to_string () |
|
template<typename T > |
String | doctest::toString (const T &value) |
|
String | doctest::toString (bool in) |
|
String | doctest::toString (float in) |
|
String | doctest::toString (double in) |
|
String | doctest::toString (double long in) |
|
String | doctest::toString (char in) |
|
String | doctest::toString (char signed in) |
|
String | doctest::toString (char unsigned in) |
|
String | doctest::toString (int short in) |
|
String | doctest::toString (int short unsigned in) |
|
String | doctest::toString (int in) |
|
String | doctest::toString (int unsigned in) |
|
String | doctest::toString (int long in) |
|
String | doctest::toString (int long unsigned in) |
|
String | doctest::toString (int long long in) |
|
String | doctest::toString (int long long unsigned in) |
|
String | doctest::toString (std::nullptr_t in) |
|
String | doctest::toString (const Approx &in) |
|
bool | doctest::detail::checkIfShouldThrow (assertType::Enum at) |
|
void | doctest::detail::fastAssertThrowIfFlagSet (int flags) |
|
const ContextOptions * | doctest::detail::getContextOptions () |
|
template<typename L , typename R > |
String | doctest::detail::stringifyBinaryExpr (const L &lhs, const char *op, const R &rhs) |
|
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH | doctest::detail::DOCTEST_CLANG_SUPPRESS_WARNING ("-Wsign-conversion") DOCTEST_CLANG_SUPPRESS_WARNING("-Wsign-compare") DOCTEST_GCC_SUPPRESS_WARNING_PUSH DOCTEST_GCC_SUPPRESS_WARNING("-Wsign-conversion") DOCTEST_GCC_SUPPRESS_WARNING("-Wsign-compare") DOCTEST_MSVC_SUPPRESS_WARNING_PUSH DOCTEST_MSVC_SUPPRESS_WARNING(4388) DOCTEST_MSVC_SUPPRESS_WARNING(4389) DOCTEST_MSVC_SUPPRESS_WARNING(4018) template< typename L |
|
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH R bool | doctest::detail::eq (const L &lhs, const R &rhs) |
|
template<typename L , typename R > |
bool | doctest::detail::ne (const L &lhs, const R &rhs) |
|
template<typename L , typename R > |
bool | doctest::detail::lt (const L &lhs, const R &rhs) |
|
template<typename L , typename R > |
bool | doctest::detail::gt (const L &lhs, const R &rhs) |
|
template<typename L , typename R > |
bool | doctest::detail::le (const L &lhs, const R &rhs) |
|
template<typename L , typename R > |
bool | doctest::detail::ge (const L &lhs, const R &rhs) |
|
int | doctest::detail::regTest (const TestCase &tc) |
|
int | doctest::detail::setTestSuite (const TestSuite &ts) |
|
template<int comparison, typename L , typename R > |
| doctest::detail::__attribute__ ((noinline)) int fast_binary_assert(assertType |
|
template<typename L > |
| doctest::detail::__attribute__ ((noinline)) int fast_unary_assert(assertType |
|
void | doctest::detail::registerExceptionTranslatorImpl (const IExceptionTranslator *translateFunction) |
|
void | doctest::detail::writeStringToStream (std::ostream *s, const String &str) |
|
template<typename T > |
void | doctest::detail::toStream (std::ostream *s, const T &value) |
|
void | doctest::detail::toStream (std::ostream *s, bool in) |
|
void | doctest::detail::toStream (std::ostream *s, float in) |
|
void | doctest::detail::toStream (std::ostream *s, double in) |
|
void | doctest::detail::toStream (std::ostream *s, double long in) |
|
void | doctest::detail::toStream (std::ostream *s, char in) |
|
void | doctest::detail::toStream (std::ostream *s, char signed in) |
|
void | doctest::detail::toStream (std::ostream *s, char unsigned in) |
|
void | doctest::detail::toStream (std::ostream *s, int short in) |
|
void | doctest::detail::toStream (std::ostream *s, int short unsigned in) |
|
void | doctest::detail::toStream (std::ostream *s, int in) |
|
void | doctest::detail::toStream (std::ostream *s, int unsigned in) |
|
void | doctest::detail::toStream (std::ostream *s, int long in) |
|
void | doctest::detail::toStream (std::ostream *s, int long unsigned in) |
|
void | doctest::detail::toStream (std::ostream *s, int long long in) |
|
void | doctest::detail::toStream (std::ostream *s, int long long unsigned in) |
|
template<typename T > |
int | doctest::registerExceptionTranslator (String(*translateFunction)(T)) |
|
doctest::detail::TestSuite & | doctest_detail_test_suite_ns::getCurrentTestSuite () |
|
bool | doctest::isRunningInTest () |
|
int | doctest::registerReporter (const char *name, int priority, IReporter *r) |
|
| DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH ("-Wglobal-constructors") static int _DOCTEST_ANON_VAR___LINE__ __attribute__((unused)) |
|
DOCTEST_CLANG_SUPPRESS_WARNING_POP typedef int | _DOCTEST_ANON_FOR_SEMICOLON___LINE__ () |
|
template<> |
const char * | doctest::detail::type_to_string< bool > () |
|
template<> |
const char * | doctest::detail::type_to_string< float > () |
|
template<> |
const char * | doctest::detail::type_to_string< double > () |
|
template<> |
const char * | doctest::detail::type_to_string< long double > () |
|
template<> |
const char * | doctest::detail::type_to_string< char > () |
|
template<> |
const char * | doctest::detail::type_to_string< signed char > () |
|
template<> |
const char * | doctest::detail::type_to_string< unsigned char > () |
|
template<> |
const char * | doctest::detail::type_to_string< wchar_t > () |
|
template<> |
const char * | doctest::detail::type_to_string< short int > () |
|
template<> |
const char * | doctest::detail::type_to_string< unsigned short int > () |
|
template<> |
const char * | doctest::detail::type_to_string< int > () |
|
template<> |
const char * | doctest::detail::type_to_string< unsigned int > () |
|
template<> |
const char * | doctest::detail::type_to_string< long int > () |
|
template<> |
const char * | doctest::detail::type_to_string< unsigned long int > () |
|
template<> |
const char * | doctest::detail::type_to_string< long long int > () |
|
template<> |
const char * | doctest::detail::type_to_string< unsigned long long int > () |
|