Added clog test

This commit is contained in:
Phil Nash 2017-12-05 17:48:15 +00:00
parent 533cdc6bc1
commit 7c5a21fb7d
5 changed files with 6 additions and 1 deletions

View File

@ -700,6 +700,7 @@ with expansion:
A string sent directly to stdout
A string sent directly to stderr
A string sent to stderr via clog
Message from section one
Message from section two
-------------------------------------------------------------------------------

View File

@ -4573,6 +4573,7 @@ with expansion:
A string sent directly to stdout
A string sent directly to stderr
A string sent to stderr via clog
-------------------------------------------------------------------------------
Some simple comparisons between doubles
-------------------------------------------------------------------------------

View File

@ -517,6 +517,7 @@ A string sent directly to stdout
</system-out>
<system-err>
A string sent directly to stderr
A string sent to stderr via clog
</system-err>
</testcase>
<testcase classname="<exe-name>.global" name="Some simple comparisons between doubles" time="{duration}"/>
@ -835,6 +836,7 @@ Message from section two
</system-out>
<system-err>
A string sent directly to stderr
A string sent to stderr via clog
</system-err>
</testsuite>
</testsuites>

View File

@ -5260,6 +5260,7 @@ A string sent directly to stdout
</StdOut>
<StdErr>
A string sent directly to stderr
A string sent to stderr via clog
</StdErr>
</OverallResult>
</TestCase>

View File

@ -148,8 +148,8 @@ TEST_CASE( "looped tests", "[.][failing]" ) {
TEST_CASE( "Sends stuff to stdout and stderr", "[.]" ) {
std::cout << "A string sent directly to stdout" << std::endl;
std::cerr << "A string sent directly to stderr" << std::endl;
std::clog << "A string sent to stderr via clog" << std::endl;
}
TEST_CASE( "null strings" ) {