catch2/projects/SelfTest/Baselines/junit.sw.approved.txt

659 lines
40 KiB
Plaintext
Raw Normal View History

2013-09-27 20:01:14 +02:00
<testsuites>
<testsuite name="CatchSelfTest" errors="12" failures="68" tests="900" hostname="tbd" time="{duration}" timestamp="tbd">
2014-09-03 20:22:47 +02:00
<testcase classname="global" name="toString(enum)" time="{duration}"/>
<testcase classname="global" name="toString(enum w/operator&lt;&lt;)" time="{duration}"/>
<testcase classname="global" name="toString(enum class)" time="{duration}"/>
<testcase classname="global" name="toString(enum class w/operator&lt;&lt;)" 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 floats" time="{duration}"/>
<testcase classname="global" name="Approximate comparisons with ints" time="{duration}"/>
<testcase classname="global" name="Approximate comparisons with mixed numeric types" time="{duration}"/>
<testcase classname="global" name="Use a custom approx" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="global" name="Approximate PI" time="{duration}"/>
<testcase classname="TestClass" name="A METHOD_AS_TEST_CASE based test run that succeeds" time="{duration}"/>
<testcase classname="TestClass" name="A METHOD_AS_TEST_CASE based test run that fails" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="&quot;hello&quot; == &quot;world&quot;" type="REQUIRE">
ClassTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="Fixture" name="A TEST_CASE_METHOD based test run that succeeds" time="{duration}"/>
<testcase classname="Fixture" name="A TEST_CASE_METHOD based test run that fails" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="1 == 2" type="REQUIRE">
ClassTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="Equality checks that should succeed" time="{duration}"/>
2014-05-20 19:11:43 +02:00
<testcase classname="global" name="Equality checks that should fail" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="7 == 6" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 == 8" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 == 0" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="9.1f == Approx( 9.1099996567 )" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="9.1f == Approx( 9.0 )" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="9.1f == Approx( 1.0 )" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="9.1f == Approx( 0.0 )" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="3.1415926535 == Approx( 3.1415 )" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; == &quot;goodbye&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; == &quot;hell&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; == &quot;hello1&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="5 == 6" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="1.3 == Approx( 1.301 )" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="Inequality checks that should succeed" time="{duration}"/>
2014-05-20 19:11:43 +02:00
<testcase classname="global" name="Inequality checks that should fail" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="7 != 7" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="9.1f != Approx( 9.1000003815 )" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="3.1415926535 != Approx( 3.1415926535 )" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; != &quot;hello&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="5 != 5" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="Ordering comparison checks that should succeed" time="{duration}"/>
<testcase classname="global" name="Ordering comparison checks that should fail" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="7 > 7" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 &lt; 7" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 > 8" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 &lt; 6" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 &lt; 0" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 &lt; -1" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 >= 8" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 &lt;= 6" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="9.1f &lt; 9" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="9.1f > 10" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="9.1f > 9.2" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; > &quot;hello&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; &lt; &quot;hello&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; > &quot;hellp&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; > &quot;z&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; &lt; &quot;hellm&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; &lt; &quot;a&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; >= &quot;z&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="&quot;hello&quot; &lt;= &quot;a&quot;" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="Comparisons with int literals don't warn when mixing signed/ unsigned" time="{duration}"/>
<testcase classname="global" name="comparisons between int variables" time="{duration}"/>
<testcase classname="global" name="comparisons between const int variables" time="{duration}"/>
<testcase classname="global" name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour" time="{duration}"/>
<testcase classname="global" name="Comparisons between ints where one side is computed" time="{duration}"/>
<testcase classname="global" name="Pointers can be compared to null" time="{duration}"/>
<testcase classname="global" name="'Not' checks that should succeed" time="{duration}"/>
<testcase classname="global" name="'Not' checks that should fail" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="false != false" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="true != true" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="!true" type="CHECK_FALSE">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="!true" type="CHECK_FALSE">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="CHECK">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="!(1 == 1)" type="CHECK_FALSE">
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="When checked exceptions are thrown they can be expected or unexpected" time="{duration}"/>
<testcase classname="global" name="Expected exceptions that don't throw or unexpected exceptions fail the test" time="{duration}">
2013-09-27 20:01:14 +02:00
<error message="thisThrows()" type="CHECK_THROWS_AS">
expected exception
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
<failure message="thisDoesntThrow()" type="CHECK_THROWS_AS">
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<error message="thisThrows()" type="CHECK_NOTHROW">
expected exception
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="global" name="When unchecked exceptions are thrown directly they are always failures" time="{duration}">
2013-09-27 20:01:14 +02:00
<error type="TEST_CASE">
unexpected exception
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="global" name="An unchecked exception reports the line of the last assertion" time="{duration}">
2013-09-27 20:01:14 +02:00
<error message="{Unknown expression after the reported line}">
unexpected exception
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="When unchecked exceptions are thrown from sections they are always failures" name="section name" time="{duration}">
2013-09-27 20:01:14 +02:00
<error type="TEST_CASE">
unexpected exception
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="global" name="When unchecked exceptions are thrown from functions they are always failures" time="{duration}">
2013-09-27 20:01:14 +02:00
<error message="thisThrows() == 0" type="CHECK">
expected exception
ExceptionTests.cpp:<line number>
</error>
</testcase>
<testcase classname="global" name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail" time="{duration}">
<error message="thisThrows() == 0" type="REQUIRE">
expected exception
ExceptionTests.cpp:<line number>
</error>
</testcase>
<testcase classname="global" name="When unchecked exceptions are thrown during a CHECK the test should abort and fail" time="{duration}">
<error message="thisThrows() == 0" type="CHECK">
expected exception
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="global" name="Unexpected custom exceptions can be translated" time="{duration}">
2013-09-27 20:01:14 +02:00
<error type="TEST_CASE">
custom exception
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="global" name="Custom exceptions can be translated when testing for nothrow" time="{duration}">
2013-09-27 20:01:14 +02:00
<error message="throwCustom()" type="REQUIRE_NOTHROW">
custom exception - not std
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="global" name="Custom exceptions can be translated when testing for throwing as something else" time="{duration}">
2013-09-27 20:01:14 +02:00
<error message="throwCustom()" type="REQUIRE_THROWS_AS">
custom exception - not std
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="global" name="Unexpected exceptions can be translated" time="{duration}">
2013-09-27 20:01:14 +02:00
<error type="TEST_CASE">
3.14
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
<testcase classname="global" name="NotImplemented exception" time="{duration}"/>
<testcase classname="Exception messages can be tested for" name="exact match" time="{duration}"/>
<testcase classname="Exception messages can be tested for" name="different case" time="{duration}"/>
<testcase classname="Exception messages can be tested for" name="wildcarded" time="{duration}"/>
<testcase classname="global" name="Mismatching exception messages failing the test" time="{duration}">
<failure message="expected exception" type="REQUIRE_THROWS_WITH">
ExceptionTests.cpp:<line number>
</failure>
</testcase>
<testcase classname="global" name="Generators over two ranges" time="{duration}"/>
<testcase classname="global" name="Generator over a range of pairs" time="{duration}"/>
<testcase classname="global" name="INFO and WARN do not abort tests" time="{duration}"/>
<testcase classname="global" name="SUCCEED counts as a test pass" time="{duration}"/>
<testcase classname="global" name="INFO gets logged on failure" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="2 == 1" type="REQUIRE">
this message should be logged
so should this
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="INFO gets logged on failure, even if captured before successful assertions" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="2 == 1" type="CHECK">
this message should be logged
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="2 == 0" type="CHECK">
and this, but later
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="FAIL aborts the test" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure type="FAIL">
This is a failure
2013-12-14 15:34:05 +01:00
MessageTests.cpp:<line number>
</failure>
</testcase>
<testcase classname="global" name="FAIL does not require an argument" time="{duration}">
<failure type="FAIL">
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="SUCCESS does not require an argument" time="{duration}"/>
<testcase classname="Output from all sections is reported" name="one" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure type="FAIL">
Message from section one
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="Output from all sections is reported" name="two" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure type="FAIL">
Message from section two
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="Standard output from all sections is reported" name="two" time="{duration}">
2013-09-27 20:01:14 +02:00
<system-out>
Message from section one
Message from section two
</system-out>
</testcase>
<testcase classname="global" name="SCOPED_INFO is reset for each loop" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="10 &lt; 10" type="REQUIRE">
current counter 10
i := 10
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="The NO_FAIL macro reports a failure but does not fail the test" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="global" name="just failure" time="{duration}">
<failure type="FAIL">
Previous info should not be seen
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="sends information to INFO" time="{duration}">
<failure message="false" type="REQUIRE">
hi
i := 7
MessageTests.cpp:<line number>
</failure>
</testcase>
2014-05-23 19:55:05 +02:00
<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="s2" time="{duration}"/>
<testcase classname="nested SECTION tests" name="s1" time="{duration}"/>
<testcase classname="nested SECTION tests" name="s1/s2" time="{duration}"/>
<testcase classname="more nested SECTION tests" name="s2/s1" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="1 == 2" type="REQUIRE">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="more nested SECTION tests" name="s1/s3" time="{duration}"/>
<testcase classname="more nested SECTION tests" name="s1/s4" time="{duration}"/>
<testcase classname="looped SECTION tests" name="s1" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="0 > 1" type="CHECK">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="looped tests" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="1 == 0" type="CHECK">
Testing if fib[0] (1) is even
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="1 == 0" type="CHECK">
Testing if fib[1] (1) is even
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="1 == 0" type="CHECK">
Testing if fib[3] (3) is even
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="1 == 0" type="CHECK">
Testing if fib[4] (5) is even
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="1 == 0" type="CHECK">
Testing if fib[6] (13) is even
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="1 == 0" type="CHECK">
Testing if fib[7] (21) is even
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="Sends stuff to stdout and stderr" time="{duration}">
2013-09-27 20:01:14 +02:00
<system-out>
A string sent directly to stdout
2013-09-27 20:01:14 +02:00
</system-out>
<system-err>
A string sent directly to stderr
2013-09-27 20:01:14 +02:00
</system-err>
</testcase>
<testcase classname="global" name="null strings" time="{duration}"/>
<testcase classname="global" name="checkedIf" time="{duration}"/>
<testcase classname="global" name="checkedIf, failing" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="false" type="CHECKED_IF">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="REQUIRE">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="checkedElse" time="{duration}"/>
<testcase classname="global" name="checkedElse, failing" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="false" type="CHECKED_ELSE">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="REQUIRE">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="send a single char to INFO" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="false" type="REQUIRE">
3
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="atomic if" time="{duration}"/>
<testcase classname="global" name="String matchers" time="{duration}"/>
<testcase classname="global" name="Contains string matcher" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="&quot;this string contains 'abc' as a substring&quot; contains: &quot;not there&quot;" type="CHECK_THAT">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="StartsWith string matcher" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="&quot;this string contains 'abc' as a substring&quot; starts with: &quot;string&quot;" type="CHECK_THAT">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="EndsWith string matcher" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="&quot;this string contains 'abc' as a substring&quot; ends with: &quot;this&quot;" type="CHECK_THAT">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="Equals string matcher" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="&quot;this string contains 'abc' as a substring&quot; equals: &quot;something else&quot;" type="CHECK_THAT">
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="Equals string matcher, with NULL" time="{duration}"/>
<testcase classname="global" name="AllOf matcher" time="{duration}"/>
<testcase classname="global" name="AnyOf matcher" time="{duration}"/>
<testcase classname="global" name="Equals" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="global" name="Factorials are computed" time="{duration}"/>
<testcase classname="global" name="Nice descriptive name" time="{duration}"/>
<testcase classname="vectors can be sized and resized" name="root" time="{duration}"/>
<testcase classname="vectors can be sized and resized" name="resizing bigger changes size and capacity" time="{duration}"/>
<testcase classname="vectors can be sized and resized" name="resizing smaller changes size but not capacity" time="{duration}"/>
<testcase classname="vectors can be sized and resized" name="resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
<testcase classname="vectors can be sized and resized" name="reserving bigger changes capacity but not size" time="{duration}"/>
<testcase classname="vectors can be sized and resized" name="reserving smaller does not change size or capacity" time="{duration}"/>
<testcase classname="A couple of nested sections followed by a failure" name="root" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure type="FAIL">
to infinity and beyond
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="A couple of nested sections followed by a failure" name="Outer/Inner" time="{duration}"/>
2014-04-16 19:00:55 +02:00
<testcase classname="global" name="not allowed" time="{duration}"/>
2014-04-23 08:07:27 +02:00
<testcase classname="global" name="Tabs and newlines show in output" time="{duration}">
<failure message="&quot;if ($b == 10) {
$a = 20;
}&quot;
==
&quot;if ($b == 10) {
$a = 20;
}
&quot;" type="CHECK">
MiscTests.cpp:<line number>
</failure>
</testcase>
2014-08-20 09:08:13 +02:00
<testcase classname="global" name="toString on const wchar_t const pointer returns the string contents" time="{duration}"/>
<testcase classname="global" name="toString on const wchar_t pointer returns the string contents" time="{duration}"/>
<testcase classname="global" name="toString on wchar_t const pointer returns the string contents" time="{duration}"/>
<testcase classname="global" name="toString on wchar_t returns the string contents" time="{duration}"/>
<testcase classname="XmlEncode" name="normal string" time="{duration}"/>
<testcase classname="XmlEncode" name="empty string" time="{duration}"/>
<testcase classname="XmlEncode" name="string with ampersand" time="{duration}"/>
<testcase classname="XmlEncode" name="string with less-than" time="{duration}"/>
<testcase classname="XmlEncode" name="string with greater-than" time="{duration}"/>
<testcase classname="XmlEncode" name="string with quotes" time="{duration}"/>
<testcase classname="XmlEncode" name="string with control char (1)" time="{duration}"/>
<testcase classname="XmlEncode" name="string with control char (x7F)" time="{duration}"/>
2015-07-24 00:05:52 +02:00
<testcase classname="global" name="long long" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="Process can be configured on command line" name="default - no arguments" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="test lists/1 test" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="test lists/Specify one test case exclusion using exclude:" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="test lists/Specify one test case exclusion using ~" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="reporter/-r/console" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="reporter/-r/xml" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="reporter/-r xml and junit" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="Process can be configured on command line" name="reporter/--reporter/junit" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="debugger/-b" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="debugger/--break" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="abort/-a aborts after first failure" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="abort/-x 2 aborts after two failures" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="abort/-x must be greater than zero" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="abort/-x must be numeric" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="nothrow/-e" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="nothrow/--nothrow" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="output filename/-o filename" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="output filename/--out" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="combinations/Single character flags can be combined" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="force-colour/--force-colour" time="{duration}"/>
<testcase classname="Process can be configured on command line" name="force-colour/without --force-colour" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="Long strings can be wrapped" name="plain string/No wrapping" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="plain string/Wrapped once" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="plain string/Wrapped twice" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="plain string/Wrapped three times" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="plain string/Short wrap" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="plain string/As container" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="plain string/Indent first line differently" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="With newlines/No wrapping" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="With newlines/Trailing newline" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="With newlines/Wrapped once" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="With newlines/Wrapped twice" time="{duration}"/>
<testcase classname="Long strings can be wrapped" name="With tabs" time="{duration}"/>
2014-12-21 01:20:09 +01:00
<testcase classname="replaceInPlace" name="replace single char" time="{duration}"/>
<testcase classname="replaceInPlace" name="replace two chars" time="{duration}"/>
<testcase classname="replaceInPlace" name="replace first char" time="{duration}"/>
<testcase classname="replaceInPlace" name="replace last char" time="{duration}"/>
<testcase classname="replaceInPlace" name="replace all chars" time="{duration}"/>
<testcase classname="replaceInPlace" name="replace no chars" time="{duration}"/>
2014-12-30 19:24:31 +01:00
<testcase classname="replaceInPlace" name="escape '" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="global" name="Strings can be rendered with colour" time="{duration}">
<system-out>
hello
hello
</system-out>
</testcase>
<testcase classname="global" name="Text can be formatted using the Text class" time="{duration}"/>
<testcase classname="global" name="Long text is truncted" time="{duration}"/>
<testcase classname="global" name="Parsing a std::pair" time="{duration}"/>
2014-12-22 21:17:50 +01:00
<testcase classname="global" name="Where there is more to the expression after the RHS" time="{duration}"/>
<testcase classname="global" name="Where the LHS is not a simple value" time="{duration}"/>
2014-12-21 01:20:09 +01:00
<testcase classname="global" name="A failing expression with a non streamable type is still captured" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="0x<hex digits> == 0x<hex digits>" type="CHECK">
TrickyTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="{?} == {?}" type="CHECK">
TrickyTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2014-12-21 01:20:09 +01:00
<testcase classname="global" name="string literals of different sizes can be compared" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="&quot;first&quot; == &quot;second&quot;" type="REQUIRE">
TrickyTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
<testcase classname="global" name="An expression with side-effects should only be evaluated once" time="{duration}"/>
<testcase classname="global" name="Operators at different namespace levels not hijacked by Koenig lookup" time="{duration}"/>
<testcase classname="global" name="Demonstrate that a non-const == is not used" time="{duration}"/>
<testcase classname="global" name="Test enum bit values" time="{duration}"/>
<testcase classname="global" name="boolean member" time="{duration}"/>
<testcase classname="(unimplemented) static bools can be evaluated" name="compare to true" time="{duration}"/>
<testcase classname="(unimplemented) static bools can be evaluated" name="compare to false" time="{duration}"/>
<testcase classname="(unimplemented) static bools can be evaluated" name="negation" time="{duration}"/>
<testcase classname="(unimplemented) static bools can be evaluated" name="double negation" time="{duration}"/>
<testcase classname="(unimplemented) static bools can be evaluated" name="direct" time="{duration}"/>
<testcase classname="global" name="Objects that evaluated in boolean contexts can be checked" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="Assertions then sections" name="root" time="{duration}"/>
<testcase classname="Assertions then sections" name="A section" time="{duration}"/>
<testcase classname="Assertions then sections" name="A section/Another section" time="{duration}"/>
<testcase classname="Assertions then sections" name="A section/Another other section" time="{duration}"/>
<testcase classname="global" name="non streamable - with conv. op" time="{duration}"/>
<testcase classname="global" name="Comparing function pointers" time="{duration}"/>
<testcase classname="global" name="Comparing member function pointers" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="global" name="pointer to class" time="{duration}"/>
<testcase classname="global" name="null_ptr" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="global" name="X/level/0/a" time="{duration}"/>
<testcase classname="global" name="X/level/0/b" time="{duration}"/>
<testcase classname="global" name="X/level/1/a" time="{duration}"/>
<testcase classname="global" name="X/level/1/b" time="{duration}"/>
2014-09-03 20:22:47 +02:00
<testcase classname="global" name="toString( has_toString )" time="{duration}"/>
<testcase classname="global" name="toString( has_maker )" time="{duration}"/>
<testcase classname="global" name="toString( has_maker_and_toString )" time="{duration}"/>
<testcase classname="global" name="toString( vectors&lt;has_toString )" time="{duration}"/>
<testcase classname="global" name="toString( vectors&lt;has_maker )" time="{duration}"/>
<testcase classname="global" name="toString( vectors&lt;has_maker_and_toString )" time="{duration}"/>
<testcase classname="Tracker" name="root" time="{duration}"/>
<testcase classname="Tracker" name="successfully close one section" time="{duration}"/>
<testcase classname="Tracker" name="fail one section" time="{duration}"/>
<testcase classname="Tracker" name="fail one section/re-enter after failed section" time="{duration}"/>
<testcase classname="Tracker" name="fail one section/re-enter after failed section and find next section" time="{duration}"/>
<testcase classname="Tracker" name="successfully close one section, then find another" time="{duration}"/>
<testcase classname="Tracker" name="successfully close one section, then find another/Re-enter - skips S1 and enters S2" time="{duration}"/>
<testcase classname="Tracker" name="successfully close one section, then find another/Re-enter - skips S1 and enters S2/Successfully close S2" time="{duration}"/>
<testcase classname="Tracker" name="successfully close one section, then find another/Re-enter - skips S1 and enters S2/fail S2" time="{duration}"/>
<testcase classname="Tracker" name="open a nested section" time="{duration}"/>
<testcase classname="Tracker" name="start a generator" time="{duration}"/>
<testcase classname="Tracker" name="start a generator/close outer section" time="{duration}"/>
<testcase classname="Tracker" name="start a generator/close outer section/Re-enter for second generation" time="{duration}"/>
<testcase classname="Tracker" name="start a generator/Start a new inner section" time="{duration}"/>
<testcase classname="Tracker" name="start a generator/Start a new inner section/Re-enter for second generation" time="{duration}"/>
<testcase classname="Tracker" name="start a generator/Fail an inner section" time="{duration}"/>
<testcase classname="Tracker" name="start a generator/Fail an inner section/Re-enter for second generation" time="{duration}"/>
2014-09-03 20:22:47 +02:00
<testcase classname="global" name="std::pair&lt;int,std::string> -> toString" time="{duration}"/>
<testcase classname="global" name="std::pair&lt;int,const std::string> -> toString" time="{duration}"/>
<testcase classname="global" name="std::vector&lt;std::pair&lt;std::string,int> > -> toString" time="{duration}"/>
<testcase classname="global" name="pair&lt;pair&lt;int,const char *,pair&lt;std::string,int> > -> toString" time="{duration}"/>
<testcase classname="global" name="vector&lt;int> -> toString" time="{duration}"/>
<testcase classname="global" name="vector&lt;string> -> toString" time="{duration}"/>
<testcase classname="global" name="vector&lt;int,allocator> -> toString" time="{duration}"/>
<testcase classname="global" name="vec&lt;vec&lt;string,alloc>> -> toString" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Empty test spec should have no filters" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Test spec from empty string should have no filters" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Test spec from just a comma should have no filters" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Test spec from name should have one filter" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Test spec from quoted name should have one filter" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Test spec from name should have one filter" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Wildcard at the start" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Wildcard at the end" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Wildcard at both ends" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Redundant wildcard at the start" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Redundant wildcard at the end" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Redundant wildcard at both ends" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Wildcard at both ends, redundant at start" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Just wildcard" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Single tag" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Single tag, two matches" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Two tags" time="{duration}"/>
2014-05-20 19:28:48 +02:00
<testcase classname="Parse test names and tags" name="Two tags, spare separated" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Wildcarded name and tag" time="{duration}"/>
<testcase classname="Parse test names and tags" name="Single tag exclusion" time="{duration}"/>
<testcase classname="Parse test names and tags" name="One tag exclusion and one tag inclusion" time="{duration}"/>
<testcase classname="Parse test names and tags" name="One tag exclusion and one wldcarded name inclusion" time="{duration}"/>
<testcase classname="Parse test names and tags" name="One tag exclusion, using exclude:, and one wldcarded name inclusion" time="{duration}"/>
<testcase classname="Parse test names and tags" name="name exclusion" time="{duration}"/>
<testcase classname="Parse test names and tags" name="wildcarded name exclusion" time="{duration}"/>
<testcase classname="Parse test names and tags" name="wildcarded name exclusion with tag inclusion" time="{duration}"/>
<testcase classname="Parse test names and tags" name="wildcarded name exclusion, using exclude:, with tag inclusion" time="{duration}"/>
<testcase classname="Parse test names and tags" name="two wildcarded names" time="{duration}"/>
<testcase classname="Parse test names and tags" name="empty tag" time="{duration}"/>
<testcase classname="Parse test names and tags" name="empty quoted name" time="{duration}"/>
<testcase classname="Parse test names and tags" name="quoted string followed by tag exclusion" time="{duration}"/>
<testcase classname="global" name="tuple&lt;>" time="{duration}"/>
<testcase classname="global" name="tuple&lt;int>" time="{duration}"/>
<testcase classname="global" name="tuple&lt;float,int>" time="{duration}"/>
<testcase classname="global" name="tuple&lt;string,string>" time="{duration}"/>
<testcase classname="global" name="tuple&lt;tuple&lt;int>,tuple&lt;>,float>" time="{duration}"/>
<testcase classname="global" name="tuple&lt;nullptr,int,const char *>" time="{duration}"/>
2014-06-30 08:34:27 +02:00
<testcase classname="Tag alias can be registered against tag patterns" name="The same tag alias can only be registered once" time="{duration}"/>
<testcase classname="Tag alias can be registered against tag patterns" name="Tag aliases must be of the form [@name]" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<testcase classname="global" name="Anonymous test case 1" time="{duration}"/>
<testcase classname="global" name="Test case with one argument" time="{duration}"/>
<testcase classname="Variadic macros" name="Section with one argument" time="{duration}"/>
<testcase classname="Scenario: Do that thing with the thing" name="Given: This stuff exists/When: I do this/Then: it should do this" time="{duration}"/>
<testcase classname="Scenario: Do that thing with the thing" name="Given: This stuff exists/When: I do this/Then: it should do this/And: do that" time="{duration}"/>
<testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector" time="{duration}"/>
<testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector/When: it is made larger/Then: the size and capacity go up" time="{duration}"/>
<testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector/When: it is made larger/Then: the size and capacity go up/And when: it is made smaller again/Then: the size goes down but the capacity stays the same" time="{duration}"/>
<testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector/When: we reserve more space/Then: The capacity is increased but the size remains the same" time="{duration}"/>
<testcase classname="Scenario: This is a really long scenario name to see how the list command deals with wrapping" name="Given: A section name that is so long that it cannot fit in a single console width/When: The test headers are printed as part of the normal running of the scenario/Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent" time="{duration}"/>
2014-08-20 09:08:13 +02:00
<testcase classname="Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me" time="{duration}"/>
<testcase classname="Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me/When: We get the count/Then: Subsequently values are higher" time="{duration}"/>
2013-09-27 20:01:14 +02:00
<system-out>
Message from section one
Message from section two
A string sent directly to stdout
2013-09-27 20:01:14 +02:00
hello
hello
</system-out>
<system-err>
A string sent directly to stderr
2013-09-27 20:01:14 +02:00
</system-err>
</testsuite>
</testsuites>