2013-09-27 20:01:14 +02:00
<testsuites>
2015-03-04 09:22:32 +01:00
<testsuite name="all tests" errors="12" failures="87" tests="785" 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<<)" time="{duration}"/>
<testcase classname="global" name="toString(enum class)" time="{duration}"/>
<testcase classname="global" name="toString(enum class w/operator<<)" time="{duration}"/>
2013-11-19 08:21:03 +01:00
<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}"/>
2013-11-19 08:21:03 +01:00
<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=""hello" == "world"" type="REQUIRE">
2013-09-30 09:01:10 +02:00
ClassTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
ClassTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 == 8" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 == 0" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2014-07-09 19:16:40 +02:00
<failure message="9.1f == Approx( 9.1099996567 )" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2014-07-09 19:16:40 +02:00
<failure message="9.1f == Approx( 9.0 )" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2014-07-09 19:16:40 +02:00
<failure message="9.1f == Approx( 1.0 )" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2014-07-09 19:16:40 +02:00
<failure message="9.1f == Approx( 0.0 )" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="3.1415926535 == Approx( 3.1415 )" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" == "goodbye"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" == "hell"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" == "hello1"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="5 == 6" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="1.3 == Approx( 1.301 )" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2014-07-09 19:16:40 +02:00
<failure message="9.1f != Approx( 9.1000003815 )" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2013-12-19 19:41:55 +01:00
<failure message="3.1415926535 != Approx( 3.1415926535 )" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" != "hello"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="5 != 5" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 < 7" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 > 8" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 < 6" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 < 0" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 < -1" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 >= 8" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="7 <= 6" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2014-07-09 19:16:40 +02:00
<failure message="9.1f < 9" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2014-07-09 19:16:40 +02:00
<failure message="9.1f > 10" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
2014-07-09 19:16:40 +02:00
<failure message="9.1f > 9.2" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" > "hello"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" < "hello"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" > "hellp"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" > "z"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" < "hellm"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" < "a"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" >= "z"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message=""hello" <= "a"" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="true != true" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="!true" type="CHECK_FALSE">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="!true" type="CHECK_FALSE">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="CHECK">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="!(1 == 1)" type="CHECK_FALSE">
2013-09-30 09:01:10 +02:00
ConditionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
<failure message="thisDoesntThrow()" type="CHECK_THROWS_AS">
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<error message="thisThrows()" type="CHECK_NOTHROW">
expected exception
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2014-04-12 20:07:24 +02:00
ExceptionTests.cpp:<line number>
</error>
</testcase>
2014-04-12 20:20:46 +02:00
<testcase classname="global" name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail" time="{duration}">
2014-04-12 20:07:24 +02:00
<error message="thisThrows() == 0" type="REQUIRE">
expected exception
2014-04-12 20:20:46 +02:00
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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
ExceptionTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</error>
</testcase>
2013-11-19 08:21:03 +01:00
<testcase classname="global" name="NotImplemented exception" time="{duration}"/>
<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
2013-09-30 09:01:10 +02:00
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="2 == 0" type="CHECK">
and this, but later
2013-09-30 09:01:10 +02:00
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-12-15 00:16:03 +01:00
<testcase classname="global" name="SUCCESS does not require an argument" time="{duration}"/>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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>
2013-11-19 08:21:03 +01:00
<testcase classname="global" name="SCOPED_INFO is reset for each loop" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="10 < 10" type="REQUIRE">
current counter 10
i := 10
2013-09-30 09:01:10 +02:00
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
MessageTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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}"/>
2013-11-19 08:21:03 +01:00
<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}"/>
2014-04-21 20:02:38 +02:00
<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">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<testcase classname="looped SECTION tests" name="s1" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message="0 > 1" type="CHECK">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
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
2013-09-30 09:01:10 +02:00
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
2013-09-30 09:01:10 +02:00
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
2013-09-30 09:01:10 +02:00
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
2013-09-30 09:01:10 +02:00
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
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<testcase classname="global" name="Sends stuff to stdout and stderr" time="{duration}">
2013-09-27 20:01:14 +02:00
<system-out>
2013-12-19 09:07:33 +01:00
A string sent directly to stdout
2013-09-27 20:01:14 +02:00
</system-out>
<system-err>
2013-12-19 09:07:33 +01:00
A string sent directly to stderr
2013-09-27 20:01:14 +02:00
</system-err>
</testcase>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="REQUIRE">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="false" type="REQUIRE">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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=""this string contains 'abc' as a substring" contains: "not there"" type="CHECK_THAT">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<testcase classname="global" name="StartsWith string matcher" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message=""this string contains 'abc' as a substring" starts with: "string"" type="CHECK_THAT">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<testcase classname="global" name="EndsWith string matcher" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message=""this string contains 'abc' as a substring" ends with: "this"" type="CHECK_THAT">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<testcase classname="global" name="Equals string matcher" time="{duration}">
2013-09-27 20:01:14 +02:00
<failure message=""this string contains 'abc' as a substring" equals: "something else"" type="CHECK_THAT">
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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}"/>
2013-11-19 08:21:03 +01:00
<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
2013-09-30 09:01:10 +02:00
MiscTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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=""if ($b == 10) {
$a = 20;
}"
==
"if ($b == 10) {
$a = 20;
}
"" 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}"/>
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/--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}"/>
2015-03-04 09:22:32 +01:00
<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}"/>
2013-10-23 16:35:07 +02:00
<testcase classname="global" name="Long text is truncted" time="{duration}"/>
2013-11-19 08:21:03 +01:00
<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">
2013-09-30 09:01:10 +02:00
TrickyTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
<failure message="{?} == {?}" type="CHECK">
2013-09-30 09:01:10 +02:00
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=""first" == "second"" type="REQUIRE">
2013-09-30 09:01:10 +02:00
TrickyTests.cpp:<line number>
2013-09-27 20:01:14 +02:00
</failure>
</testcase>
2013-11-19 08:21:03 +01:00
<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}"/>
2014-01-07 18:25:27 +01:00
<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}"/>
2014-04-23 19:19:19 +02:00
<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<has_toString )" time="{duration}"/>
<testcase classname="global" name="toString( vectors<has_maker )" time="{duration}"/>
<testcase classname="global" name="toString( vectors<has_maker_and_toString )" time="{duration}"/>
<testcase classname="global" name="std::pair<int,std::string> -> toString" time="{duration}"/>
<testcase classname="global" name="std::pair<int,const std::string> -> toString" time="{duration}"/>
<testcase classname="global" name="std::vector<std::pair<std::string,int> > -> toString" time="{duration}"/>
<testcase classname="global" name="pair<pair<int,const char *,pair<std::string,int> > -> toString" time="{duration}"/>
<testcase classname="global" name="vector<int> -> toString" time="{duration}"/>
<testcase classname="global" name="vector<string> -> toString" time="{duration}"/>
<testcase classname="global" name="vector<int,allocator> -> toString" time="{duration}"/>
<testcase classname="global" name="vec<vec<string,alloc>> -> toString" time="{duration}"/>
2014-05-16 19:31:15 +02:00
<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}"/>
2014-05-19 19:21:01 +02:00
<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}"/>
2014-05-16 19:31:15 +02:00
<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}"/>
2014-05-16 19:31:15 +02:00
<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}"/>
2014-12-30 19:47:01 +01:00
<testcase classname="global" name="tuple<>" time="{duration}"/>
<testcase classname="global" name="tuple<int>" time="{duration}"/>
<testcase classname="global" name="tuple<float,int>" time="{duration}"/>
<testcase classname="global" name="tuple<string,string>" time="{duration}"/>
<testcase classname="global" name="tuple<tuple<int>,tuple<>,float>" time="{duration}"/>
<testcase classname="global" name="tuple<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
<testcase classname="section tracking" name="root" time="{duration}"/>
<testcase classname="section tracking" name="test case with no sections" time="{duration}"/>
<testcase classname="section tracking" name="test case with one section" time="{duration}"/>
<testcase classname="section tracking" name="test case with two consecutive sections" time="{duration}"/>
<testcase classname="section tracking" name="test case with one section within another" time="{duration}"/>
<system-out>
Message from section one
Message from section two
2013-12-19 09:07:33 +01:00
A string sent directly to stdout
2013-09-27 20:01:14 +02:00
hello
hello
</system-out>
<system-err>
2013-12-19 09:07:33 +01:00
A string sent directly to stderr
2013-09-27 20:01:14 +02:00
</system-err>
</testsuite>
</testsuites>