mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-16 18:15:42 +02:00
Build 28
- new version of Clara - removed command line tests
This commit is contained in:
@@ -6967,210 +6967,6 @@ there"
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="cmdline">
|
||||
<Section name="process name">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.processName == "test"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"test" == "test"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="arg separated by spaces">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.fileName == "filename.ext"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"filename.ext" == "filename.ext"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="arg separated by colon">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.fileName == "filename.ext"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"filename.ext" == "filename.ext"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="arg separated by =">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.fileName == "filename.ext"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"filename.ext" == "filename.ext"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="long opt">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.fileName == "%stdout"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"%stdout" == "%stdout"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="a number">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.number == 42
|
||||
</Original>
|
||||
<Expanded>
|
||||
42 == 42
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="not a number">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
parseInto( cli, argv, config )
|
||||
</Original>
|
||||
<Expanded>
|
||||
parseInto( cli, argv, config )
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.number == 0
|
||||
</Original>
|
||||
<Expanded>
|
||||
0 == 0
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<Section name="two parsers">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config1.number == 42
|
||||
</Original>
|
||||
<Expanded>
|
||||
42 == 42
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
!unusedTokens.empty()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config2.description == "some text"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"some text" == "some text"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="3" failures="0"/>
|
||||
</Section>
|
||||
<Section name="methods">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="methods">
|
||||
<Section name="in range">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.index == 3
|
||||
</Original>
|
||||
<Expanded>
|
||||
3 == 3
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="methods">
|
||||
<Section name="out of range">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
parseInto( cli, argv, config )
|
||||
</Original>
|
||||
<Expanded>
|
||||
parseInto( cli, argv, config )
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="flags">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="flags">
|
||||
<Section name="set">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.flag
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="flags">
|
||||
<Section name="not set">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.flag == false
|
||||
</Original>
|
||||
<Expanded>
|
||||
false == false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="positional">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.firstPos == "1st"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"1st" == "1st"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.secondPos == "2nd"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"2nd" == "2nd"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
|
||||
<Original>
|
||||
config.unpositional == "3rd"
|
||||
</Original>
|
||||
<Expanded>
|
||||
"3rd" == "3rd"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="3" failures="0"/>
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="section tracking">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
@@ -7418,7 +7214,7 @@ there"
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<OverallResults successes="585" failures="110"/>
|
||||
<OverallResults successes="567" failures="110"/>
|
||||
</Group>
|
||||
<OverallResults successes="585" failures="110"/>
|
||||
<OverallResults successes="567" failures="110"/>
|
||||
</Catch>
|
||||
|
Reference in New Issue
Block a user