onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 1 | #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 |
| 6 | #include "doctest.h" |
| 7 | |
| 8 | #ifndef MY_PROXY_MACROS |
| 9 | #define MY_PROXY_MACROS |
| 10 | |
onqtam | 11210ce | 2016-09-19 13:24:23 +0300 | [diff] [blame] | 11 | #define my_testcase DOCTEST_TEST_CASE |
| 12 | #define my_testcase_fixture DOCTEST_TEST_CASE_FIXTURE |
| 13 | #define my_subcase DOCTEST_SUBCASE |
| 14 | #define my_testsuite DOCTEST_TEST_SUITE |
onqtam | 658c870 | 2017-03-14 14:08:22 +0200 | [diff] [blame] | 15 | #define my_testsuite_begin DOCTEST_TEST_SUITE_BEGIN |
onqtam | 11210ce | 2016-09-19 13:24:23 +0300 | [diff] [blame] | 16 | #define my_testsuite_end DOCTEST_TEST_SUITE_END |
| 17 | #define my_warn DOCTEST_WARN |
| 18 | #define my_warn_false DOCTEST_WARN_FALSE |
| 19 | #define my_warn_throws DOCTEST_WARN_THROWS |
| 20 | #define my_warn_throws_as DOCTEST_WARN_THROWS_AS |
| 21 | #define my_warn_nothrow DOCTEST_WARN_NOTHROW |
| 22 | #define my_check DOCTEST_CHECK |
| 23 | #define my_check_false DOCTEST_CHECK_FALSE |
| 24 | #define my_check_throws DOCTEST_CHECK_THROWS |
| 25 | #define my_check_throws_as DOCTEST_CHECK_THROWS_AS |
| 26 | #define my_check_nothrow DOCTEST_CHECK_NOTHROW |
| 27 | #define my_require DOCTEST_REQUIRE |
| 28 | #define my_require_false DOCTEST_REQUIRE_FALSE |
| 29 | #define my_require_throws DOCTEST_REQUIRE_THROWS |
| 30 | #define my_require_throws_as DOCTEST_REQUIRE_THROWS_AS |
| 31 | #define my_require_nothrow DOCTEST_REQUIRE_NOTHROW |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 32 | |
onqtam | 11210ce | 2016-09-19 13:24:23 +0300 | [diff] [blame] | 33 | #define my_scenario DOCTEST_SCENARIO |
| 34 | #define my_given DOCTEST_GIVEN |
| 35 | #define my_when DOCTEST_WHEN |
| 36 | #define my_and_when DOCTEST_AND_WHEN |
| 37 | #define my_then DOCTEST_THEN |
| 38 | #define my_and_then DOCTEST_AND_THEN |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 39 | |
onqtam | 11210ce | 2016-09-19 13:24:23 +0300 | [diff] [blame] | 40 | #define my_warn_eq DOCTEST_WARN_EQ |
| 41 | #define my_check_eq DOCTEST_CHECK_EQ |
| 42 | #define my_require_eq DOCTEST_REQUIRE_EQ |
| 43 | #define my_warn_ne DOCTEST_WARN_NE |
| 44 | #define my_check_ne DOCTEST_CHECK_NE |
| 45 | #define my_require_ne DOCTEST_REQUIRE_NE |
| 46 | #define my_warn_gt DOCTEST_WARN_GT |
| 47 | #define my_check_gt DOCTEST_CHECK_GT |
| 48 | #define my_require_gt DOCTEST_REQUIRE_GT |
| 49 | #define my_warn_lt DOCTEST_WARN_LT |
| 50 | #define my_check_lt DOCTEST_CHECK_LT |
| 51 | #define my_require_lt DOCTEST_REQUIRE_LT |
| 52 | #define my_warn_ge DOCTEST_WARN_GE |
| 53 | #define my_check_ge DOCTEST_CHECK_GE |
| 54 | #define my_require_ge DOCTEST_REQUIRE_GE |
| 55 | #define my_warn_le DOCTEST_WARN_LE |
| 56 | #define my_check_le DOCTEST_CHECK_LE |
| 57 | #define my_require_le DOCTEST_REQUIRE_LE |
| 58 | #define my_warn_unary DOCTEST_WARN_UNARY |
| 59 | #define my_check_unary DOCTEST_CHECK_UNARY |
| 60 | #define my_require_unary DOCTEST_REQUIRE_UNARY |
| 61 | #define my_warn_unary_false DOCTEST_WARN_UNARY_FALSE |
| 62 | #define my_check_unary_false DOCTEST_CHECK_UNARY_FALSE |
| 63 | #define my_require_unary_false DOCTEST_REQUIRE_UNARY_FALSE |
| 64 | |
| 65 | #define my_fast_warn_eq DOCTEST_FAST_WARN_EQ |
| 66 | #define my_fast_check_eq DOCTEST_FAST_CHECK_EQ |
| 67 | #define my_fast_require_eq DOCTEST_FAST_REQUIRE_EQ |
| 68 | #define my_fast_warn_ne DOCTEST_FAST_WARN_NE |
| 69 | #define my_fast_check_ne DOCTEST_FAST_CHECK_NE |
| 70 | #define my_fast_require_ne DOCTEST_FAST_REQUIRE_NE |
| 71 | #define my_fast_warn_gt DOCTEST_FAST_WARN_GT |
| 72 | #define my_fast_check_gt DOCTEST_FAST_CHECK_GT |
| 73 | #define my_fast_require_gt DOCTEST_FAST_REQUIRE_GT |
| 74 | #define my_fast_warn_lt DOCTEST_FAST_WARN_LT |
| 75 | #define my_fast_check_lt DOCTEST_FAST_CHECK_LT |
| 76 | #define my_fast_require_lt DOCTEST_FAST_REQUIRE_LT |
| 77 | #define my_fast_warn_ge DOCTEST_FAST_WARN_GE |
| 78 | #define my_fast_check_ge DOCTEST_FAST_CHECK_GE |
| 79 | #define my_fast_require_ge DOCTEST_FAST_REQUIRE_GE |
| 80 | #define my_fast_warn_le DOCTEST_FAST_WARN_LE |
| 81 | #define my_fast_check_le DOCTEST_FAST_CHECK_LE |
| 82 | #define my_fast_require_le DOCTEST_FAST_REQUIRE_LE |
| 83 | #define my_fast_warn_unary DOCTEST_FAST_WARN_UNARY |
| 84 | #define my_fast_check_unary DOCTEST_FAST_CHECK_UNARY |
| 85 | #define my_fast_require_unary DOCTEST_FAST_REQUIRE_UNARY |
| 86 | #define my_fast_warn_unary_false DOCTEST_FAST_WARN_UNARY_FALSE |
| 87 | #define my_fast_check_unary_false DOCTEST_FAST_CHECK_UNARY_FALSE |
| 88 | #define my_fast_require_unary_false DOCTEST_FAST_REQUIRE_UNARY_FALSE |
onqtam | 773570a | 2016-06-10 21:34:34 +0300 | [diff] [blame] | 89 | |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 90 | #endif // MY_PROXY_MACROS |