mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-17 02:25:38 +02:00
Added baselines for new test cases
This commit is contained in:
@@ -1,5 +1,81 @@
|
||||
<Catch name="CatchSelfTest">
|
||||
<Group>
|
||||
<TestCase name="toString(enum)">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e0) == "0"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"0" == "0"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/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" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e0) == "E2{0}"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"E2{0}" == "E2{0}"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e1) == "E2{1}"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"E2{1}" == "E2{1}"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString(enum class)">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e0) == "0"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"0" == "0"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e1) == "1"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"1" == "1"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString(enum class w/operator<<)">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e0) == "E2/V0"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"E2/V0" == "E2/V0"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
||||
<Original>
|
||||
Catch::toString(e1) == "E2/V1"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"E2/V1" == "E2/V1"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Some simple comparisons between doubles">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ApproxTests.cpp" >
|
||||
<Original>
|
||||
@@ -6030,6 +6106,234 @@ there"
|
||||
<TestCase name="X/level/1/b">
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString( has_toString )">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringWhich.cpp" >
|
||||
<Original>
|
||||
Catch::toString( item ) == "toString( has_toString )"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"toString( has_toString )"
|
||||
==
|
||||
"toString( has_toString )"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString( has_maker )">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringWhich.cpp" >
|
||||
<Original>
|
||||
Catch::toString( item ) == "StringMaker<has_maker>"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"StringMaker<has_maker>"
|
||||
==
|
||||
"StringMaker<has_maker>"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString( has_maker_and_toString )">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringWhich.cpp" >
|
||||
<Original>
|
||||
Catch::toString( item ) == "toString( has_maker_and_toString )"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"toString( has_maker_and_toString )"
|
||||
==
|
||||
"toString( has_maker_and_toString )"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString( vectors<has_toString )">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringWhich.cpp" >
|
||||
<Original>
|
||||
Catch::toString( v ) == "{ {?} }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ {?} }" == "{ {?} }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString( vectors<has_maker )">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringWhich.cpp" >
|
||||
<Original>
|
||||
Catch::toString( v ) == "{ StringMaker<has_maker> }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ StringMaker<has_maker> }"
|
||||
==
|
||||
"{ StringMaker<has_maker> }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="toString( vectors<has_maker_and_toString )">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringWhich.cpp" >
|
||||
<Original>
|
||||
Catch::toString( v ) == "{ StringMaker<has_maker_and_toString> }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ StringMaker<has_maker_and_toString> }"
|
||||
==
|
||||
"{ StringMaker<has_maker_and_toString> }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="std::pair<int,std::string> -> toString">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringPair.cpp" >
|
||||
<Original>
|
||||
Catch::toString( value ) == "{ 34, \"xyzzy\" }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 34, "xyzzy" }" == "{ 34, "xyzzy" }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="std::pair<int,const std::string> -> toString">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringPair.cpp" >
|
||||
<Original>
|
||||
Catch::toString(value) == "{ 34, \"xyzzy\" }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 34, "xyzzy" }" == "{ 34, "xyzzy" }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="std::vector<std::pair<std::string,int> > -> toString">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringPair.cpp" >
|
||||
<Original>
|
||||
Catch::toString( pr ) == "{ { \"green\", 55 } }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ { "green", 55 } }"
|
||||
==
|
||||
"{ { "green", 55 } }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="pair<pair<int,const char *,pair<std::string,int> > -> toString">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringPair.cpp" >
|
||||
<Original>
|
||||
Catch::toString( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ { 42, "Arthur" }, { "Ford", 24 } }"
|
||||
==
|
||||
"{ { 42, "Arthur" }, { "Ford", 24 } }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="vector<int> -> toString">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ }" == "{ }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ 42 }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 42 }" == "{ 42 }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ 42, 512 }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 42, 512 }" == "{ 42, 512 }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="vector<string> -> toString">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ }" == "{ }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ \"hello\" }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ "hello" }" == "{ "hello" }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ \"hello\", \"world\" }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ "hello", "world" }"
|
||||
==
|
||||
"{ "hello", "world" }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="vector<int,allocator> -> toString">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ }" == "{ }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ 42 }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 42 }" == "{ 42 }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(vv) == "{ 42, 512 }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ 42, 512 }" == "{ 42, 512 }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="vec<vec<string,alloc>> -> toString">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(v) == "{ }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ }" == "{ }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/ToStringVector.cpp" >
|
||||
<Original>
|
||||
Catch::toString(v) == "{ { \"hello\" }, { \"world\" } }"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"{ { "hello" }, { "world" } }"
|
||||
==
|
||||
"{ { "hello" }, { "world" } }"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Parse test names and tags">
|
||||
<Section name="Empty test spec should have no filters">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/CmdLineTests.cpp" >
|
||||
@@ -7636,7 +7940,7 @@ there"
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<OverallResults successes="617" failures="99" expectedFailures="13"/>
|
||||
<OverallResults successes="646" failures="99" expectedFailures="13"/>
|
||||
</Group>
|
||||
<OverallResults successes="617" failures="99" expectedFailures="13"/>
|
||||
<OverallResults successes="646" failures="99" expectedFailures="13"/>
|
||||
</Catch>
|
||||
|
Reference in New Issue
Block a user