mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-24 13:35:40 +02:00
Upgrade to C++17
This commit is contained in:
@@ -154,7 +154,7 @@ Nor would this
|
||||
<TestCase name="#1548" tags="[compilation]" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
||||
<Original>
|
||||
std::is_same<TypeList<int>, TypeList<int>>::value
|
||||
std::is_same_v<TypeList<int>, TypeList<int>>
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -12057,7 +12057,7 @@ Approx( 0.98999999999999999 )
|
||||
<TestCase name="Product with differing arities - std::tuple<int, double, float>" tags="[product][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::tuple_size<TestType>::value >= 1
|
||||
std::tuple_size_v<TestType> >= 1
|
||||
</Original>
|
||||
<Expanded>
|
||||
3 >= 1
|
||||
@@ -12068,7 +12068,7 @@ Approx( 0.98999999999999999 )
|
||||
<TestCase name="Product with differing arities - std::tuple<int, double>" tags="[product][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::tuple_size<TestType>::value >= 1
|
||||
std::tuple_size_v<TestType> >= 1
|
||||
</Original>
|
||||
<Expanded>
|
||||
2 >= 1
|
||||
@@ -12079,7 +12079,7 @@ Approx( 0.98999999999999999 )
|
||||
<TestCase name="Product with differing arities - std::tuple<int>" tags="[product][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::tuple_size<TestType>::value >= 1
|
||||
std::tuple_size_v<TestType> >= 1
|
||||
</Original>
|
||||
<Expanded>
|
||||
1 >= 1
|
||||
@@ -14113,7 +14113,7 @@ Message from section two
|
||||
<TestCase name="Template test case with test types specified inside non-copyable and non-movable std::tuple - NonCopyableAndNonMovableTypes - 0" tags="[list][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::is_default_constructible<TestType>::value
|
||||
std::is_default_constructible_v<TestType>
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -14124,7 +14124,7 @@ Message from section two
|
||||
<TestCase name="Template test case with test types specified inside non-copyable and non-movable std::tuple - NonCopyableAndNonMovableTypes - 1" tags="[list][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::is_default_constructible<TestType>::value
|
||||
std::is_default_constructible_v<TestType>
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -14135,7 +14135,7 @@ Message from section two
|
||||
<TestCase name="Template test case with test types specified inside non-default-constructible std::tuple - MyNonDefaultConstructibleTypes - 0" tags="[list][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::is_trivially_copyable<TestType>::value
|
||||
std::is_trivially_copyable_v<TestType>
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -14146,7 +14146,7 @@ Message from section two
|
||||
<TestCase name="Template test case with test types specified inside non-default-constructible std::tuple - MyNonDefaultConstructibleTypes - 1" tags="[list][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::is_trivially_copyable<TestType>::value
|
||||
std::is_trivially_copyable_v<TestType>
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -14157,7 +14157,7 @@ Message from section two
|
||||
<TestCase name="Template test case with test types specified inside std::tuple - MyTypes - 0" tags="[list][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::is_arithmetic<TestType>::value
|
||||
std::is_arithmetic_v<TestType>
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -14168,7 +14168,7 @@ Message from section two
|
||||
<TestCase name="Template test case with test types specified inside std::tuple - MyTypes - 1" tags="[list][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::is_arithmetic<TestType>::value
|
||||
std::is_arithmetic_v<TestType>
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -14179,7 +14179,7 @@ Message from section two
|
||||
<TestCase name="Template test case with test types specified inside std::tuple - MyTypes - 2" tags="[list][template]" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
|
||||
<Original>
|
||||
std::is_arithmetic<TestType>::value
|
||||
std::is_arithmetic_v<TestType>
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
|
Reference in New Issue
Block a user