- new version of Clara
- removed command line tests
This commit is contained in:
Phil Nash
2014-03-06 08:17:24 +00:00
parent b9fea75109
commit fd879f7e77
7 changed files with 10 additions and 426 deletions

View File

@@ -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 == &quot;test&quot;
</Original>
<Expanded>
&quot;test&quot; == &quot;test&quot;
</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 == &quot;filename.ext&quot;
</Original>
<Expanded>
&quot;filename.ext&quot; == &quot;filename.ext&quot;
</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 == &quot;filename.ext&quot;
</Original>
<Expanded>
&quot;filename.ext&quot; == &quot;filename.ext&quot;
</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 == &quot;filename.ext&quot;
</Original>
<Expanded>
&quot;filename.ext&quot; == &quot;filename.ext&quot;
</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 == &quot;%stdout&quot;
</Original>
<Expanded>
&quot;%stdout&quot; == &quot;%stdout&quot;
</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 == &quot;some text&quot;
</Original>
<Expanded>
&quot;some text&quot; == &quot;some text&quot;
</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 == &quot;1st&quot;
</Original>
<Expanded>
&quot;1st&quot; == &quot;1st&quot;
</Expanded>
</Expression>
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
<Original>
config.secondPos == &quot;2nd&quot;
</Original>
<Expanded>
&quot;2nd&quot; == &quot;2nd&quot;
</Expanded>
</Expression>
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" >
<Original>
config.unpositional == &quot;3rd&quot;
</Original>
<Expanded>
&quot;3rd&quot; == &quot;3rd&quot;
</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&quot;
</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>