Rename isStdout => isConsole and add doccomment

This commit is contained in:
Martin Hořeňovský
2022-03-21 00:22:54 +01:00
parent cf6dd937ab
commit 4d8acafecb
12 changed files with 52 additions and 43 deletions

View File

@@ -4208,7 +4208,7 @@ Nor would this
<TestCase name="Cout stream properly declares it writes to stdout" tags="[streams]" filename="tests/<exe-name>/IntrospectiveTests/Stream.tests.cpp" >
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/IntrospectiveTests/Stream.tests.cpp" >
<Original>
Catch::makeStream( "-" )->isStdout()
Catch::makeStream( "-" )->isConsole()
</Original>
<Expanded>
true
@@ -4301,7 +4301,7 @@ Nor would this
<TestCase name="Empty stream name opens cout stream" tags="[streams]" filename="tests/<exe-name>/IntrospectiveTests/Stream.tests.cpp" >
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/IntrospectiveTests/Stream.tests.cpp" >
<Original>
Catch::makeStream( "" )->isStdout()
Catch::makeStream( "" )->isConsole()
</Original>
<Expanded>
true
@@ -19885,7 +19885,7 @@ loose text artifact
<TestCase name="stdout and stderr streams have %-starting name" tags="[streams]" filename="tests/<exe-name>/IntrospectiveTests/Stream.tests.cpp" >
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/IntrospectiveTests/Stream.tests.cpp" >
<Original>
Catch::makeStream( "%stderr" )->isStdout()
Catch::makeStream( "%stderr" )->isConsole()
</Original>
<Expanded>
true
@@ -19893,7 +19893,7 @@ loose text artifact
</Expression>
<Expression success="true" type="REQUIRE" filename="tests/<exe-name>/IntrospectiveTests/Stream.tests.cpp" >
<Original>
Catch::makeStream( "%stdout" )->isStdout()
Catch::makeStream( "%stdout" )->isConsole()
</Original>
<Expanded>
true