Split out IStream out of catch_stream.hpp

This commit is contained in:
Martin Hořeňovský
2022-04-16 14:43:40 +02:00
parent 05e85c5652
commit 98bb638fb2
14 changed files with 228 additions and 178 deletions

View File

@@ -8,6 +8,7 @@
#include <catch2/catch_test_macros.hpp>
#include <catch2/internal/catch_console_colour.hpp>
#include <catch2/internal/catch_istream.hpp>
#include <sstream>

View File

@@ -17,7 +17,7 @@
#include <catch2/internal/catch_enforce.hpp>
#include <catch2/internal/catch_list.hpp>
#include <catch2/internal/catch_reporter_registry.hpp>
#include <catch2/internal/catch_stream.hpp>
#include <catch2/internal/catch_istream.hpp>
#include <catch2/matchers/catch_matchers_string.hpp>
#include <catch2/reporters/catch_reporter_helpers.hpp>
#include <catch2/reporters/catch_reporter_event_listener.hpp>

View File

@@ -8,7 +8,7 @@
#include <catch2/catch_test_macros.hpp>
#include <catch2/internal/catch_stream.hpp>
#include <catch2/internal/catch_istream.hpp>
TEST_CASE( "Cout stream properly declares it writes to stdout", "[streams]" ) {
REQUIRE( Catch::makeStream( "-" )->isConsole() );