mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Fixed up include paths
This commit is contained in:
parent
e1a43b5b0f
commit
7c6de33977
@ -19,7 +19,7 @@
|
||||
# pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#include "internal/catch_suppress_warnings.h"
|
||||
#include "catch_suppress_warnings.h"
|
||||
|
||||
#if defined(CATCH_CONFIG_MAIN) || defined(CATCH_CONFIG_RUNNER)
|
||||
# define CATCH_IMPL
|
||||
@ -39,7 +39,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined(CATCH_CONFIG_IMPL_ONLY)
|
||||
#include "internal/catch_platform.h"
|
||||
#include "catch_platform.h"
|
||||
|
||||
#ifdef CATCH_IMPL
|
||||
# ifndef CLARA_CONFIG_MAIN
|
||||
@ -48,49 +48,49 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "internal/catch_user_interfaces.h"
|
||||
#include "internal/catch_tag_alias_autoregistrar.h"
|
||||
#include "internal/catch_test_registry.h"
|
||||
#include "internal/catch_capture.hpp"
|
||||
#include "internal/catch_section.h"
|
||||
#include "internal/catch_interfaces_exception.h"
|
||||
#include "internal/catch_approx.h"
|
||||
#include "internal/catch_compiler_capabilities.h"
|
||||
#include "internal/catch_string_manip.h"
|
||||
#include "catch_user_interfaces.h"
|
||||
#include "catch_tag_alias_autoregistrar.h"
|
||||
#include "catch_test_registry.h"
|
||||
#include "catch_capture.hpp"
|
||||
#include "catch_section.h"
|
||||
#include "catch_interfaces_exception.h"
|
||||
#include "catch_approx.h"
|
||||
#include "catch_compiler_capabilities.h"
|
||||
#include "catch_string_manip.h"
|
||||
|
||||
#ifndef CATCH_CONFIG_DISABLE_MATCHERS
|
||||
#include "internal/catch_capture_matchers.h"
|
||||
#include "catch_capture_matchers.h"
|
||||
#endif
|
||||
#include "internal/catch_generators.hpp"
|
||||
#include "internal/catch_generators_generic.hpp"
|
||||
#include "internal/catch_generators_specific.hpp"
|
||||
#include "catch_generators.hpp"
|
||||
#include "catch_generators_generic.hpp"
|
||||
#include "catch_generators_specific.hpp"
|
||||
|
||||
// These files are included here so the single_include script doesn't put them
|
||||
// in the conditionally compiled sections
|
||||
#include "internal/catch_test_case_info.h"
|
||||
#include "internal/catch_interfaces_runner.h"
|
||||
#include "catch_test_case_info.h"
|
||||
#include "catch_interfaces_runner.h"
|
||||
|
||||
#ifdef __OBJC__
|
||||
#include "internal/catch_objc.hpp"
|
||||
#include "catch_objc.hpp"
|
||||
#endif
|
||||
|
||||
// Benchmarking needs the externally-facing parts of reporters to work
|
||||
#if defined(CATCH_CONFIG_EXTERNAL_INTERFACES) || defined(CATCH_CONFIG_ENABLE_BENCHMARKING)
|
||||
#include "internal/catch_external_interfaces.h"
|
||||
#include "catch_external_interfaces.h"
|
||||
#endif
|
||||
|
||||
#if defined(CATCH_CONFIG_ENABLE_BENCHMARKING)
|
||||
#include "internal/benchmark/catch_benchmark.hpp"
|
||||
#include "benchmark/catch_benchmark.hpp"
|
||||
#endif
|
||||
|
||||
#endif // ! CATCH_CONFIG_IMPL_ONLY
|
||||
|
||||
#ifdef CATCH_IMPL
|
||||
#include "internal/catch_impl.hpp"
|
||||
#include "catch_impl.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef CATCH_CONFIG_MAIN
|
||||
#include "internal/catch_default_main.hpp"
|
||||
#include "catch_default_main.hpp"
|
||||
#endif
|
||||
|
||||
|
||||
@ -485,6 +485,6 @@ using Catch::Detail::Approx;
|
||||
|
||||
#endif // ! CATCH_CONFIG_IMPL_ONLY
|
||||
|
||||
#include "internal/catch_reenable_warnings.h"
|
||||
#include "catch_reenable_warnings.h"
|
||||
|
||||
#endif // TWOBLUECUBES_CATCH_HPP_INCLUDED
|
||||
|
@ -23,7 +23,7 @@
|
||||
#pragma clang diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
|
||||
#include "../external/clara.hpp"
|
||||
#include "external/clara.hpp"
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
|
@ -7,14 +7,14 @@
|
||||
#ifndef TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED
|
||||
#define TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED
|
||||
|
||||
#include "../reporters/catch_reporter_bases.hpp"
|
||||
#include "reporters/catch_reporter_bases.hpp"
|
||||
#include "catch_console_colour.h"
|
||||
#include "catch_reporter_registrars.hpp"
|
||||
|
||||
// Allow users to base their work off existing reporters
|
||||
#include "../reporters/catch_reporter_compact.h"
|
||||
#include "../reporters/catch_reporter_console.h"
|
||||
#include "../reporters/catch_reporter_junit.h"
|
||||
#include "../reporters/catch_reporter_xml.h"
|
||||
#include "reporters/catch_reporter_compact.h"
|
||||
#include "reporters/catch_reporter_console.h"
|
||||
#include "reporters/catch_reporter_junit.h"
|
||||
#include "reporters/catch_reporter_xml.h"
|
||||
|
||||
#endif // TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include "catch_interfaces_reporter.h"
|
||||
#include "catch_console_colour.h"
|
||||
#include "../reporters/catch_reporter_listening.h"
|
||||
#include "reporters/catch_reporter_listening.h"
|
||||
#include "catch_list.h"
|
||||
#include "catch_text.h"
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "catch_text.h"
|
||||
#include "catch_stream.h"
|
||||
#include "catch_windows_h_proxy.h"
|
||||
#include "../reporters/catch_reporter_listening.h"
|
||||
#include "reporters/catch_reporter_listening.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iomanip>
|
||||
|
@ -6,8 +6,8 @@
|
||||
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#include "../internal/catch_interfaces_reporter.h"
|
||||
#include "../internal/catch_errno_guard.h"
|
||||
#include "../catch_interfaces_reporter.h"
|
||||
#include "../catch_errno_guard.h"
|
||||
#include "catch_reporter_bases.hpp"
|
||||
|
||||
#include <cstring>
|
||||
|
@ -8,8 +8,8 @@
|
||||
#ifndef TWOBLUECUBES_CATCH_REPORTER_BASES_HPP_INCLUDED
|
||||
#define TWOBLUECUBES_CATCH_REPORTER_BASES_HPP_INCLUDED
|
||||
|
||||
#include "../internal/catch_enforce.h"
|
||||
#include "../internal/catch_interfaces_reporter.h"
|
||||
#include "../catch_enforce.h"
|
||||
#include "../catch_interfaces_reporter.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include "catch_reporter_compact.h"
|
||||
|
||||
#include "../internal/catch_reporter_registrars.hpp"
|
||||
#include "../internal/catch_console_colour.h"
|
||||
#include "../catch_reporter_registrars.hpp"
|
||||
#include "../catch_console_colour.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -8,11 +8,11 @@
|
||||
|
||||
#include "catch_reporter_console.h"
|
||||
|
||||
#include "../internal/catch_reporter_registrars.hpp"
|
||||
#include "../internal/catch_console_colour.h"
|
||||
#include "../internal/catch_version.h"
|
||||
#include "../internal/catch_text.h"
|
||||
#include "../internal/catch_stringref.h"
|
||||
#include "../catch_reporter_registrars.hpp"
|
||||
#include "../catch_console_colour.h"
|
||||
#include "../catch_version.h"
|
||||
#include "../catch_text.h"
|
||||
#include "../catch_stringref.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <cstdio>
|
||||
|
@ -10,9 +10,9 @@
|
||||
|
||||
#include "catch_reporter_junit.h"
|
||||
|
||||
#include "../internal/catch_tostring.h"
|
||||
#include "../internal/catch_reporter_registrars.hpp"
|
||||
#include "../internal/catch_text.h"
|
||||
#include "../catch_tostring.h"
|
||||
#include "../catch_reporter_registrars.hpp"
|
||||
#include "../catch_text.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <sstream>
|
||||
|
@ -9,8 +9,8 @@
|
||||
|
||||
|
||||
#include "catch_reporter_bases.hpp"
|
||||
#include "../internal/catch_xmlwriter.h"
|
||||
#include "../internal/catch_timer.h"
|
||||
#include "../catch_xmlwriter.h"
|
||||
#include "../catch_timer.h"
|
||||
|
||||
namespace Catch {
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#ifndef TWOBLUECUBES_CATCH_MULTI_REPORTER_H_INCLUDED
|
||||
#define TWOBLUECUBES_CATCH_MULTI_REPORTER_H_INCLUDED
|
||||
|
||||
#include "../internal/catch_interfaces_reporter.h"
|
||||
#include "../catch_interfaces_reporter.h"
|
||||
|
||||
namespace Catch {
|
||||
|
||||
|
@ -8,9 +8,9 @@
|
||||
|
||||
#include "catch_reporter_xml.h"
|
||||
|
||||
#include "../internal/catch_capture.hpp"
|
||||
#include "../internal/catch_reporter_registrars.hpp"
|
||||
#include "../internal/catch_list.h"
|
||||
#include "../catch_capture.hpp"
|
||||
#include "../catch_reporter_registrars.hpp"
|
||||
#include "../catch_list.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(push)
|
||||
|
@ -9,8 +9,8 @@
|
||||
|
||||
#include "catch_reporter_bases.hpp"
|
||||
|
||||
#include "../internal/catch_xmlwriter.h"
|
||||
#include "../internal/catch_timer.h"
|
||||
#include "../catch_xmlwriter.h"
|
||||
#include "../catch_timer.h"
|
||||
|
||||
|
||||
namespace Catch {
|
||||
|
Loading…
Reference in New Issue
Block a user