mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Removed "long text" test (not a limitation of TextFlow)
This commit is contained in:
parent
224250e2d4
commit
d3c7d424fe
@ -1018,6 +1018,6 @@ with expansion:
|
|||||||
"{?}" == "1"
|
"{?}" == "1"
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
test cases: 186 | 135 passed | 47 failed | 4 failed as expected
|
test cases: 185 | 134 passed | 47 failed | 4 failed as expected
|
||||||
assertions: 939 | 822 passed | 96 failed | 21 failed as expected
|
assertions: 938 | 821 passed | 96 failed | 21 failed as expected
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuitesspanner>
|
<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="# A test name that starts with a #" time="{duration}"/>
|
||||||
<testcase classname="<exe-name>.global" name="#748 - captures with unexpected exceptions/outside assertions" time="{duration}">
|
<testcase classname="<exe-name>.global" name="#748 - captures with unexpected exceptions/outside assertions" time="{duration}">
|
||||||
<error type="TEST_CASE">
|
<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/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 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 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="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 (AllOf) composed with the && operator" time="{duration}"/>
|
||||||
<testcase classname="<exe-name>.global" name="Matchers can be (AnyOf) composed with the || operator" time="{duration}"/>
|
<testcase classname="<exe-name>.global" name="Matchers can be (AnyOf) composed with the || operator" time="{duration}"/>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -465,17 +465,6 @@ TEST_CASE( "Text can be formatted using the Text class" ) {
|
|||||||
CHECK( Text( "hi there", narrow ).toString() == "hi\nthere" );
|
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() {
|
inline void manuallyRegisteredTestFunction() {
|
||||||
SUCCEED( "was called" );
|
SUCCEED( "was called" );
|
||||||
|
Loading…
Reference in New Issue
Block a user