Split out IStream out of catch_stream.hpp

This commit is contained in:
Martin Hořeňovský committed 2022-04-16 16:33:57 +02:00
1 parent 05e85c5652
commit 98bb638fb2
14 files changed
+228 -178

No files matched your search

@@ -15,6 +15,7 @@
#include <catch2/catch_test_case_info.hpp>
#include <catch2/reporters/catch_reporter_helpers.hpp>
#include <catch2/internal/catch_move_and_forward.hpp>
#include <catch2/internal/catch_istream.hpp>
#include <algorithm>
#include <cassert>
@@ -44,6 +45,8 @@ namespace Catch {
return m_customOptions;
}
ReporterConfig::~ReporterConfig() = default;
AssertionStats::AssertionStats( AssertionResult const& _assertionResult,
std::vector<MessageInfo> const& _infoMessages,
Totals const& _totals )
@@ -40,6 +40,10 @@ namespace Catch {
ColourMode colourMode,
std::map<std::string, std::string> customOptions );
ReporterConfig( ReporterConfig&& ) = default;
ReporterConfig& operator=( ReporterConfig&& ) = default;
~ReporterConfig(); // = default
Detail::unique_ptr<IStream> takeStream() &&;
IConfig const* fullConfig() const;
ColourMode colourMode() const;