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

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/UsageTests/ToStringVector.tests.cpp
diff options
context:
space:
mode:
authorJozef Grajciar2018-12-06 19:27:33 +0100
committerJozef Grajciar2018-12-10 08:22:09 +0100
commit21a1cd56838c677acba467de512441cc146c6de3 (patch)
tree65006e5483f2ea7c6902366d5c9dde9fbabd62e2 /projects/SelfTest/UsageTests/ToStringVector.tests.cpp
parent4902cd721586822ded795afe0c418c553137306a (diff)
downloadcatch3-21a1cd56838c677acba467de512441cc146c6de3.tar.gz
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
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions