catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Split catch_config.hpp out of reporter bases
- Commit
8b0845b1a2a95a3546ccd9ef8c8929aef5256310- Author
- Martin Hořeňovský ·
- Parents
c5037743e683
Changes
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 <catch2/catch_section_info.hpp> #include <catch2/internal/catch_common.hpp> -#include <catch2/catch_config.hpp> #include <catch2/catch_totals.hpp> #include <catch2/catch_assertion_result.hpp> #include <catch2/internal/catch_message_info.hpp> @@ -23,6 +22,7 @@ #include <string> +#include <vector> #include <iosfwd> #include <map> #include <algorithm> @@ -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 <catch2/reporters/catch_reporter_compact.hpp> +#include <catch2/interfaces/catch_interfaces_config.hpp> #include <catch2/internal/catch_compiler_capabilities.hpp> #include <catch2/internal/catch_console_colour.hpp> #include <catch2/internal/catch_string_manip.hpp> 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 <catch2/reporters/catch_reporter_xml.hpp> +#include <catch2/interfaces/catch_interfaces_config.hpp> +#include <catch2/catch_test_spec.hpp> #include <catch2/internal/catch_string_manip.hpp> #include <catch2/internal/catch_list.hpp> #include <catch2/catch_test_case_info.hpp>