blob: 396d673d19ea50b7196155bacd76ef4099e17f93 [file] [log] [blame]
onqtam4a655632016-05-26 14:20:52 +03001#ifndef DOCTEST_CONFIG_NO_SHORT_MACRO_NAMES
2#define DOCTEST_CONFIG_NO_SHORT_MACRO_NAMES
3#endif // DOCTEST_CONFIG_NO_SHORT_MACRO_NAMES
4
5// no guard for including the doctest header itself because it should support multiple inclusion
ncihnegnc5458f22019-01-28 05:08:18 -08006#include <doctest/doctest.h>
onqtam4a655632016-05-26 14:20:52 +03007
8#ifndef MY_PROXY_MACROS
9#define MY_PROXY_MACROS
10
onqtam11210ce2016-09-19 13:24:23 +030011#define my_testcase DOCTEST_TEST_CASE
onqtamc6cc9ff2019-03-15 17:22:50 +020012#define my_testcase_class DOCTEST_TEST_CASE_CLASS
onqtam11210ce2016-09-19 13:24:23 +030013#define my_testcase_fixture DOCTEST_TEST_CASE_FIXTURE
14#define my_subcase DOCTEST_SUBCASE
15#define my_testsuite DOCTEST_TEST_SUITE
onqtam658c8702017-03-14 14:08:22 +020016#define my_testsuite_begin DOCTEST_TEST_SUITE_BEGIN
onqtam11210ce2016-09-19 13:24:23 +030017#define my_testsuite_end DOCTEST_TEST_SUITE_END
18#define my_warn DOCTEST_WARN
19#define my_warn_false DOCTEST_WARN_FALSE
20#define my_warn_throws DOCTEST_WARN_THROWS
21#define my_warn_throws_as DOCTEST_WARN_THROWS_AS
onqtam0e6236a2018-11-30 16:49:58 +020022#define my_warn_throws_with DOCTEST_WARN_THROWS_WITH
onqtam5856bb92019-09-22 16:33:47 +030023#define my_warn_throws_with_as DOCTEST_WARN_THROWS_WITH_AS
onqtam11210ce2016-09-19 13:24:23 +030024#define my_warn_nothrow DOCTEST_WARN_NOTHROW
25#define my_check DOCTEST_CHECK
26#define my_check_false DOCTEST_CHECK_FALSE
27#define my_check_throws DOCTEST_CHECK_THROWS
28#define my_check_throws_as DOCTEST_CHECK_THROWS_AS
onqtam0e6236a2018-11-30 16:49:58 +020029#define my_check_throws_with DOCTEST_CHECK_THROWS_WITH
onqtam5856bb92019-09-22 16:33:47 +030030#define my_check_throws_with_as DOCTEST_CHECK_THROWS_WITH_AS
onqtam11210ce2016-09-19 13:24:23 +030031#define my_check_nothrow DOCTEST_CHECK_NOTHROW
32#define my_require DOCTEST_REQUIRE
33#define my_require_false DOCTEST_REQUIRE_FALSE
34#define my_require_throws DOCTEST_REQUIRE_THROWS
35#define my_require_throws_as DOCTEST_REQUIRE_THROWS_AS
onqtam5856bb92019-09-22 16:33:47 +030036#define my_require_throws_with_as DOCTEST_REQUIRE_THROWS_WITH_AS
onqtam11210ce2016-09-19 13:24:23 +030037#define my_require_nothrow DOCTEST_REQUIRE_NOTHROW
onqtam4a655632016-05-26 14:20:52 +030038
onqtam11210ce2016-09-19 13:24:23 +030039#define my_scenario DOCTEST_SCENARIO
40#define my_given DOCTEST_GIVEN
41#define my_when DOCTEST_WHEN
42#define my_and_when DOCTEST_AND_WHEN
43#define my_then DOCTEST_THEN
44#define my_and_then DOCTEST_AND_THEN
onqtam4a655632016-05-26 14:20:52 +030045
onqtam11210ce2016-09-19 13:24:23 +030046#define my_warn_eq DOCTEST_WARN_EQ
47#define my_check_eq DOCTEST_CHECK_EQ
48#define my_require_eq DOCTEST_REQUIRE_EQ
49#define my_warn_ne DOCTEST_WARN_NE
50#define my_check_ne DOCTEST_CHECK_NE
51#define my_require_ne DOCTEST_REQUIRE_NE
52#define my_warn_gt DOCTEST_WARN_GT
53#define my_check_gt DOCTEST_CHECK_GT
54#define my_require_gt DOCTEST_REQUIRE_GT
55#define my_warn_lt DOCTEST_WARN_LT
56#define my_check_lt DOCTEST_CHECK_LT
57#define my_require_lt DOCTEST_REQUIRE_LT
58#define my_warn_ge DOCTEST_WARN_GE
59#define my_check_ge DOCTEST_CHECK_GE
60#define my_require_ge DOCTEST_REQUIRE_GE
61#define my_warn_le DOCTEST_WARN_LE
62#define my_check_le DOCTEST_CHECK_LE
63#define my_require_le DOCTEST_REQUIRE_LE
64#define my_warn_unary DOCTEST_WARN_UNARY
65#define my_check_unary DOCTEST_CHECK_UNARY
66#define my_require_unary DOCTEST_REQUIRE_UNARY
67#define my_warn_unary_false DOCTEST_WARN_UNARY_FALSE
68#define my_check_unary_false DOCTEST_CHECK_UNARY_FALSE
69#define my_require_unary_false DOCTEST_REQUIRE_UNARY_FALSE
70
onqtam4a655632016-05-26 14:20:52 +030071#endif // MY_PROXY_MACROS