From 8b0845b1a2a95a3546ccd9ef8c8929aef5256310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 30 Jul 2020 08:46:07 +0200 Subject: [PATCH] Split catch_config.hpp out of reporter bases --- src/catch2/interfaces/catch_interfaces_reporter.hpp | 5 ++++- src/catch2/reporters/catch_reporter_compact.cpp | 1 + src/catch2/reporters/catch_reporter_xml.cpp | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/catch2/interfaces/catch_interfaces_reporter.hpp b/src/catch2/interfaces/catch_interfaces_reporter.hpp index 83e3ecdf..4d424c03 100644 --- a/src/catch2/interfaces/catch_interfaces_reporter.hpp +++ b/src/catch2/interfaces/catch_interfaces_reporter.hpp @@ -10,7 +10,6 @@ #include #include -#include #include #include #include @@ -23,6 +22,7 @@ #include +#include #include #include #include @@ -32,6 +32,9 @@ namespace Catch { struct ReporterDescription; struct TagInfo; struct TestCaseInfo; + class TestCaseHandle; + struct IConfig; + class Config; struct ReporterConfig { explicit ReporterConfig( IConfig const* _fullConfig ); diff --git a/src/catch2/reporters/catch_reporter_compact.cpp b/src/catch2/reporters/catch_reporter_compact.cpp index 888cc18a..36f4f8b0 100644 --- a/src/catch2/reporters/catch_reporter_compact.cpp +++ b/src/catch2/reporters/catch_reporter_compact.cpp @@ -7,6 +7,7 @@ #include +#include #include #include #include diff --git a/src/catch2/reporters/catch_reporter_xml.cpp b/src/catch2/reporters/catch_reporter_xml.cpp index e0004d36..9949ce2a 100644 --- a/src/catch2/reporters/catch_reporter_xml.cpp +++ b/src/catch2/reporters/catch_reporter_xml.cpp @@ -8,6 +8,8 @@ #include +#include +#include #include #include #include