mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-05 05:39:53 +01:00
1712 lines
102 KiB
Plaintext
1712 lines
102 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuitesloose text artifact
|
|
>
|
|
<testsuite name="<exe-name>" errors="17" failures="132" tests="1671" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
|
|
<properties>
|
|
<property name="filters" value="~[!nonportable]~[!benchmark]~[approvals]"/>
|
|
<property name="random-seed" value="1"/>
|
|
</properties>
|
|
<testcase classname="<exe-name>.global" name="# A test name that starts with a #" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1005: Comparing pointer to int and long (NULL can be either on various systems)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1027" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1027: Bitfields can be captured" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1147" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1175 - Hidden Test" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1238" time="{duration}"/>
|
|
<testcase classname="<exe-name>.(Fixture_1245<int, int>)" name="#1245" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1403" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1455 - INFO and WARN can start with a linebreak" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#1514: stderr/stdout is not captured in tests aborted by an exception" time="{duration}">
|
|
<failure type="FAIL">
|
|
FAILED:
|
|
1514
|
|
Tricky.tests.cpp:<line number>
|
|
</failure>
|
|
<system-out>
|
|
This would not be caught previously
|
|
</system-out>
|
|
<system-err>
|
|
Nor would this
|
|
</system-err>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="#1548" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#748 - captures with unexpected exceptions/outside assertions" time="{duration}">
|
|
<error type="TEST_CASE">
|
|
FAILED:
|
|
expected exception
|
|
answer := 42
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="#748 - captures with unexpected exceptions/inside REQUIRE_NOTHROW" time="{duration}">
|
|
<error message="thisThrows()" type="REQUIRE_NOTHROW">
|
|
FAILED:
|
|
REQUIRE_NOTHROW( thisThrows() )
|
|
expected exception
|
|
answer := 42
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="#748 - captures with unexpected exceptions/inside REQUIRE_THROWS" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#809" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#833" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#835 -- errno should not be touched by Catch" time="{duration}">
|
|
<failure message="f() == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( f() == 0 )
|
|
with expansion:
|
|
1 == 0
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="#872" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#961 -- Dynamically created sections should all be reported/Looped section 0" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#961 -- Dynamically created sections should all be reported/Looped section 1" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#961 -- Dynamically created sections should all be reported/Looped section 2" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#961 -- Dynamically created sections should all be reported/Looped section 3" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="#961 -- Dynamically created sections should all be reported/Looped section 4" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="'Not' checks that should fail" time="{duration}">
|
|
<failure message="false != false" type="CHECK">
|
|
FAILED:
|
|
CHECK( false != false )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="true != true" type="CHECK">
|
|
FAILED:
|
|
CHECK( true != true )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="!true" type="CHECK">
|
|
FAILED:
|
|
CHECK( !true )
|
|
with expansion:
|
|
false
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="!(true)" type="CHECK_FALSE">
|
|
FAILED:
|
|
CHECK_FALSE( true )
|
|
with expansion:
|
|
!true
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="!trueValue" type="CHECK">
|
|
FAILED:
|
|
CHECK( !trueValue )
|
|
with expansion:
|
|
false
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="!(trueValue)" type="CHECK_FALSE">
|
|
FAILED:
|
|
CHECK_FALSE( trueValue )
|
|
with expansion:
|
|
!true
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="!(1 == 1)" type="CHECK">
|
|
FAILED:
|
|
CHECK( !(1 == 1) )
|
|
with expansion:
|
|
false
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="!(1 == 1)" type="CHECK_FALSE">
|
|
FAILED:
|
|
CHECK_FALSE( 1 == 1 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="'Not' checks that should succeed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="(unimplemented) static bools can be evaluated/compare to true" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="(unimplemented) static bools can be evaluated/compare to false" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="(unimplemented) static bools can be evaluated/negation" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="(unimplemented) static bools can be evaluated/double negation" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="(unimplemented) static bools can be evaluated/direct" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="3x3x3 ints" time="{duration}"/>
|
|
<testcase classname="<exe-name>.TestClass" name="A METHOD_AS_TEST_CASE based test run that fails" time="{duration}">
|
|
<failure message="s == "world"" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( s == "world" )
|
|
with expansion:
|
|
"hello" == "world"
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.TestClass" name="A METHOD_AS_TEST_CASE based test run that succeeds" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - Template_Foo<float>" time="{duration}">
|
|
<failure message="Template_Fixture_2<TestType>::m_a.size() == 1" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 )
|
|
with expansion:
|
|
0 == 1
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - Template_Foo<int>" time="{duration}">
|
|
<failure message="Template_Fixture_2<TestType>::m_a.size() == 1" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 )
|
|
with expansion:
|
|
0 == 1
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - std::vector<float>" time="{duration}">
|
|
<failure message="Template_Fixture_2<TestType>::m_a.size() == 1" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 )
|
|
with expansion:
|
|
0 == 1
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - std::vector<int>" time="{duration}">
|
|
<failure message="Template_Fixture_2<TestType>::m_a.size() == 1" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 )
|
|
with expansion:
|
|
0 == 1
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - Template_Foo<float>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - Template_Foo<int>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - std::vector<float>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - std::vector<int>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - Template_Foo_2<float, 6>" time="{duration}">
|
|
<failure message="Template_Fixture_2<TestType>{}.m_a.size() < 2" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture_2<TestType>{}.m_a.size() < 2 )
|
|
with expansion:
|
|
6 < 2
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - Template_Foo_2<int, 2>" time="{duration}">
|
|
<failure message="Template_Fixture_2<TestType>{}.m_a.size() < 2" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture_2<TestType>{}.m_a.size() < 2 )
|
|
with expansion:
|
|
2 < 2
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - std::array<float, 6>" time="{duration}">
|
|
<failure message="Template_Fixture_2<TestType>{}.m_a.size() < 2" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture_2<TestType>{}.m_a.size() < 2 )
|
|
with expansion:
|
|
6 < 2
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - std::array<int, 2>" time="{duration}">
|
|
<failure message="Template_Fixture_2<TestType>{}.m_a.size() < 2" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture_2<TestType>{}.m_a.size() < 2 )
|
|
with expansion:
|
|
2 < 2
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - Template_Foo_2<float,6>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - Template_Foo_2<int,2>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - std::array<float,6>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture_2" name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - std::array<int,2>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="A TEMPLATE_TEST_CASE_METHOD based test run that fails - double" time="{duration}">
|
|
<failure message="Template_Fixture<TestType>::m_a == 2" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture<TestType>::m_a == 2 )
|
|
with expansion:
|
|
1.0 == 2
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="A TEMPLATE_TEST_CASE_METHOD based test run that fails - float" time="{duration}">
|
|
<failure message="Template_Fixture<TestType>::m_a == 2" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture<TestType>::m_a == 2 )
|
|
with expansion:
|
|
1.0f == 2
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="A TEMPLATE_TEST_CASE_METHOD based test run that fails - int" time="{duration}">
|
|
<failure message="Template_Fixture<TestType>::m_a == 2" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Template_Fixture<TestType>::m_a == 2 )
|
|
with expansion:
|
|
1 == 2
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - double" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - float" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - int" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Nttp_Fixture" name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 1" time="{duration}">
|
|
<failure message="Nttp_Fixture<V>::value == 0" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Nttp_Fixture<V>::value == 0 )
|
|
with expansion:
|
|
1 == 0
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Nttp_Fixture" name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 3" time="{duration}">
|
|
<failure message="Nttp_Fixture<V>::value == 0" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Nttp_Fixture<V>::value == 0 )
|
|
with expansion:
|
|
3 == 0
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Nttp_Fixture" name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 6" time="{duration}">
|
|
<failure message="Nttp_Fixture<V>::value == 0" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( Nttp_Fixture<V>::value == 0 )
|
|
with expansion:
|
|
6 == 0
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Nttp_Fixture" name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 1" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Nttp_Fixture" name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 3" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Nttp_Fixture" name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 6" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Fixture" name="A TEST_CASE_METHOD based test run that fails" time="{duration}">
|
|
<failure message="m_a == 2" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( m_a == 2 )
|
|
with expansion:
|
|
1 == 2
|
|
Class.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.Fixture" name="A TEST_CASE_METHOD based test run that succeeds" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A Template product test case - Foo<float>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A Template product test case - Foo<int>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A Template product test case - std::vector<float>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A Template product test case - std::vector<int>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A Template product test case with array signature - Bar<float, 42>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A Template product test case with array signature - Bar<int, 9>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A Template product test case with array signature - std::array<float, 42>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A Template product test case with array signature - std::array<int, 9>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A comparison that uses literals instead of the normal constructor" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A couple of nested sections followed by a failure" time="{duration}">
|
|
<failure type="FAIL">
|
|
FAILED:
|
|
to infinity and beyond
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="A couple of nested sections followed by a failure/Outer/Inner" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="A failing expression with a non streamable type is still captured" time="{duration}">
|
|
<failure message="&o1 == &o2" type="CHECK">
|
|
FAILED:
|
|
CHECK( &o1 == &o2 )
|
|
with expansion:
|
|
0x<hex digits> == 0x<hex digits>
|
|
Tricky.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="o1 == o2" type="CHECK">
|
|
FAILED:
|
|
CHECK( o1 == o2 )
|
|
with expansion:
|
|
{?} == {?}
|
|
Tricky.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Absolute margin" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="An expression with side-effects should only be evaluated once" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="An unchecked exception reports the line of the last assertion" time="{duration}">
|
|
<error message="{Unknown expression after the reported line}">
|
|
FAILED:
|
|
{Unknown expression after the reported line}
|
|
unexpected exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Anonymous test case 1" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Approx setters validate their arguments" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Approx with exactly-representable margin" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Approximate PI" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Approximate comparisons with different epsilons" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Approximate comparisons with floats" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Approximate comparisons with ints" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Approximate comparisons with mixed numeric types" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Arbitrary predicate matcher/Function pointer" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Arbitrary predicate matcher/Lambdas + different type" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Assertions then sections" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Assertions then sections/A section" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Assertions then sections/A section/Another section" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Assertions then sections/A section/Another other section" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="CAPTURE can deal with complex expressions" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="CAPTURE can deal with complex expressions involving commas" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="CAPTURE parses string and character constants" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Capture and info messages/Capture should stringify like assertions" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Capture and info messages/Info should NOT stringify the way assertions do" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Character pretty printing/Specifically escaped" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Character pretty printing/General chars" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Character pretty printing/Low ASCII" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Commas in various macros are allowed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Comparing function pointers" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Comparison ops" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Comparison with explicitly convertible types" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Comparisons between ints where one side is computed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Comparisons with int literals don't warn when mixing signed/ unsigned" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Contains string matcher" time="{duration}">
|
|
<failure message="testStringForMatching(), Contains("not there", Catch::CaseSensitive::No)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), Contains("not there", Catch::CaseSensitive::No) )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" contains: "not there" (case
|
|
insensitive)
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="testStringForMatching(), Contains("STRING")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), Contains("STRING") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" contains: "STRING"
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Copy and then generate a range/from var and iterators" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Copy and then generate a range/From a temporary container" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Copy and then generate a range/Final validation" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Custom exceptions can be translated when testing for nothrow" time="{duration}">
|
|
<error message="throwCustom()" type="REQUIRE_NOTHROW">
|
|
FAILED:
|
|
REQUIRE_NOTHROW( throwCustom() )
|
|
custom exception - not std
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Custom exceptions can be translated when testing for throwing as something else" time="{duration}">
|
|
<error message="throwCustom(), std::exception" type="REQUIRE_THROWS_AS">
|
|
FAILED:
|
|
REQUIRE_THROWS_AS( throwCustom(), std::exception )
|
|
custom exception - not std
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Custom std-exceptions can be custom translated" time="{duration}">
|
|
<error type="TEST_CASE">
|
|
FAILED:
|
|
custom std exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Default scale is invisible to comparison" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Directly creating an EnumInfo" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="EndsWith string matcher" time="{duration}">
|
|
<failure message="testStringForMatching(), EndsWith("Substring")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), EndsWith("Substring") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" ends with: "Substring"
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No) )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" ends with: "this" (case
|
|
insensitive)
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Enums can quickly have stringification enabled using REGISTER_ENUM" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Enums in namespaces can quickly have stringification enabled using REGISTER_ENUM" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Epsilon only applies to Approx's value" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Equality checks that should fail" time="{duration}">
|
|
<failure message="data.int_seven == 6" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven == 6 )
|
|
with expansion:
|
|
7 == 6
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven == 8" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven == 8 )
|
|
with expansion:
|
|
7 == 8
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven == 0 )
|
|
with expansion:
|
|
7 == 0
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.float_nine_point_one == Approx( 9.11f )" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.float_nine_point_one == Approx( 9.11f ) )
|
|
with expansion:
|
|
9.1f == Approx( 9.1099996567 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.float_nine_point_one == Approx( 9.0f )" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.float_nine_point_one == Approx( 9.0f ) )
|
|
with expansion:
|
|
9.1f == Approx( 9.0 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.float_nine_point_one == Approx( 1 )" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.float_nine_point_one == Approx( 1 ) )
|
|
with expansion:
|
|
9.1f == Approx( 1.0 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.float_nine_point_one == Approx( 0 )" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.float_nine_point_one == Approx( 0 ) )
|
|
with expansion:
|
|
9.1f == Approx( 0.0 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.double_pi == Approx( 3.1415 )" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.double_pi == Approx( 3.1415 ) )
|
|
with expansion:
|
|
3.1415926535 == Approx( 3.1415 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello == "goodbye"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello == "goodbye" )
|
|
with expansion:
|
|
"hello" == "goodbye"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello == "hell"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello == "hell" )
|
|
with expansion:
|
|
"hello" == "hell"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello == "hello1"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello == "hello1" )
|
|
with expansion:
|
|
"hello" == "hello1"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello.size() == 6" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello.size() == 6 )
|
|
with expansion:
|
|
5 == 6
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="x == Approx( 1.301 )" type="CHECK">
|
|
FAILED:
|
|
CHECK( x == Approx( 1.301 ) )
|
|
with expansion:
|
|
1.3 == Approx( 1.301 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Equality checks that should succeed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Equals" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Equals string matcher" time="{duration}">
|
|
<failure message="testStringForMatching(), Equals("this string contains 'ABC' as a substring")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), Equals("this string contains 'ABC' as a substring") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" equals: "this string contains
|
|
'ABC' as a substring"
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="testStringForMatching(), Equals("something else", Catch::CaseSensitive::No)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), Equals("something else", Catch::CaseSensitive::No) )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" equals: "something else" (case
|
|
insensitive)
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Exception as a value (e.g. in REQUIRE_THROWS_MATCHES) can be stringified" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Exception matchers that fail/No exception" time="{duration}">
|
|
<failure message="doesNotThrow(), SpecialException, ExceptionMatcher{1}" type="CHECK_THROWS_MATCHES">
|
|
FAILED:
|
|
CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="doesNotThrow(), SpecialException, ExceptionMatcher{1}" type="REQUIRE_THROWS_MATCHES">
|
|
FAILED:
|
|
REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Exception matchers that fail/Type mismatch" time="{duration}">
|
|
<error message="throwsAsInt(1), SpecialException, ExceptionMatcher{1}" type="CHECK_THROWS_MATCHES">
|
|
FAILED:
|
|
CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
|
|
Unknown exception
|
|
Matchers.tests.cpp:<line number>
|
|
</error>
|
|
<error message="throwsAsInt(1), SpecialException, ExceptionMatcher{1}" type="REQUIRE_THROWS_MATCHES">
|
|
FAILED:
|
|
REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
|
|
Unknown exception
|
|
Matchers.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Exception matchers that fail/Contents are wrong" time="{duration}">
|
|
<failure message="throwsSpecialException(3), SpecialException, ExceptionMatcher{1}" type="CHECK_THROWS_MATCHES">
|
|
FAILED:
|
|
CHECK_THROWS_MATCHES( throwsSpecialException(3), SpecialException, ExceptionMatcher{1} )
|
|
with expansion:
|
|
SpecialException::what special exception has value of 1
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="throwsSpecialException(4), SpecialException, ExceptionMatcher{1}" type="REQUIRE_THROWS_MATCHES">
|
|
FAILED:
|
|
REQUIRE_THROWS_MATCHES( throwsSpecialException(4), SpecialException, ExceptionMatcher{1} )
|
|
with expansion:
|
|
SpecialException::what special exception has value of 1
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Exception matchers that succeed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Exception messages can be tested for/exact match" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Exception messages can be tested for/different case" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Exception messages can be tested for/wildcarded" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Exceptions matchers" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Expected exceptions that don't throw or unexpected exceptions fail the test" time="{duration}">
|
|
<error message="thisThrows(), std::string" type="CHECK_THROWS_AS">
|
|
FAILED:
|
|
CHECK_THROWS_AS( thisThrows(), std::string )
|
|
expected exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
<failure message="thisDoesntThrow(), std::domain_error" type="CHECK_THROWS_AS">
|
|
FAILED:
|
|
CHECK_THROWS_AS( thisDoesntThrow(), std::domain_error )
|
|
Exception.tests.cpp:<line number>
|
|
</failure>
|
|
<error message="thisThrows()" type="CHECK_NOTHROW">
|
|
FAILED:
|
|
CHECK_NOTHROW( thisThrows() )
|
|
expected exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="FAIL aborts the test" time="{duration}">
|
|
<failure type="FAIL">
|
|
FAILED:
|
|
This is a failure
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="FAIL does not require an argument" time="{duration}">
|
|
<failure type="FAIL">
|
|
FAILED:
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="FAIL_CHECK does not abort the test" time="{duration}">
|
|
<failure type="FAIL_CHECK">
|
|
FAILED:
|
|
This is a failure
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Factorials are computed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: double/Relative" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: double/Relative/Some subnormal values" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: double/Margin" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: double/ULPs" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: double/Composed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: double/Constructor validation" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: float/Relative" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: float/Relative/Some subnormal values" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: float/Margin" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: float/ULPs" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: float/Composed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Floating point matchers: float/Constructor validation" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Filtering by predicate/Basic usage" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Filtering by predicate/Throws if there are no matching values" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Shortening a range" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Transforming elements/Same type" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Transforming elements/Different type" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Transforming elements/Different deduced type" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Repeating a generator" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Chunking a generator into sized pieces/Number of elements in source is divisible by chunk size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Chunking a generator into sized pieces/Number of elements in source is not divisible by chunk size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Chunking a generator into sized pieces/Chunk size of zero" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- adapters/Chunking a generator into sized pieces/Throws on too small generators" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- simple/one" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators -- simple/two" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Single value" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Preset values" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Generator combinator" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Explicitly typed generator sequence" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Filter generator" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Take generator/Take less" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Take generator/Take more" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Map with explicit return type" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Map with deduced return type" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Repeat/Singular repeat" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Repeat/Actual repeat" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Positive auto step/Integer" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Negative auto step/Integer" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Positive manual step/Integer/Exact" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Positive manual step/Integer/Slightly over end" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Positive manual step/Integer/Slightly under end" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Positive manual step/Floating Point/Exact" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Positive manual step/Floating Point/Slightly over end" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Positive manual step/Floating Point/Slightly under end" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Negative manual step/Integer/Exact" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Negative manual step/Integer/Slightly over end" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Generators internals/Range/Negative manual step/Integer/Slightly under end" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Greater-than inequalities with different epsilons" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="INFO and WARN do not abort tests" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="INFO gets logged on failure" time="{duration}">
|
|
<failure message="a == 1" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( a == 1 )
|
|
with expansion:
|
|
2 == 1
|
|
this message should be logged
|
|
so should this
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="INFO gets logged on failure, even if captured before successful assertions" time="{duration}">
|
|
<failure message="a == 1" type="CHECK">
|
|
FAILED:
|
|
CHECK( a == 1 )
|
|
with expansion:
|
|
2 == 1
|
|
this message may be logged later
|
|
this message should be logged
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="a == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( a == 0 )
|
|
with expansion:
|
|
2 == 0
|
|
this message may be logged later
|
|
this message should be logged
|
|
and this, but later
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="INFO is reset for each loop" time="{duration}">
|
|
<failure message="i < 10" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( i < 10 )
|
|
with expansion:
|
|
10 < 10
|
|
current counter 10
|
|
i := 10
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Inequality checks that should fail" time="{duration}">
|
|
<failure message="data.int_seven != 7" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven != 7 )
|
|
with expansion:
|
|
7 != 7
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.float_nine_point_one != Approx( 9.1f )" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.float_nine_point_one != Approx( 9.1f ) )
|
|
with expansion:
|
|
9.1f != Approx( 9.1000003815 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.double_pi != Approx( 3.1415926535 )" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.double_pi != Approx( 3.1415926535 ) )
|
|
with expansion:
|
|
3.1415926535 != Approx( 3.1415926535 )
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello != "hello"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello != "hello" )
|
|
with expansion:
|
|
"hello" != "hello"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello.size() != 5" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello.size() != 5 )
|
|
with expansion:
|
|
5 != 5
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Inequality checks that should succeed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Less-than inequalities with different epsilons" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="ManuallyRegistered" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Matchers can be (AllOf) composed with the && operator" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Matchers can be (AnyOf) composed with the || operator" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Matchers can be composed with both && and ||" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Matchers can be composed with both && and || - failing" time="{duration}">
|
|
<failure message="testStringForMatching(), (Contains("string") || Contains("different")) && Contains("random")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), (Contains("string") || Contains("different")) && Contains("random") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" ( ( contains: "string" or
|
|
contains: "different" ) and contains: "random" )
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Matchers can be negated (Not) with the ! operator" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Matchers can be negated (Not) with the ! operator - failing" time="{duration}">
|
|
<failure message="testStringForMatching(), !Contains("substring")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), !Contains("substring") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" not contains: "substring"
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Mismatching exception messages failing the test" time="{duration}">
|
|
<failure message="thisThrows(), "should fail"" type="REQUIRE_THROWS_WITH">
|
|
FAILED:
|
|
REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
|
|
with expansion:
|
|
"expected exception" equals: "should fail"
|
|
Exception.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Nested generators and captured variables" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Nice descriptive name" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Non-std exceptions can be translated" time="{duration}">
|
|
<error type="TEST_CASE">
|
|
FAILED:
|
|
custom exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Objects that evaluated in boolean contexts can be checked" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Optionally static assertions" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Ordering comparison checks that should fail" time="{duration}">
|
|
<failure message="data.int_seven > 7" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven > 7 )
|
|
with expansion:
|
|
7 > 7
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven < 7" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven < 7 )
|
|
with expansion:
|
|
7 < 7
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven > 8" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven > 8 )
|
|
with expansion:
|
|
7 > 8
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven < 6" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven < 6 )
|
|
with expansion:
|
|
7 < 6
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven < 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven < 0 )
|
|
with expansion:
|
|
7 < 0
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven < -1" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven < -1 )
|
|
with expansion:
|
|
7 < -1
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven >= 8" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven >= 8 )
|
|
with expansion:
|
|
7 >= 8
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.int_seven <= 6" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.int_seven <= 6 )
|
|
with expansion:
|
|
7 <= 6
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.float_nine_point_one < 9" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.float_nine_point_one < 9 )
|
|
with expansion:
|
|
9.1f < 9
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.float_nine_point_one > 10" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.float_nine_point_one > 10 )
|
|
with expansion:
|
|
9.1f > 10
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.float_nine_point_one > 9.2" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.float_nine_point_one > 9.2 )
|
|
with expansion:
|
|
9.1f > 9.2
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello > "hello"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello > "hello" )
|
|
with expansion:
|
|
"hello" > "hello"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello < "hello"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello < "hello" )
|
|
with expansion:
|
|
"hello" < "hello"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello > "hellp"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello > "hellp" )
|
|
with expansion:
|
|
"hello" > "hellp"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello > "z"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello > "z" )
|
|
with expansion:
|
|
"hello" > "z"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello < "hellm"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello < "hellm" )
|
|
with expansion:
|
|
"hello" < "hellm"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello < "a"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello < "a" )
|
|
with expansion:
|
|
"hello" < "a"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello >= "z"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello >= "z" )
|
|
with expansion:
|
|
"hello" >= "z"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="data.str_hello <= "a"" type="CHECK">
|
|
FAILED:
|
|
CHECK( data.str_hello <= "a" )
|
|
with expansion:
|
|
"hello" <= "a"
|
|
Condition.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Ordering comparison checks that should succeed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Our PCG implementation provides expected results for known seeds/Default seeded" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Our PCG implementation provides expected results for known seeds/Specific seed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Output from all sections is reported/one" time="{duration}">
|
|
<failure type="FAIL">
|
|
FAILED:
|
|
Message from section one
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Output from all sections is reported/two" time="{duration}">
|
|
<failure type="FAIL">
|
|
FAILED:
|
|
Message from section two
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Empty test spec should have no filters" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Test spec from empty string should have no filters" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Test spec from just a comma should have no filters" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Test spec from name should have one filter" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Test spec from quoted name should have one filter" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Test spec from name should have one filter" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Wildcard at the start" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Wildcard at the end" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Wildcard at both ends" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Redundant wildcard at the start" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Redundant wildcard at the end" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Redundant wildcard at both ends" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Wildcard at both ends, redundant at start" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Just wildcard" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Single tag" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Single tag, two matches" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Two tags" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Two tags, spare separated" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Wildcarded name and tag" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Single tag exclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/One tag exclusion and one tag inclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/One tag exclusion and one wldcarded name inclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/One tag exclusion, using exclude:, and one wldcarded name inclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/name exclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/wildcarded name exclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/wildcarded name exclusion with tag inclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/wildcarded name exclusion, using exclude:, with tag inclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/two wildcarded names" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/empty tag" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/empty quoted name" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/quoted string followed by tag exclusion" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Leading and trailing spaces in test spec" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Parse test names and tags/Leading and trailing spaces in test name" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Pointers can be compared to null" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Precision of floating point stringification can be set/Floats" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Precision of floating point stringification can be set/Double" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Predicate matcher can accept const char*" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/empty args don't cause a crash" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/default - no arguments" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/test lists/Specify one test case using" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/test lists/Specify one test case exclusion using exclude:" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/test lists/Specify one test case exclusion using ~" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/reporter/-r/console" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/reporter/-r/xml" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/reporter/--reporter/junit" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/reporter/Only one reporter is accepted" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/reporter/must match one of the available ones" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/debugger/-b" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/debugger/--break" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/abort/-a aborts after first failure" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/abort/-x 2 aborts after two failures" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/abort/-x must be numeric" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/nothrow/-e" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/nothrow/--nothrow" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/output filename/-o filename" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/output filename/--out" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/combinations/Single character flags can be combined" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/use-colour/without option" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/use-colour/auto" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/use-colour/yes" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/use-colour/no" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/use-colour/error" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/Benchmark options/samples" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/Benchmark options/resamples" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/Benchmark options/resamples" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Process can be configured on command line/Benchmark options/resamples" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Product with differing arities - std::tuple<int, double, float>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Product with differing arities - std::tuple<int, double>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Product with differing arities - std::tuple<int>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Reconstruction should be based on stringification: #914" time="{duration}">
|
|
<failure message="truthy(false)" type="CHECK">
|
|
FAILED:
|
|
CHECK( truthy(false) )
|
|
with expansion:
|
|
Hey, its truthy!
|
|
Decomposition.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Regex string matcher" time="{duration}">
|
|
<failure message="testStringForMatching(), Matches("this STRING contains 'abc' as a substring")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), Matches("this STRING contains 'abc' as a substring") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" matches "this STRING contains
|
|
'abc' as a substring" case sensitively
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="testStringForMatching(), Matches("contains 'abc' as a substring")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), Matches("contains 'abc' as a substring") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" matches "contains 'abc' as a
|
|
substring" case sensitively
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="testStringForMatching(), Matches("this string contains 'abc' as a")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), Matches("this string contains 'abc' as a") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" matches "this string contains
|
|
'abc' as a" case sensitively
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Regression test #1" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="SUCCEED counts as a test pass" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="SUCCEED does not require an argument" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me" time="{duration}"/>
|
|
<testcase classname="<exe-name>.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}"/>
|
|
<testcase classname="<exe-name>.global" name="Scenario: Do that thing with the thing/Given: This stuff exists/And given: And some assumption/When: I do this/Then: it should do this" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Scenario: Do that thing with the thing/Given: This stuff exists/And given: And some assumption/When: I do this/Then: it should do this/And: do that" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Scenario: This is a really long scenario name to see how the list command deals with wrapping/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}"/>
|
|
<testcase classname="<exe-name>.global" name="Scenario: Vector resizing affects size and capacity/Given: an empty vector" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Scenario: Vector resizing affects size and capacity/Given: an empty vector/When: it is made larger/Then: the size and capacity go up" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Scenario: Vector resizing affects size and capacity/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="<exe-name>.global" name="Scenario: Vector resizing affects size and capacity/Given: an empty vector/When: we reserve more space/Then: The capacity is increased but the size remains the same" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Sends stuff to stdout and stderr" time="{duration}">
|
|
<system-out>
|
|
A string sent directly to stdout
|
|
</system-out>
|
|
<system-err>
|
|
A string sent directly to stderr
|
|
A string sent to stderr via clog
|
|
</system-err>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Some simple comparisons between doubles" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Standard output from all sections is reported/two" time="{duration}">
|
|
<system-out>
|
|
Message from section one
|
|
Message from section two
|
|
</system-out>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="StartsWith string matcher" time="{duration}">
|
|
<failure message="testStringForMatching(), StartsWith("This String")" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), StartsWith("This String") )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" starts with: "This String"
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No) )
|
|
with expansion:
|
|
"this string contains 'abc' as a substring" starts with: "string" (case
|
|
insensitive)
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Static arrays are convertible to string/Single item" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Static arrays are convertible to string/Multiple" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Static arrays are convertible to string/Non-trivial inner items" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="String matchers" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/Empty string" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/From string literal" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/From sub-string" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/Substrings/zero-based substring" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/Substrings/non-zero-based substring" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/Substrings/Pointer values of full refs should match" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/Substrings/Pointer values of substring refs should also match" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/Substrings/Past the end substring" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/Substrings/Substring off the end are trimmed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/Comparisons are deep" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/from std::string/implicitly constructed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/from std::string/explicitly constructed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/from std::string/assigned" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/to std::string/explicitly constructed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef/to std::string/assigned" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef at compilation time/Simple constructors" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="StringRef at compilation time/UDL construction" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Stringifying std::chrono::duration helpers" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Stringifying std::chrono::duration with weird ratios" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Stringifying std::chrono::time_point<system_clock>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tabs and newlines show in output" time="{duration}">
|
|
<failure message="s1 == s2" type="CHECK">
|
|
FAILED:
|
|
CHECK( s1 == s2 )
|
|
with expansion:
|
|
"if ($b == 10) {
|
|
$a = 20;
|
|
}"
|
|
==
|
|
"if ($b == 10) {
|
|
$a = 20;
|
|
}
|
|
"
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Tag alias can be registered against tag patterns/The same tag alias can only be registered once" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tag alias can be registered against tag patterns/Tag aliases must be of the form [@name]" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="Template test case method with test types specified inside std::tuple - MyTypes - 0" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="Template test case method with test types specified inside std::tuple - MyTypes - 1" time="{duration}"/>
|
|
<testcase classname="<exe-name>.Template_Fixture" name="Template test case method with test types specified inside std::tuple - MyTypes - 2" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Template test case with test types specified inside non-copyable and non-movable std::tuple - NonCopyableAndNonMovableTypes - 0" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Template test case with test types specified inside non-copyable and non-movable std::tuple - NonCopyableAndNonMovableTypes - 1" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Template test case with test types specified inside non-default-constructible std::tuple - MyNonDefaultConstructibleTypes - 0" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Template test case with test types specified inside non-default-constructible std::tuple - MyNonDefaultConstructibleTypes - 1" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Template test case with test types specified inside std::tuple - MyTypes - 0" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Template test case with test types specified inside std::tuple - MyTypes - 1" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Template test case with test types specified inside std::tuple - MyTypes - 2" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - float" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - float/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - float/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - float/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - float/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - float/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - int" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - int/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - int/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - int/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - int/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - int/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::string" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::string/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::string/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::string/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::string/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::string/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::tuple<int,float>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::tuple<int,float>/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::tuple<int,float>/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::tuple<int,float>/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::tuple<int,float>/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTest: vectors can be sized and resized - std::tuple<int,float>/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - float,4" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - float,4/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - float,4/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - float,4/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - float,4/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - float,4/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - int,5" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - int,5/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - int,5/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - int,5/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - int,5/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - int,5/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - std::string,15" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - std::string,15/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - std::string,15/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - std::string,15/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - std::string,15/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="TemplateTestSig: vectors can be sized and resized - std::string,15/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Test case with one argument" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Test enum bit values" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Test with special, characters "in name" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="The NO_FAIL macro reports a failure but does not fail the test" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="This test 'should' fail but doesn't" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Thrown string literals are translated" time="{duration}">
|
|
<error type="TEST_CASE">
|
|
FAILED:
|
|
For some reason someone is throwing a string literal!
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Tracker" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/successfully close one section" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/fail one section" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/fail one section/re-enter after failed section" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/fail one section/re-enter after failed section and find next section" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/successfully close one section, then find another" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/successfully close one section, then find another/Re-enter - skips S1 and enters S2" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/successfully close one section, then find another/Re-enter - skips S1 and enters S2/Successfully close S2" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/successfully close one section, then find another/Re-enter - skips S1 and enters S2/fail S2" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Tracker/open a nested section" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Trim strings" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Unexpected exceptions can be translated" time="{duration}">
|
|
<error type="TEST_CASE">
|
|
FAILED:
|
|
3.14
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Use a custom approx" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Variadic macros/Section with one argument" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector Approx matcher/Empty vector is roughly equal to an empty vector" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector Approx matcher/Vectors with elements/A vector is approx equal to itself" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector Approx matcher/Vectors with elements/Different length" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector Approx matcher/Vectors with elements/Same length, different elements" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector Approx matcher -- failing/Empty and non empty vectors are not approx equal" time="{duration}">
|
|
<failure message="empty, Approx(t1)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( empty, Approx(t1) )
|
|
with expansion:
|
|
{ } is approx: { 1.0, 2.0 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Vector Approx matcher -- failing/Just different vectors" time="{duration}">
|
|
<failure message="v1, Approx(v2)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( v1, Approx(v2) )
|
|
with expansion:
|
|
{ 2.0, 4.0, 6.0 } is approx: { 1.0, 3.0, 5.0 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers/Contains (element)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers/Contains (vector)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers/Contains (element), composed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers/Equals" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers/UnorderedEquals" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers that fail/Contains (element)" time="{duration}">
|
|
<failure message="v, VectorContains(-1)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( v, VectorContains(-1) )
|
|
with expansion:
|
|
{ 1, 2, 3 } Contains: -1
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="empty, VectorContains(1)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( empty, VectorContains(1) )
|
|
with expansion:
|
|
{ } Contains: 1
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers that fail/Contains (vector)" time="{duration}">
|
|
<failure message="empty, Contains(v)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( empty, Contains(v) )
|
|
with expansion:
|
|
{ } Contains: { 1, 2, 3 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="v, Contains(v2)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( v, Contains(v2) )
|
|
with expansion:
|
|
{ 1, 2, 3 } Contains: { 1, 2, 4 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers that fail/Equals" time="{duration}">
|
|
<failure message="v, Equals(v2)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( v, Equals(v2) )
|
|
with expansion:
|
|
{ 1, 2, 3 } Equals: { 1, 2 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="v2, Equals(v)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( v2, Equals(v) )
|
|
with expansion:
|
|
{ 1, 2 } Equals: { 1, 2, 3 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="empty, Equals(v)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( empty, Equals(v) )
|
|
with expansion:
|
|
{ } Equals: { 1, 2, 3 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="v, Equals(empty)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( v, Equals(empty) )
|
|
with expansion:
|
|
{ 1, 2, 3 } Equals: { }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Vector matchers that fail/UnorderedEquals" time="{duration}">
|
|
<failure message="v, UnorderedEquals(empty)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( v, UnorderedEquals(empty) )
|
|
with expansion:
|
|
{ 1, 2, 3 } UnorderedEquals: { }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="empty, UnorderedEquals(v)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( empty, UnorderedEquals(v) )
|
|
with expansion:
|
|
{ } UnorderedEquals: { 1, 2, 3 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="permuted, UnorderedEquals(v)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( permuted, UnorderedEquals(v) )
|
|
with expansion:
|
|
{ 1, 3 } UnorderedEquals: { 1, 2, 3 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="permuted, UnorderedEquals(v)" type="CHECK_THAT">
|
|
FAILED:
|
|
CHECK_THAT( permuted, UnorderedEquals(v) )
|
|
with expansion:
|
|
{ 3, 1 } UnorderedEquals: { 1, 2, 3 }
|
|
Matchers.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="When checked exceptions are thrown they can be expected or unexpected" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="When unchecked exceptions are thrown directly they are always failures" time="{duration}">
|
|
<error type="TEST_CASE">
|
|
FAILED:
|
|
unexpected exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="When unchecked exceptions are thrown during a CHECK the test should continue" time="{duration}">
|
|
<error message="thisThrows() == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( thisThrows() == 0 )
|
|
expected exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail" time="{duration}">
|
|
<error message="thisThrows() == 0" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( thisThrows() == 0 )
|
|
expected exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="When unchecked exceptions are thrown from functions they are always failures" time="{duration}">
|
|
<error message="thisThrows() == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( thisThrows() == 0 )
|
|
expected exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="When unchecked exceptions are thrown from sections they are always failures/section name" time="{duration}">
|
|
<error type="TEST_CASE">
|
|
FAILED:
|
|
unexpected exception
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="Where the LHS is not a simple value" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="Where there is more to the expression after the RHS" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="X/level/0/a" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="X/level/0/b" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="X/level/1/a" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="X/level/1/b" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="XmlEncode/normal string" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="XmlEncode/empty string" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="XmlEncode/string with ampersand" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="XmlEncode/string with less-than" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="XmlEncode/string with greater-than" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="XmlEncode/string with quotes" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="XmlEncode/string with control char (1)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="XmlEncode/string with control char (x7F)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="array<int, N> -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="atomic if" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="boolean member" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="checkedElse" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="checkedElse, failing" time="{duration}">
|
|
<failure message="flag" type="CHECKED_ELSE">
|
|
FAILED:
|
|
CHECKED_ELSE( flag )
|
|
with expansion:
|
|
false
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="testCheckedElse( false )" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( testCheckedElse( false ) )
|
|
with expansion:
|
|
false
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="checkedIf" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="checkedIf, failing" time="{duration}">
|
|
<failure message="flag" type="CHECKED_IF">
|
|
FAILED:
|
|
CHECKED_IF( flag )
|
|
with expansion:
|
|
false
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="testCheckedIf( false )" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( testCheckedIf( false ) )
|
|
with expansion:
|
|
false
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="comparisons between const int variables" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="comparisons between int variables" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="even more nested SECTION tests/c/d (leaf)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="even more nested SECTION tests/c/e (leaf)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="even more nested SECTION tests/f (leaf)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="just failure" time="{duration}">
|
|
<failure type="FAIL">
|
|
FAILED:
|
|
Previous info should not be seen
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="just failure after unscoped info" time="{duration}">
|
|
<failure type="FAIL">
|
|
FAILED:
|
|
previous unscoped info SHOULD not be seen
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="long long" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 0" time="{duration}">
|
|
<failure message="b > a" type="CHECK">
|
|
FAILED:
|
|
CHECK( b > a )
|
|
with expansion:
|
|
0 > 1
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 1" time="{duration}">
|
|
<failure message="b > a" type="CHECK">
|
|
FAILED:
|
|
CHECK( b > a )
|
|
with expansion:
|
|
1 > 1
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 2" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 3" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 4" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 5" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 6" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 7" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 8" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped SECTION tests/b is currently: 9" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="looped tests" time="{duration}">
|
|
<failure message="( fib[i] % 2 ) == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( ( fib[i] % 2 ) == 0 )
|
|
with expansion:
|
|
1 == 0
|
|
Testing if fib[0] (1) is even
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="( fib[i] % 2 ) == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( ( fib[i] % 2 ) == 0 )
|
|
with expansion:
|
|
1 == 0
|
|
Testing if fib[1] (1) is even
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="( fib[i] % 2 ) == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( ( fib[i] % 2 ) == 0 )
|
|
with expansion:
|
|
1 == 0
|
|
Testing if fib[3] (3) is even
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="( fib[i] % 2 ) == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( ( fib[i] % 2 ) == 0 )
|
|
with expansion:
|
|
1 == 0
|
|
Testing if fib[4] (5) is even
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="( fib[i] % 2 ) == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( ( fib[i] % 2 ) == 0 )
|
|
with expansion:
|
|
1 == 0
|
|
Testing if fib[6] (13) is even
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="( fib[i] % 2 ) == 0" type="CHECK">
|
|
FAILED:
|
|
CHECK( ( fib[i] % 2 ) == 0 )
|
|
with expansion:
|
|
1 == 0
|
|
Testing if fib[7] (21) is even
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="mix info, unscoped info and warning" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="more nested SECTION tests/equal/doesn't equal" time="{duration}">
|
|
<failure message="a == b" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( a == b )
|
|
with expansion:
|
|
1 == 2
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="more nested SECTION tests/doesn't equal/not equal" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="more nested SECTION tests/doesn't equal/less than" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="nested SECTION tests/doesn't equal" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="nested SECTION tests/doesn't equal/not equal" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="non streamable - with conv. op" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="non-copyable objects" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="not allowed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="not prints unscoped info from previous failures" time="{duration}">
|
|
<failure message="false" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( false )
|
|
this SHOULD be seen
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="null strings" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="null_ptr" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="pair<pair<int,const char *,pair<std::string,int> > -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="parseEnums/No enums" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="parseEnums/One enum value" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="parseEnums/Multiple enum values" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="pointer to class" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="print unscoped info if passing unscoped info is printed" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="prints unscoped info on failure" time="{duration}">
|
|
<failure message="false" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( false )
|
|
this SHOULD be seen
|
|
this SHOULD also be seen
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="prints unscoped info only for the first assertion" time="{duration}">
|
|
<failure message="false" type="CHECK">
|
|
FAILED:
|
|
CHECK( false )
|
|
this SHOULD be seen only ONCE
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="random SECTION tests/doesn't equal" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="random SECTION tests/not equal" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="replaceInPlace/replace single char" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="replaceInPlace/replace two chars" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="replaceInPlace/replace first char" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="replaceInPlace/replace last char" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="replaceInPlace/replace all chars" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="replaceInPlace/replace no chars" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="replaceInPlace/escape '" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="send a single char to INFO" time="{duration}">
|
|
<failure message="false" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( false )
|
|
3
|
|
Misc.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="sends information to INFO" time="{duration}">
|
|
<failure message="false" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( false )
|
|
hi
|
|
i := 7
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="shortened hide tags are split apart" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="splitString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stacks unscoped info in loops" time="{duration}">
|
|
<failure message="false" type="CHECK">
|
|
FAILED:
|
|
CHECK( false )
|
|
Count 1 to 3...
|
|
1
|
|
2
|
|
3
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
<failure message="false" type="CHECK">
|
|
FAILED:
|
|
CHECK( false )
|
|
Count 4 to 6...
|
|
4
|
|
5
|
|
6
|
|
Message.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="std::map is convertible string/empty" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="std::map is convertible string/single item" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="std::map is convertible string/several items" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="std::pair<int,const std::string> -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="std::pair<int,std::string> -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="std::set is convertible string/empty" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="std::set is convertible string/single item" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="std::set is convertible string/several items" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="std::vector<std::pair<std::string,int> > -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="string literals of different sizes can be compared" time="{duration}">
|
|
<failure message="std::string( "first" ) == "second"" type="REQUIRE">
|
|
FAILED:
|
|
REQUIRE( std::string( "first" ) == "second" )
|
|
with expansion:
|
|
"first" == "second"
|
|
Tricky.tests.cpp:<line number>
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="stringify ranges" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stringify( has_maker )" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stringify( has_maker_and_operator )" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stringify( has_neither )" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stringify( has_operator )" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stringify( has_template_operator )" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stringify( vectors<has_maker> )" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stringify( vectors<has_maker_and_operator> )" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="stringify( vectors<has_operator> )" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="strlen3" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="tables" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="thrown std::strings are translated" time="{duration}">
|
|
<error type="TEST_CASE">
|
|
FAILED:
|
|
Why would you throw a std::string?
|
|
Exception.tests.cpp:<line number>
|
|
</error>
|
|
</testcase>
|
|
<testcase classname="<exe-name>.global" name="toString on const wchar_t const pointer returns the string contents" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="toString on const wchar_t pointer returns the string contents" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="toString on wchar_t const pointer returns the string contents" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="toString on wchar_t returns the string contents" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="toString(enum class w/operator<<)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="toString(enum class)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="toString(enum w/operator<<)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="toString(enum)" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="tuple<>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="tuple<float,int>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="tuple<int>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="tuple<0,int,const char *>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="tuple<string,string>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="tuple<tuple<int>,tuple<>,float>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vec<vec<string,alloc>> -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vector<bool> -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vector<int,allocator> -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vector<int> -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vector<string> -> toString" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vectors can be sized and resized" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vectors can be sized and resized/resizing bigger changes size and capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vectors can be sized and resized/resizing smaller changes size but not capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vectors can be sized and resized/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vectors can be sized and resized/reserving bigger changes capacity but not size" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="vectors can be sized and resized/reserving smaller does not change size or capacity" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="xmlentitycheck/embedded xml: <test>it should be possible to embed xml characters, such as <, " or &, or even whole <xml>documents</xml> within an attribute</test>" time="{duration}"/>
|
|
<testcase classname="<exe-name>.global" name="xmlentitycheck/encoded chars: these should all be encoded: &&&"""<<<&"<<&"" time="{duration}"/>
|
|
<system-out>
|
|
This would not be caught previously
|
|
A string sent directly to stdout
|
|
Message from section one
|
|
Message from section two
|
|
</system-out>
|
|
<system-err>
|
|
Nor would this
|
|
A string sent directly to stderr
|
|
A string sent to stderr via clog
|
|
</system-err>
|
|
</testsuite>
|
|
</testsuites>
|