mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Marked tests that use C++11 features with [c++11] tag and exclude them from approval tests
This commit is contained in:
@@ -830,6 +830,6 @@ with expansion:
|
||||
"first" == "second"
|
||||
|
||||
===============================================================================
|
||||
test cases: 169 | 125 passed | 42 failed | 2 failed as expected
|
||||
assertions: 921 | 825 passed | 78 failed | 18 failed as expected
|
||||
test cases: 159 | 115 passed | 42 failed | 2 failed as expected
|
||||
assertions: 906 | 810 passed | 78 failed | 18 failed as expected
|
||||
|
||||
|
@@ -8060,20 +8060,6 @@ MessageTests.cpp:<line number>: FAILED:
|
||||
explicitly with message:
|
||||
Previous info should not be seen
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
long long
|
||||
-------------------------------------------------------------------------------
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( l == std::numeric_limits<long long>::max() )
|
||||
with expansion:
|
||||
9223372036854775807 (0x<hex digits>)
|
||||
==
|
||||
9223372036854775807 (0x<hex digits>)
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
looped SECTION tests
|
||||
s1
|
||||
@@ -8263,18 +8249,6 @@ PASSED:
|
||||
with expansion:
|
||||
{null string} == {null string}
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
null_ptr
|
||||
-------------------------------------------------------------------------------
|
||||
TrickyTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( ptr.get() == 0 )
|
||||
with expansion:
|
||||
NULL == 0
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
pair<pair<int,const char *,pair<std::string,int> > -> toString
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -8668,50 +8642,6 @@ PASSED:
|
||||
with expansion:
|
||||
"{ {?} }" == "{ {?} }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
toString(enum class w/operator<<)
|
||||
-------------------------------------------------------------------------------
|
||||
EnumToString.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
EnumToString.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( Catch::toString(e0) == "E2/V0" )
|
||||
with expansion:
|
||||
"E2/V0" == "E2/V0"
|
||||
|
||||
EnumToString.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( Catch::toString(e1) == "E2/V1" )
|
||||
with expansion:
|
||||
"E2/V1" == "E2/V1"
|
||||
|
||||
EnumToString.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( Catch::toString(e3) == "Unknown enum value 10" )
|
||||
with expansion:
|
||||
"Unknown enum value 10"
|
||||
==
|
||||
"Unknown enum value 10"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
toString(enum class)
|
||||
-------------------------------------------------------------------------------
|
||||
EnumToString.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
EnumToString.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( Catch::toString(e0) == "0" )
|
||||
with expansion:
|
||||
"0" == "0"
|
||||
|
||||
EnumToString.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( Catch::toString(e1) == "1" )
|
||||
with expansion:
|
||||
"1" == "1"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
toString(enum w/operator<<)
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -8748,96 +8678,6 @@ PASSED:
|
||||
with expansion:
|
||||
"1" == "1"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
tuple<>
|
||||
-------------------------------------------------------------------------------
|
||||
ToStringTuple.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToStringTuple.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( "{ }" == Catch::toString(type{}) )
|
||||
with expansion:
|
||||
"{ }" == "{ }"
|
||||
|
||||
ToStringTuple.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( "{ }" == Catch::toString(value) )
|
||||
with expansion:
|
||||
"{ }" == "{ }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
tuple<float,int>
|
||||
-------------------------------------------------------------------------------
|
||||
ToStringTuple.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToStringTuple.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( "1.2f" == Catch::toString(float(1.2)) )
|
||||
with expansion:
|
||||
"1.2f" == "1.2f"
|
||||
|
||||
ToStringTuple.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( "{ 1.2f, 0 }" == Catch::toString(type{1.2,0}) )
|
||||
with expansion:
|
||||
"{ 1.2f, 0 }" == "{ 1.2f, 0 }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
tuple<int>
|
||||
-------------------------------------------------------------------------------
|
||||
ToStringTuple.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToStringTuple.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( "{ 0 }" == Catch::toString(type{0}) )
|
||||
with expansion:
|
||||
"{ 0 }" == "{ 0 }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
tuple<0,int,const char *>
|
||||
-------------------------------------------------------------------------------
|
||||
ToStringTuple.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToStringTuple.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( "{ 0, 42, \"Catch me\" }" == Catch::toString(value) )
|
||||
with expansion:
|
||||
"{ 0, 42, "Catch me" }"
|
||||
==
|
||||
"{ 0, 42, "Catch me" }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
tuple<string,string>
|
||||
-------------------------------------------------------------------------------
|
||||
ToStringTuple.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToStringTuple.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( "{ \"hello\", \"world\" }" == Catch::toString(type{"hello","world"}) )
|
||||
with expansion:
|
||||
"{ "hello", "world" }"
|
||||
==
|
||||
"{ "hello", "world" }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
tuple<tuple<int>,tuple<>,float>
|
||||
-------------------------------------------------------------------------------
|
||||
ToStringTuple.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToStringTuple.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( "{ { 42 }, { }, 1.2f }" == Catch::toString(value) )
|
||||
with expansion:
|
||||
"{ { 42 }, { }, 1.2f }"
|
||||
==
|
||||
"{ { 42 }, { }, 1.2f }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
vec<vec<string,alloc>> -> toString
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -9115,6 +8955,6 @@ MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
|
||||
===============================================================================
|
||||
test cases: 169 | 124 passed | 43 failed | 2 failed as expected
|
||||
assertions: 923 | 825 passed | 80 failed | 18 failed as expected
|
||||
test cases: 159 | 114 passed | 43 failed | 2 failed as expected
|
||||
assertions: 908 | 810 passed | 80 failed | 18 failed as expected
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.1" encoding="UTF-8"?>
|
||||
<testsuites>
|
||||
<testsuite name="CatchSelfTest" errors="13" failures="68" tests="924" hostname="tbd" time="{duration}" timestamp="tbd">
|
||||
<testsuite name="CatchSelfTest" errors="13" failures="68" tests="909" hostname="tbd" time="{duration}" timestamp="tbd">
|
||||
<testcase classname="global" name="# A test name that starts with a #" time="{duration}"/>
|
||||
<testcase classname="global" name="'Not' checks that should fail" time="{duration}">
|
||||
<failure message="false != false" type="CHECK">
|
||||
@@ -567,7 +567,6 @@ Previous info should not be seen
|
||||
MessageTests.cpp:<line number>
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase classname="global" name="long long" time="{duration}"/>
|
||||
<testcase classname="looped SECTION tests" name="s1" time="{duration}">
|
||||
<failure message="0 > 1" type="CHECK">
|
||||
MiscTests.cpp:<line number>
|
||||
@@ -611,7 +610,6 @@ MiscTests.cpp:<line number>
|
||||
<testcase classname="global" name="non streamable - with conv. op" time="{duration}"/>
|
||||
<testcase classname="global" name="not allowed" time="{duration}"/>
|
||||
<testcase classname="global" name="null strings" time="{duration}"/>
|
||||
<testcase classname="global" name="null_ptr" time="{duration}"/>
|
||||
<testcase classname="global" name="pair<pair<int,const char *,pair<std::string,int> > -> toString" time="{duration}"/>
|
||||
<testcase classname="global" name="pointer to class" time="{duration}"/>
|
||||
<testcase classname="random SECTION tests" name="s1" time="{duration}"/>
|
||||
@@ -654,16 +652,8 @@ TrickyTests.cpp:<line number>
|
||||
<testcase classname="global" name="toString( vectors<has_maker )" time="{duration}"/>
|
||||
<testcase classname="global" name="toString( vectors<has_maker_and_toString )" time="{duration}"/>
|
||||
<testcase classname="global" name="toString( vectors<has_toString )" time="{duration}"/>
|
||||
<testcase classname="global" name="toString(enum class w/operator<<)" time="{duration}"/>
|
||||
<testcase classname="global" name="toString(enum class)" time="{duration}"/>
|
||||
<testcase classname="global" name="toString(enum w/operator<<)" time="{duration}"/>
|
||||
<testcase classname="global" name="toString(enum)" time="{duration}"/>
|
||||
<testcase classname="global" name="tuple<>" time="{duration}"/>
|
||||
<testcase classname="global" name="tuple<float,int>" time="{duration}"/>
|
||||
<testcase classname="global" name="tuple<int>" time="{duration}"/>
|
||||
<testcase classname="global" name="tuple<0,int,const char *>" time="{duration}"/>
|
||||
<testcase classname="global" name="tuple<string,string>" time="{duration}"/>
|
||||
<testcase classname="global" name="tuple<tuple<int>,tuple<>,float>" time="{duration}"/>
|
||||
<testcase classname="global" name="vec<vec<string,alloc>> -> toString" time="{duration}"/>
|
||||
<testcase classname="global" name="vector<int,allocator> -> toString" time="{duration}"/>
|
||||
<testcase classname="global" name="vector<int> -> toString" time="{duration}"/>
|
||||
|
@@ -8502,19 +8502,6 @@ there"
|
||||
<TestCase name="just info">
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="long long">
|
||||
<Expression success="true" type="REQUIRE" filename="projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
l == std::numeric_limits<long long>::max()
|
||||
</Original>
|
||||
<Expanded>
|
||||
9223372036854775807 (0x<hex digits>)
|
||||
==
|
||||
9223372036854775807 (0x<hex digits>)
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="looped SECTION tests">
|
||||
<Section name="s1" description="b is currently: 0">
|
||||
<Expression success="false" type="CHECK" filename="projects/SelfTest/MiscTests.cpp" >
|
||||
@@ -8725,17 +8712,6 @@ there"
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="null_ptr">
|
||||
<Expression success="true" type="REQUIRE" filename="projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
ptr.get() == 0
|
||||
</Original>
|
||||
<Expanded>
|
||||
NULL == 0
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="pair<pair<int,const char *,pair<std::string,int> > -> toString">
|
||||
<Expression success="true" type="REQUIRE" filename="projects/SelfTest/ToStringPair.cpp" >
|
||||
<Original>
|
||||
@@ -9129,54 +9105,6 @@ there"
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString(enum class w/operator<<)">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e0) == "E2/V0"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"E2/V0" == "E2/V0"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e1) == "E2/V1"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"E2/V1" == "E2/V1"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e3) == "Unknown enum value 10"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"Unknown enum value 10"
|
||||
==
|
||||
"Unknown enum value 10"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString(enum class)">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e0) == "0"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"0" == "0"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e1) == "1"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"1" == "1"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString(enum w/operator<<)">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
@@ -9215,94 +9143,6 @@ there"
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="tuple<>">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/ToStringTuple.cpp" >
|
||||
<Original>
|
||||
"{ }" == Catch::toString(type{})
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ }" == "{ }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/ToStringTuple.cpp" >
|
||||
<Original>
|
||||
"{ }" == Catch::toString(value)
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ }" == "{ }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="tuple<float,int>">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/ToStringTuple.cpp" >
|
||||
<Original>
|
||||
"1.2f" == Catch::toString(float(1.2))
|
||||
</Original>
|
||||
<Expanded>
|
||||
"1.2f" == "1.2f"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/ToStringTuple.cpp" >
|
||||
<Original>
|
||||
"{ 1.2f, 0 }" == Catch::toString(type{1.2,0})
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 1.2f, 0 }" == "{ 1.2f, 0 }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="tuple<int>">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/ToStringTuple.cpp" >
|
||||
<Original>
|
||||
"{ 0 }" == Catch::toString(type{0})
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 0 }" == "{ 0 }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="tuple<0,int,const char *>">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/ToStringTuple.cpp" >
|
||||
<Original>
|
||||
"{ 0, 42, \"Catch me\" }" == Catch::toString(value)
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 0, 42, "Catch me" }"
|
||||
==
|
||||
"{ 0, 42, "Catch me" }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="tuple<string,string>">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/ToStringTuple.cpp" >
|
||||
<Original>
|
||||
"{ \"hello\", \"world\" }" == Catch::toString(type{"hello","world"})
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ "hello", "world" }"
|
||||
==
|
||||
"{ "hello", "world" }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="tuple<tuple<int>,tuple<>,float>">
|
||||
<Expression success="true" type="CHECK" filename="projects/SelfTest/ToStringTuple.cpp" >
|
||||
<Original>
|
||||
"{ { 42 }, { }, 1.2f }" == Catch::toString(value)
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ { 42 }, { }, 1.2f }"
|
||||
==
|
||||
"{ { 42 }, { }, 1.2f }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="vec<vec<string,alloc>> -> toString">
|
||||
<Expression success="true" type="REQUIRE" filename="projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
@@ -9570,7 +9410,7 @@ there"
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<OverallResults successes="825" failures="81" expectedFailures="18"/>
|
||||
<OverallResults successes="810" failures="81" expectedFailures="18"/>
|
||||
</Group>
|
||||
<OverallResults successes="825" failures="80" expectedFailures="18"/>
|
||||
<OverallResults successes="810" failures="80" expectedFailures="18"/>
|
||||
</Catch>
|
||||
|
Reference in New Issue
Block a user