catch2/projects/SelfTest/UsageTests
Jozef Grajciar 21a1cd5683 Template tests: added TEMPLATE_PRODUCT_TEST_CASE
support for generating test cases based on multiple template template
types combined with template arguments for each of the template template
types specified

e.g.
```
TEMPLATE_PRODUCT_TEST_CASE("template product","[template]",
			   (std::tuple, std::pair, std::map),
			   ((int,float),(char,double),(int,char)))
```
will effectively create 9 test cases with types:
std::tuple<int,float>
std::tuple<char,double>
std::tuple<int,char>
std::pair<int,float>
std::pair<char, double>
std::pair<int,char>
std::map<int,float>
std::map<char,double>
std::map<int,char>

Tested type is accessible in test case body as TestType
Unique name is created by appending ` - <index>` to test name
since preprocessor has some limitations in recursions

Closes #1454
2018-12-10 08:22:09 +01:00
..
Approx.tests.cpp Add float/int literal for Approx 2018-07-15 17:03:12 +02:00
BDD.tests.cpp Add test for AND_GIVEN and update the baselines 2018-09-02 16:53:57 +02:00
Benchmark.tests.cpp Split SelfTest test files into Usage and Introspective varieties 2017-11-13 15:38:52 +00:00
Class.tests.cpp Template tests: added TEMPLATE_PRODUCT_TEST_CASE 2018-12-10 08:22:09 +01:00
Compilation.tests.cpp Add STATIC_REQUIRE assertion 2018-10-16 16:16:00 +02:00
Condition.tests.cpp Enable Werror for dev builds 2017-11-21 18:55:28 +01:00
Decomposition.tests.cpp Add -Wmissing-declarations to the SelfTest project 2018-07-02 17:36:13 +02:00
EnumToString.tests.cpp Add -Wmissing-declarations to the SelfTest project 2018-07-02 17:36:13 +02:00
Exception.tests.cpp Suppress Wunreachable-code in floating matchers and exception tests 2018-09-01 22:34:29 +02:00
Generators.tests.cpp Enable some more generator tests in standard test run 2018-09-08 18:23:38 +02:00
Matchers.tests.cpp Remove unused partial specialization for MatcherMethod<T> 2018-11-04 00:00:36 +01:00
Message.tests.cpp Fix CAPTURE macro for nontrivial uses 2018-11-21 16:48:09 +01:00
Misc.tests.cpp Template tests: added TEMPLATE_PRODUCT_TEST_CASE 2018-12-10 08:22:09 +01:00
ToStringChrono.tests.cpp Add more weird chrono::duration stringification tests 2017-11-28 21:47:06 +01:00
ToStringGeneral.tests.cpp Add StringMaker for std::(w)string_view 2018-09-10 11:37:26 +02:00
ToStringPair.tests.cpp All tests files have .tests.cpp suffix. Also moved tests out of TestMain.cpp and moved up a level 2017-11-13 16:03:27 +00:00
ToStringTuple.tests.cpp All tests files have .tests.cpp suffix. Also moved tests out of TestMain.cpp and moved up a level 2017-11-13 16:03:27 +00:00
ToStringVariant.tests.cpp Add StringMaker for std::variant, std::monostate (#1380) 2018-09-20 14:13:35 +02:00
ToStringVector.tests.cpp Fixup various spelling errors (#1208) 2018-03-07 10:08:35 +01:00
ToStringWhich.tests.cpp Add -Wmissing-declarations to the SelfTest project 2018-07-02 17:36:13 +02:00
Tricky.tests.cpp Remove obsolete test 2018-07-02 17:32:47 +02:00
VariadicMacros.tests.cpp All tests files have .tests.cpp suffix. Also moved tests out of TestMain.cpp and moved up a level 2017-11-13 16:03:27 +00:00