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: with message:
Testing if fib[7] (21) is even Testing if fib[7] (21) is even
Some information A string sent directly to stdout
An error A string sent directly to stderr
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
checkedIf, failing checkedIf, failing
------------------------------------------------------------------------------- -------------------------------------------------------------------------------

View File

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

View File

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

View File

@ -113,9 +113,9 @@ TEST_CASE( "looped tests", "[.][failing]" )
TEST_CASE( "Sends stuff to stdout and stderr", "" ) 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 ) inline const char* makeString( bool makeNull )