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