Approved new test case

This commit is contained in:
Phil Nash 2014-05-23 18:55:05 +01:00
parent 7cbf74061b
commit 14796814b8
4 changed files with 46 additions and 5 deletions

View File

@ -520,6 +520,20 @@ with messages:
hi hi
i := 7 i := 7
-------------------------------------------------------------------------------
Pointers can be converted to strings
-------------------------------------------------------------------------------
MessageTests.cpp:<line number>
...............................................................................
MessageTests.cpp:<line number>:
warning:
actual address of p: 0x<hex digits>
MessageTests.cpp:<line number>:
warning:
toString(p): 0x<hex digits>
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
more nested SECTION tests more nested SECTION tests
s1 s1
@ -772,5 +786,5 @@ with expansion:
"first" == "second" "first" == "second"
=============================================================================== ===============================================================================
123 test cases - 39 failed (695 assertions - 92 failed) 124 test cases - 39 failed (695 assertions - 92 failed)

View File

@ -2809,6 +2809,23 @@ with messages:
hi hi
i := 7 i := 7
-------------------------------------------------------------------------------
Pointers can be converted to strings
-------------------------------------------------------------------------------
MessageTests.cpp:<line number>
...............................................................................
MessageTests.cpp:<line number>:
warning:
actual address of p: 0x<hex digits>
MessageTests.cpp:<line number>:
warning:
toString(p): 0x<hex digits>
No assertions in test case 'Pointers can be converted to strings'
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
random SECTION tests random SECTION tests
s1 s1
@ -7214,5 +7231,5 @@ with expansion:
true true
=============================================================================== ===============================================================================
123 test cases - 54 failed (714 assertions - 111 failed) 124 test cases - 55 failed (715 assertions - 112 failed)

View File

@ -1,5 +1,5 @@
<testsuites> <testsuites>
<testsuite errors="12" failures="99" tests="714" hostname="tbd" time="{duration}" timestamp="tbd"> <testsuite errors="12" failures="100" tests="715" hostname="tbd" time="{duration}" timestamp="tbd">
<testcase classname="global" name="Some simple comparisons between doubles" time="{duration}"/> <testcase classname="global" name="Some simple comparisons between doubles" time="{duration}"/>
<testcase classname="global" name="Approximate comparisons with different epsilons" time="{duration}"/> <testcase classname="global" name="Approximate comparisons with different epsilons" time="{duration}"/>
<testcase classname="global" name="Approximate comparisons with floats" time="{duration}"/> <testcase classname="global" name="Approximate comparisons with floats" time="{duration}"/>
@ -319,6 +319,7 @@ i := 7
MessageTests.cpp:<line number> MessageTests.cpp:<line number>
</failure> </failure>
</testcase> </testcase>
<testcase classname="global" name="Pointers can be converted to strings" time="{duration}"/>
<testcase classname="random SECTION tests" name="s1" time="{duration}"/> <testcase classname="random SECTION tests" name="s1" time="{duration}"/>
<testcase classname="random SECTION tests" name="s2" time="{duration}"/> <testcase classname="random SECTION tests" name="s2" time="{duration}"/>
<testcase classname="nested SECTION tests" name="s1" time="{duration}"/> <testcase classname="nested SECTION tests" name="s1" time="{duration}"/>

View File

@ -2923,6 +2923,15 @@
</Expression> </Expression>
<OverallResult success="false"/> <OverallResult success="false"/>
</TestCase> </TestCase>
<TestCase name="Pointers can be converted to strings">
<Warning>
actual address of p: 0x<hex digits>
</Warning>
<Warning>
toString(p): 0x<hex digits>
</Warning>
<OverallResult success="true"/>
</TestCase>
<TestCase name="random SECTION tests"> <TestCase name="random SECTION tests">
<Section name="s1" description="doesn't equal"> <Section name="s1" description="doesn't equal">
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
@ -7474,7 +7483,7 @@ there&quot;
</Section> </Section>
<OverallResult success="true"/> <OverallResult success="true"/>
</TestCase> </TestCase>
<OverallResults successes="603" failures="111"/> <OverallResults successes="603" failures="112"/>
</Group> </Group>
<OverallResults successes="603" failures="111"/> <OverallResults successes="603" failures="112"/>
</Catch> </Catch>