Changed stdout/ stderr messages to be less misleading

This commit is contained in:
Phil Nash 2013-12-19 08:07:33 +00:00
parent eb760f689b
commit fb90d38310
4 changed files with 10 additions and 10 deletions

View File

@ -569,8 +569,8 @@ with expansion:
with message:
Testing if fib[7] (21) is even
Some information
An error
A string sent directly to stdout
A string sent directly to stderr
-------------------------------------------------------------------------------
checkedIf, failing
-------------------------------------------------------------------------------

View File

@ -3014,8 +3014,8 @@ with expansion:
with message:
Testing if fib[7] (21) is even
Some information
An error
A string sent directly to stdout
A string sent directly to stderr
-------------------------------------------------------------------------------
Sends stuff to stdout and stderr
-------------------------------------------------------------------------------

View File

@ -351,10 +351,10 @@ MiscTests.cpp:<line number>
</testcase>
<testcase classname="global" name="Sends stuff to stdout and stderr" time="{duration}">
<system-out>
Some information
A string sent directly to stdout
</system-out>
<system-err>
An error
A string sent directly to stderr
</system-err>
</testcase>
<testcase classname="global" name="null strings" time="{duration}"/>
@ -550,12 +550,12 @@ TrickyTests.cpp:<line number>
<system-out>
Message from section one
Message from section two
Some information
A string sent directly to stdout
hello
hello
</system-out>
<system-err>
An error
A string sent directly to stderr
</system-err>
</testsuite>
</testsuites>

View File

@ -113,9 +113,9 @@ TEST_CASE( "looped tests", "[.][failing]" )
TEST_CASE( "Sends stuff to stdout and stderr", "" )
{
std::cout << "Some information" << std::endl;
std::cout << "A string sent directly to stdout" << std::endl;
std::cerr << "An error" << std::endl;
std::cerr << "A string sent directly to stderr" << std::endl;
}
inline const char* makeString( bool makeNull )