catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Removed "long text" test (not a limitation of TextFlow)
- Commit
d3c7d424fede6e7832931846b232586ea00810c4- Author
- Phil Nash ·
- Parents
224250e2d48c
Changes
.../SelfTest/Baselines/console.std.approved.txt | 4 +- .../SelfTest/Baselines/console.sw.approved.txt | 1016 +------------------- projects/SelfTest/Baselines/junit.sw.approved.txt | 3 +- projects/SelfTest/Baselines/xml.sw.approved.txt | 1015 +------------------ projects/SelfTest/TestMain.cpp | 11 - 5 files changed, 7 insertions(+), 2042 deletions(-) diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt index 58571bb2..a19e84c5 100644 --- a/projects/SelfTest/Baselines/console.std.approved.txt +++ b/projects/SelfTest/Baselines/console.std.approved.txt @@ -1018,6 +1018,6 @@ with expansion: "{?}" == "1" =============================================================================== -test cases: 186 | 135 passed | 47 failed | 4 failed as expected -assertions: 939 | 822 passed | 96 failed | 21 failed as expected +test cases: 185 | 134 passed | 47 failed | 4 failed as expected +assertions: 938 | 821 passed | 96 failed | 21 failed as expected diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt index 61e865c6..4373d02f 100644 --- a/projects/SelfTest/Baselines/console.sw.approved.txt +++ b/projects/SelfTest/Baselines/console.sw.approved.txt @@ -2319,1018 +2319,6 @@ with expansion: <he- re>" -------------------------------------------------------------------------------- -Long text is truncated -------------------------------------------------------------------------------- -TestMain.cpp:<line number> -............................................................................... - -TestMain.cpp:<line number>: -PASSED: - CHECK_THAT( t.toString(), EndsWith( "... message truncated due to excessive size" ) ) -with expansion: - "***************************************************************************- - ***- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ - ****************************************************************************- - **- - ****************************************************************************- - **- - ************************ -... message truncated due to excessive size - ------------------------------------------------------------------------------- ManuallyRegistered ------------------------------------------------------------------------------- @@ -9164,6 +8152,6 @@ MiscTests.cpp:<line number>: PASSED: =============================================================================== -test cases: 186 | 134 passed | 48 failed | 4 failed as expected -assertions: 941 | 822 passed | 98 failed | 21 failed as expected +test cases: 185 | 133 passed | 48 failed | 4 failed as expected +assertions: 940 | 821 passed | 98 failed | 21 failed as expected diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt index bd931044..b567d061 100644 --- a/projects/SelfTest/Baselines/junit.sw.approved.txt +++ b/projects/SelfTest/Baselines/junit.sw.approved.txt @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <testsuitesspanner> - <testsuite name="<exe-name>" errors="15" failures="84" tests="942" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> + <testsuite name="<exe-name>" errors="15" failures="84" tests="941" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> <testcase classname="<exe-name>.global" name="# A test name that starts with a #" time="{duration}"/> <testcase classname="<exe-name>.global" name="#748 - captures with unexpected exceptions/outside assertions" time="{duration}"> <error type="TEST_CASE"> @@ -309,7 +309,6 @@ ConditionTests.cpp:<line number> <testcase classname="<exe-name>.global" name="Long strings can be wrapped/With wrap-before/ after characters/No wrapping" time="{duration}"/> <testcase classname="<exe-name>.global" name="Long strings can be wrapped/With wrap-before/ after characters/Wrap before" time="{duration}"/> <testcase classname="<exe-name>.global" name="Long strings can be wrapped/With wrap-before/ after characters/Wrap after" time="{duration}"/> - <testcase classname="<exe-name>.global" name="Long text is truncated" time="{duration}"/> <testcase classname="<exe-name>.global" name="ManuallyRegistered" time="{duration}"/> <testcase classname="<exe-name>.global" name="Matchers can be (AllOf) composed with the && operator" time="{duration}"/> <testcase classname="<exe-name>.global" name="Matchers can be (AnyOf) composed with the || operator" time="{duration}"/> diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index 5b4ecb9e..22c8a4ca 100644 --- a/projects/SelfTest/Baselines/xml.sw.approved.txt +++ b/projects/SelfTest/Baselines/xml.sw.approved.txt @@ -2682,1017 +2682,6 @@ re>" </Section> <OverallResult success="true"/> </TestCase> - <TestCase name="Long text is truncated" tags="[Text][Truncated]" filename="projects/<exe-name>/TestMain.cpp" > - <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TestMain.cpp" > - <Original> - t.toString(), EndsWith( "... message truncated due to excessive size" ) - </Original> - <Expanded> - "******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -******************************************************************************- -************************ -******************************************************************************- -... message truncated due to excessive size" ends with: "... message truncated due to excessive size" - </Expanded> - </Expression> - <OverallResult success="true"/> - </TestCase> <TestCase name="ManuallyRegistered" filename="projects/<exe-name>/TestMain.cpp" > <OverallResult success="true"/> </TestCase> @@ -10076,7 +9065,7 @@ spanner <OverallResult success="true"/> </Section> <OverallResult success="true"/> </TestCase> - <OverallResults successes="822" failures="99" expectedFailures="21"/> + <OverallResults successes="821" failures="99" expectedFailures="21"/> </Group> - <OverallResults successes="822" failures="98" expectedFailures="21"/> + <OverallResults successes="821" failures="98" expectedFailures="21"/> </Catch> diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp index 10a2ae4d..59fe2db5 100644 --- a/projects/SelfTest/TestMain.cpp +++ b/projects/SelfTest/TestMain.cpp @@ -465,17 +465,6 @@ TEST_CASE( "Text can be formatted using the Text class" ) { CHECK( Text( "hi there", narrow ).toString() == "hi\nthere" ); } -TEST_CASE( "Long text is truncated", "[Text][Truncated]" ) { - - std::string longLine( 90, '*' ); - - std::ostringstream oss; - for(int i = 0; i < 600; ++i ) - oss << longLine << longLine << "\n"; - Text t( oss.str() ); - CHECK_THAT( t.toString(), EndsWith( "... message truncated due to excessive size" ) ); - -} inline void manuallyRegisteredTestFunction() { SUCCEED( "was called" );