summaryrefslogtreecommitdiff
path: root/examples/all_features
diff options
context:
space:
mode:
authoronqtam <vik.kirilov@gmail.com>2019-03-20 21:00:05 +0200
committeronqtam <vik.kirilov@gmail.com>2019-03-20 21:00:05 +0200
commit88911e397774eb9635a5f8c463076385dd723c59 (patch)
treefb7578c56f9e9fc4e4646c9f208924513916cfbb /examples/all_features
parent976d58fb898b96cc2835aeb084e95c0a2b3143f1 (diff)
proper names - relates #203
Diffstat (limited to 'examples/all_features')
-rw-r--r--examples/all_features/header.h2
-rw-r--r--examples/all_features/templated_test_cases.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/all_features/header.h b/examples/all_features/header.h
index 5f94410..63b50eb 100644
--- a/examples/all_features/header.h
+++ b/examples/all_features/header.h
@@ -36,7 +36,7 @@ TEST_CASE_TEMPLATE_DEFINE("template 2", T, header_test) {
FAIL("");
}
-TEST_CASE_TEMPLATE_INSTANTIATE(header_test, doctest::String);
+TEST_CASE_TEMPLATE_INVOKE(header_test, doctest::String);
// to silence GCC warnings when inheriting from some class which has no virtual destructor - happens only on gcc 4.7/4.8
#if DOCTEST_GCC >= DOCTEST_COMPILER(4, 7, 0) && DOCTEST_GCC < DOCTEST_COMPILER(4, 9, 0)
diff --git a/examples/all_features/templated_test_cases.cpp b/examples/all_features/templated_test_cases.cpp
index aaf7c62..5c204a5 100644
--- a/examples/all_features/templated_test_cases.cpp
+++ b/examples/all_features/templated_test_cases.cpp
@@ -31,10 +31,10 @@ TEST_CASE_TEMPLATE_DEFINE("default construction", T, test_id) {
CHECK(doctest::Approx(var) == T());
}
-TEST_CASE_TEMPLATE_INSTANTIATE(test_id, signed char, short, int);
-TEST_CASE_TEMPLATE_INSTANTIATE(test_id, double, double); // note that types won't be filtered for uniqueness
+TEST_CASE_TEMPLATE_INVOKE(test_id, signed char, short, int);
+TEST_CASE_TEMPLATE_INVOKE(test_id, double, double); // note that types won't be filtered for uniqueness
-TEST_CASE_TEMPLATE_INSTANTIATE_TUPLE(test_id, std::tuple<unsigned char, char>);
+TEST_CASE_TEMPLATE_APPLY(test_id, std::tuple<unsigned char, char>);
// =================================================================================================
// MULTIPLE TYPES AS PARAMETERS