mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 22:05:39 +02:00
Add IStream::isStdOut
This commit is contained in:
@@ -3805,6 +3805,17 @@ Generators.tests.cpp:<line number>: PASSED:
|
||||
with expansion:
|
||||
6 == 6
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Cout stream properly declares it writes to stdout
|
||||
-------------------------------------------------------------------------------
|
||||
Stream.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
Stream.tests.cpp:<line number>: PASSED:
|
||||
REQUIRE( Catch::makeStream( "-" )->isStdout() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Custom exceptions can be translated when testing for nothrow
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -3876,6 +3887,17 @@ with expansion:
|
||||
==
|
||||
"{** unexpected enum value **}"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Empty stream name opens cout stream
|
||||
-------------------------------------------------------------------------------
|
||||
Stream.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
Stream.tests.cpp:<line number>: PASSED:
|
||||
REQUIRE( Catch::makeStream( "" )->isStdout() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Empty tag is not allowed
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -17764,6 +17786,6 @@ Misc.tests.cpp:<line number>
|
||||
Misc.tests.cpp:<line number>: PASSED:
|
||||
|
||||
===============================================================================
|
||||
test cases: 381 | 291 passed | 83 failed | 7 failed as expected
|
||||
assertions: 2226 | 2056 passed | 143 failed | 27 failed as expected
|
||||
test cases: 383 | 293 passed | 83 failed | 7 failed as expected
|
||||
assertions: 2228 | 2058 passed | 143 failed | 27 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user