Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/Class.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-04-26 16:25:43 +0200
committerMartin Hořeňovský2020-04-26 16:25:43 +0200
commit0470794a6821ac1a01a6a9a002a969f8350c2cd5 (patch)
tree9713acb267dcbce2d7137968faa69552b5498eaf /tests/SelfTest/UsageTests/Class.tests.cpp
parent5150fa44761da7e04a320bc4c4dd662f31caf3ab (diff)
downloadcatch3-0470794a6821ac1a01a6a9a002a969f8350c2cd5.tar.gz
Split TEMPLATE_TEST* macros into their own set of files
These files are not included by the default `#include <catch2/catch_test_macros.hpp>` path, so that users do not have to pay for them if they do not use them. Follow up is to split out the small part of `catch_preprocessor.hpp` used by the default test macros (AFAIK, it is just `INTERNAL_CATCH_REMOVE_PARENS` macro), so that it is not included by the default path either. Also fixes #1892 by providing the missing macros.
Diffstat (limited to 'tests/SelfTest/UsageTests/Class.tests.cpp')
-rw-r--r--tests/SelfTest/UsageTests/Class.tests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/SelfTest/UsageTests/Class.tests.cpp b/tests/SelfTest/UsageTests/Class.tests.cpp
index 095686a1..b6009e0b 100644
--- a/tests/SelfTest/UsageTests/Class.tests.cpp
+++ b/tests/SelfTest/UsageTests/Class.tests.cpp
@@ -4,6 +4,7 @@
*/
#include <catch2/catch_test_macros.hpp>
+#include <catch2/catch_template_test_macros.hpp>
#include <array>
namespace{ namespace ClassTests {