Push includes for TestCaseInfo down into reporter TUs

This commit is contained in:
Martin Hořeňovský 2020-07-29 14:30:19 +02:00
parent eaf7113fd3
commit 4e0af77e29
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
12 changed files with 12 additions and 6 deletions

View File

@ -5,14 +5,10 @@
// 2. My listener and registration
// 3. Test cases
// main() provided in 000-CatchMain.cpp
// Let Catch provide the required interfaces:
#define CATCH_CONFIG_EXTERNAL_INTERFACES
#include <catch2/catch_test_macros.hpp>
#include <catch2/reporters/catch_reporter_bases.hpp>
#include <catch2/catch_reporter_registrars.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <iostream>
// -----------------------------------------------------------------------

View File

@ -17,6 +17,7 @@
#include <catch2/internal/catch_startup_exception_registry.hpp>
#include <catch2/internal/catch_singletons.hpp>
#include <catch2/internal/catch_enum_values_registry.hpp>
#include <catch2/catch_test_case_info.hpp>
namespace Catch {

View File

@ -11,6 +11,7 @@
#include <catch2/internal/catch_list.hpp>
#include <catch2/internal/catch_text.hpp>
#include <catch2/internal/catch_string_manip.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <algorithm>
#include <iomanip>

View File

@ -12,7 +12,6 @@
#include <catch2/internal/catch_common.hpp>
#include <catch2/catch_config.hpp>
#include <catch2/catch_totals.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <catch2/catch_assertion_result.hpp>
#include <catch2/internal/catch_message_info.hpp>
#include <catch2/internal/catch_option.hpp>
@ -32,6 +31,7 @@ namespace Catch {
struct ReporterDescription;
struct TagInfo;
struct TestCaseInfo;
struct ReporterConfig {
explicit ReporterConfig( IConfig const* _fullConfig );

View File

@ -19,6 +19,7 @@
#include <catch2/internal/catch_test_spec_parser.hpp>
#include <catch2/catch_tostring.hpp>
#include <catch2/internal/catch_string_manip.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <limits>
#include <algorithm>

View File

@ -4,6 +4,7 @@
*/
#include <catch2/reporters/catch_reporter_automake.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <ostream>

View File

@ -15,6 +15,7 @@
#include <catch2/internal/catch_text.hpp>
#include <catch2/internal/catch_stream.hpp>
#include <catch2/internal/catch_stringref.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <cfloat>
#include <cstdio>

View File

@ -14,6 +14,7 @@
#include <catch2/internal/catch_string_manip.hpp>
#include <catch2/catch_reporter_registrars.hpp>
#include <catch2/internal/catch_text.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <cassert>
#include <ctime>

View File

@ -6,6 +6,7 @@
#include <catch2/reporters/catch_reporter_sonarqube.hpp>
#include <catch2/internal/catch_string_manip.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <map>

View File

@ -6,6 +6,7 @@
#include <catch2/reporters/catch_reporter_tap.hpp>
#include <catch2/internal/catch_console_colour.hpp>
#include <catch2/internal/catch_string_manip.hpp>
#include <catch2/catch_test_case_info.hpp>
#include <algorithm>
#include <ostream>

View File

@ -8,6 +8,7 @@
#include <catch2/internal/catch_string_manip.hpp>
#include <catch2/internal/catch_enforce.hpp>
#include <catch2/internal/catch_text.hpp>
#include <catch2/catch_test_case_info.hpp>
namespace Catch {

View File

@ -10,6 +10,7 @@
#include <catch2/internal/catch_string_manip.hpp>
#include <catch2/internal/catch_list.hpp>
#include <catch2/catch_test_case_info.hpp>
#if defined(_MSC_VER)
#pragma warning(push)