From 90e2549cecc2e886d563b7a88e752c9b4104f798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Mon, 2 Dec 2019 12:23:10 +0100 Subject: [PATCH] Rewrite includes in tests to use library's include paths --- projects/CMakeLists.txt | 2 -- projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp | 10 +++++----- projects/SelfTest/IntrospectiveTests/Details.tests.cpp | 2 +- .../IntrospectiveTests/GeneratorsImpl.tests.cpp | 2 +- .../IntrospectiveTests/InternalBenchmark.tests.cpp | 2 +- .../SelfTest/IntrospectiveTests/PartTracker.tests.cpp | 6 +++--- .../RandomNumberGeneration.tests.cpp | 4 ++-- projects/SelfTest/IntrospectiveTests/String.tests.cpp | 4 ++-- .../SelfTest/IntrospectiveTests/StringManip.tests.cpp | 4 ++-- projects/SelfTest/IntrospectiveTests/Tag.tests.cpp | 4 ++-- .../SelfTest/IntrospectiveTests/ToString.tests.cpp | 4 ++-- projects/SelfTest/IntrospectiveTests/Xml.tests.cpp | 4 ++-- .../SelfTest/SurrogateCpps/catch_console_colour.cpp | 4 ++-- projects/SelfTest/SurrogateCpps/catch_debugger.cpp | 2 +- .../SurrogateCpps/catch_interfaces_reporter.cpp | 4 ++-- projects/SelfTest/SurrogateCpps/catch_option.cpp | 4 ++-- projects/SelfTest/SurrogateCpps/catch_stream.cpp | 4 ++-- .../SelfTest/SurrogateCpps/catch_test_case_tracker.cpp | 2 +- projects/SelfTest/SurrogateCpps/catch_test_spec.cpp | 4 ++-- projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp | 6 +++--- projects/SelfTest/TestMain.cpp | 10 +++++----- projects/SelfTest/UsageTests/Approx.tests.cpp | 2 +- projects/SelfTest/UsageTests/BDD.tests.cpp | 2 +- projects/SelfTest/UsageTests/Benchmark.tests.cpp | 2 +- projects/SelfTest/UsageTests/Class.tests.cpp | 2 +- projects/SelfTest/UsageTests/Compilation.tests.cpp | 2 +- projects/SelfTest/UsageTests/Condition.tests.cpp | 2 +- projects/SelfTest/UsageTests/Decomposition.tests.cpp | 2 +- projects/SelfTest/UsageTests/EnumToString.tests.cpp | 2 +- projects/SelfTest/UsageTests/Exception.tests.cpp | 2 +- projects/SelfTest/UsageTests/Generators.tests.cpp | 2 +- projects/SelfTest/UsageTests/Matchers.tests.cpp | 2 +- projects/SelfTest/UsageTests/Message.tests.cpp | 2 +- projects/SelfTest/UsageTests/Misc.tests.cpp | 2 +- projects/SelfTest/UsageTests/ToStringByte.tests.cpp | 2 +- projects/SelfTest/UsageTests/ToStringChrono.tests.cpp | 2 +- projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp | 2 +- .../SelfTest/UsageTests/ToStringOptional.tests.cpp | 2 +- projects/SelfTest/UsageTests/ToStringPair.tests.cpp | 2 +- projects/SelfTest/UsageTests/ToStringTuple.tests.cpp | 2 +- projects/SelfTest/UsageTests/ToStringVariant.tests.cpp | 2 +- projects/SelfTest/UsageTests/ToStringVector.tests.cpp | 2 +- projects/SelfTest/UsageTests/ToStringWhich.tests.cpp | 2 +- projects/SelfTest/UsageTests/Tricky.tests.cpp | 2 +- projects/SelfTest/UsageTests/VariadicMacros.tests.cpp | 2 +- 45 files changed, 67 insertions(+), 69 deletions(-) diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt index a662c124..4c22f047 100644 --- a/projects/CMakeLists.txt +++ b/projects/CMakeLists.txt @@ -88,8 +88,6 @@ include(CTest) add_executable(SelfTest ${TEST_SOURCES}) target_link_libraries(SelfTest PRIVATE Catch2) -# Fixme! -target_include_directories(SelfTest PRIVATE ${SOURCES_DIR}) # It took CMake until 3.8 to abandon the doomed approach of enumerating # required features so we just list bunch of C++11 and C++14 features. diff --git a/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp b/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp index 3154782e..fe3b95c9 100644 --- a/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp @@ -6,11 +6,11 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" -#include "catch_test_spec_parser.h" -#include "catch_test_case_info.h" -#include "catch_config.hpp" -#include "catch_commandline.h" +#include +#include +#include +#include +#include #ifdef __clang__ # pragma clang diagnostic ignored "-Wc++98-compat" diff --git a/projects/SelfTest/IntrospectiveTests/Details.tests.cpp b/projects/SelfTest/IntrospectiveTests/Details.tests.cpp index 75054fb3..77503fe9 100644 --- a/projects/SelfTest/IntrospectiveTests/Details.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/Details.tests.cpp @@ -3,7 +3,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include #if defined(_MSC_VER) #pragma warning(push) diff --git a/projects/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp b/projects/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp index d9cbc5ac..a8aaf967 100644 --- a/projects/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp @@ -1,4 +1,4 @@ -#include "catch.hpp" +#include // Tests of generator implementation details TEST_CASE("Generators internals", "[generators][internals]") { diff --git a/projects/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp b/projects/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp index d17998d8..415ce71c 100644 --- a/projects/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include #if defined(CATCH_CONFIG_ENABLE_BENCHMARKING) namespace { struct manual_clock { diff --git a/projects/SelfTest/IntrospectiveTests/PartTracker.tests.cpp b/projects/SelfTest/IntrospectiveTests/PartTracker.tests.cpp index d0ef5875..d244bf91 100644 --- a/projects/SelfTest/IntrospectiveTests/PartTracker.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/PartTracker.tests.cpp @@ -5,10 +5,10 @@ * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch_suppress_warnings.h" -#include "catch_test_case_tracker.h" +#include +#include -#include "catch.hpp" +#include using namespace Catch; diff --git a/projects/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp b/projects/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp index 8227fd4d..b226e6d9 100644 --- a/projects/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp @@ -5,9 +5,9 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include -#include "catch_random_number_generator.h" +#include TEST_CASE("Our PCG implementation provides expected results for known seeds", "[rng]") { Catch::SimplePcg32 rng; diff --git a/projects/SelfTest/IntrospectiveTests/String.tests.cpp b/projects/SelfTest/IntrospectiveTests/String.tests.cpp index 6781106e..427dfe6a 100644 --- a/projects/SelfTest/IntrospectiveTests/String.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/String.tests.cpp @@ -1,6 +1,6 @@ -#include "catch_stringref.h" +#include -#include "catch.hpp" +#include #include diff --git a/projects/SelfTest/IntrospectiveTests/StringManip.tests.cpp b/projects/SelfTest/IntrospectiveTests/StringManip.tests.cpp index 3157d27e..54a57bb1 100644 --- a/projects/SelfTest/IntrospectiveTests/StringManip.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/StringManip.tests.cpp @@ -1,6 +1,6 @@ -#include "catch_string_manip.h" +#include -#include "catch.hpp" +#include static const char * const no_whitespace = "There is no extra whitespace here"; static const char * const leading_whitespace = " \r \t\n There is no extra whitespace here"; diff --git a/projects/SelfTest/IntrospectiveTests/Tag.tests.cpp b/projects/SelfTest/IntrospectiveTests/Tag.tests.cpp index 6e063973..e5ba3570 100644 --- a/projects/SelfTest/IntrospectiveTests/Tag.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/Tag.tests.cpp @@ -6,8 +6,8 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" -#include "catch_tag_alias_registry.h" +#include +#include TEST_CASE( "Tag alias can be registered against tag patterns" ) { diff --git a/projects/SelfTest/IntrospectiveTests/ToString.tests.cpp b/projects/SelfTest/IntrospectiveTests/ToString.tests.cpp index 7d5e488c..85e2c658 100644 --- a/projects/SelfTest/IntrospectiveTests/ToString.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/ToString.tests.cpp @@ -1,6 +1,6 @@ -#include "catch.hpp" +#include -#include "catch_enum_values_registry.h" +#include enum class EnumClass3 { Value1, Value2, Value3, Value4 }; diff --git a/projects/SelfTest/IntrospectiveTests/Xml.tests.cpp b/projects/SelfTest/IntrospectiveTests/Xml.tests.cpp index 6880e5b4..0f162b81 100644 --- a/projects/SelfTest/IntrospectiveTests/Xml.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/Xml.tests.cpp @@ -1,5 +1,5 @@ -#include "catch.hpp" -#include "catch_xmlwriter.h" +#include +#include #include diff --git a/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp b/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp index 7bc87509..44e5dc58 100644 --- a/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp +++ b/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp @@ -1,3 +1,3 @@ // This file is only here to verify (to the extent possible) the self sufficiency of the header -#include "catch_suppress_warnings.h" -#include "catch_console_colour.h" +#include +#include diff --git a/projects/SelfTest/SurrogateCpps/catch_debugger.cpp b/projects/SelfTest/SurrogateCpps/catch_debugger.cpp index 33f76ae6..68a65e47 100644 --- a/projects/SelfTest/SurrogateCpps/catch_debugger.cpp +++ b/projects/SelfTest/SurrogateCpps/catch_debugger.cpp @@ -1,2 +1,2 @@ // This file is only here to verify (to the extent possible) the self sufficiency of the header -#include "catch_debugger.h" +#include diff --git a/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp b/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp index 544f9d0f..cfcfd889 100644 --- a/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp +++ b/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp @@ -1,2 +1,2 @@ -#include "catch_suppress_warnings.h" -#include "catch_interfaces_reporter.h" +#include +#include diff --git a/projects/SelfTest/SurrogateCpps/catch_option.cpp b/projects/SelfTest/SurrogateCpps/catch_option.cpp index 35e32829..4dfbd525 100644 --- a/projects/SelfTest/SurrogateCpps/catch_option.cpp +++ b/projects/SelfTest/SurrogateCpps/catch_option.cpp @@ -1,3 +1,3 @@ // This file is only here to verify (to the extent possible) the self sufficiency of the header -#include "catch_suppress_warnings.h" -#include "catch_option.hpp" +#include +#include diff --git a/projects/SelfTest/SurrogateCpps/catch_stream.cpp b/projects/SelfTest/SurrogateCpps/catch_stream.cpp index 7aaffa1e..63df987e 100644 --- a/projects/SelfTest/SurrogateCpps/catch_stream.cpp +++ b/projects/SelfTest/SurrogateCpps/catch_stream.cpp @@ -1,3 +1,3 @@ // This file is only here to verify (to the extent possible) the self sufficiency of the header -#include "catch_suppress_warnings.h" -#include "catch_stream.h" +#include +#include diff --git a/projects/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp b/projects/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp index 09fda590..c8418c8e 100644 --- a/projects/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp +++ b/projects/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp @@ -1,2 +1,2 @@ // This file is only here to verify (to the extent possible) the self sufficiency of the header -#include "catch_test_case_tracker.h" +#include diff --git a/projects/SelfTest/SurrogateCpps/catch_test_spec.cpp b/projects/SelfTest/SurrogateCpps/catch_test_spec.cpp index ac9993b6..0188cf34 100644 --- a/projects/SelfTest/SurrogateCpps/catch_test_spec.cpp +++ b/projects/SelfTest/SurrogateCpps/catch_test_spec.cpp @@ -1,3 +1,3 @@ // This file is only here to verify (to the extent possible) the self sufficiency of the header -#include "catch_suppress_warnings.h" -#include "catch_test_spec.h" +#include +#include diff --git a/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp b/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp index 520e159d..cb442a42 100644 --- a/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp +++ b/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp @@ -1,4 +1,4 @@ // This file is only here to verify (to the extent possible) the self sufficiency of the header -#include "catch_suppress_warnings.h" -#include "catch_xmlwriter.h" -#include "catch_reenable_warnings.h" +#include +#include +#include diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp index a16f0c22..4bb6d7aa 100644 --- a/projects/SelfTest/TestMain.cpp +++ b/projects/SelfTest/TestMain.cpp @@ -7,13 +7,13 @@ */ #define CATCH_CONFIG_MAIN -#include "catch.hpp" +#include // These reporters are not included in the single include, so must be included separately in the main file -#include "reporters/catch_reporter_teamcity.hpp" -#include "reporters/catch_reporter_tap.hpp" -#include "reporters/catch_reporter_automake.hpp" -#include "reporters/catch_reporter_sonarqube.hpp" +#include +#include +#include +#include // Some example tag aliases diff --git a/projects/SelfTest/UsageTests/Approx.tests.cpp b/projects/SelfTest/UsageTests/Approx.tests.cpp index 4029223a..ff32e841 100644 --- a/projects/SelfTest/UsageTests/Approx.tests.cpp +++ b/projects/SelfTest/UsageTests/Approx.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include #include diff --git a/projects/SelfTest/UsageTests/BDD.tests.cpp b/projects/SelfTest/UsageTests/BDD.tests.cpp index d0d3e038..84c4614c 100644 --- a/projects/SelfTest/UsageTests/BDD.tests.cpp +++ b/projects/SelfTest/UsageTests/BDD.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include namespace { namespace BDDTests { diff --git a/projects/SelfTest/UsageTests/Benchmark.tests.cpp b/projects/SelfTest/UsageTests/Benchmark.tests.cpp index 24fda013..b353db49 100644 --- a/projects/SelfTest/UsageTests/Benchmark.tests.cpp +++ b/projects/SelfTest/UsageTests/Benchmark.tests.cpp @@ -1,4 +1,4 @@ -#include "catch.hpp" +#include #include diff --git a/projects/SelfTest/UsageTests/Class.tests.cpp b/projects/SelfTest/UsageTests/Class.tests.cpp index f658fc19..8f1bbb0f 100644 --- a/projects/SelfTest/UsageTests/Class.tests.cpp +++ b/projects/SelfTest/UsageTests/Class.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include #include namespace{ namespace ClassTests { diff --git a/projects/SelfTest/UsageTests/Compilation.tests.cpp b/projects/SelfTest/UsageTests/Compilation.tests.cpp index aaba69c4..4df3ea5a 100644 --- a/projects/SelfTest/UsageTests/Compilation.tests.cpp +++ b/projects/SelfTest/UsageTests/Compilation.tests.cpp @@ -30,7 +30,7 @@ std::ostream& operator<<(std::ostream& out, foo::helper_1403 const&) { } /////////////////////////////// -#include "catch.hpp" +#include #include diff --git a/projects/SelfTest/UsageTests/Condition.tests.cpp b/projects/SelfTest/UsageTests/Condition.tests.cpp index 9aed5e2c..153eaf7a 100644 --- a/projects/SelfTest/UsageTests/Condition.tests.cpp +++ b/projects/SelfTest/UsageTests/Condition.tests.cpp @@ -14,7 +14,7 @@ # endif #endif -#include "catch.hpp" +#include #include #include diff --git a/projects/SelfTest/UsageTests/Decomposition.tests.cpp b/projects/SelfTest/UsageTests/Decomposition.tests.cpp index 5bb19cd6..5309bd60 100644 --- a/projects/SelfTest/UsageTests/Decomposition.tests.cpp +++ b/projects/SelfTest/UsageTests/Decomposition.tests.cpp @@ -26,7 +26,7 @@ std::ostream& operator<<(std::ostream& o, truthy) { } // end anonymous namespace -#include "catch.hpp" +#include TEST_CASE( "Reconstruction should be based on stringification: #914" , "[Decomposition][failing][.]") { CHECK(truthy(false)); diff --git a/projects/SelfTest/UsageTests/EnumToString.tests.cpp b/projects/SelfTest/UsageTests/EnumToString.tests.cpp index 7f27916e..02e90305 100644 --- a/projects/SelfTest/UsageTests/EnumToString.tests.cpp +++ b/projects/SelfTest/UsageTests/EnumToString.tests.cpp @@ -1,4 +1,4 @@ -#include "catch.hpp" +#include namespace { diff --git a/projects/SelfTest/UsageTests/Exception.tests.cpp b/projects/SelfTest/UsageTests/Exception.tests.cpp index 9c198dfb..d0f135b7 100644 --- a/projects/SelfTest/UsageTests/Exception.tests.cpp +++ b/projects/SelfTest/UsageTests/Exception.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include #include #include diff --git a/projects/SelfTest/UsageTests/Generators.tests.cpp b/projects/SelfTest/UsageTests/Generators.tests.cpp index 0e39bd5c..59a1baef 100644 --- a/projects/SelfTest/UsageTests/Generators.tests.cpp +++ b/projects/SelfTest/UsageTests/Generators.tests.cpp @@ -1,4 +1,4 @@ -#include "catch.hpp" +#include #include diff --git a/projects/SelfTest/UsageTests/Matchers.tests.cpp b/projects/SelfTest/UsageTests/Matchers.tests.cpp index 80e0420f..130b51b2 100644 --- a/projects/SelfTest/UsageTests/Matchers.tests.cpp +++ b/projects/SelfTest/UsageTests/Matchers.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include #include #include diff --git a/projects/SelfTest/UsageTests/Message.tests.cpp b/projects/SelfTest/UsageTests/Message.tests.cpp index 93347084..92fca804 100644 --- a/projects/SelfTest/UsageTests/Message.tests.cpp +++ b/projects/SelfTest/UsageTests/Message.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include #include TEST_CASE( "INFO and WARN do not abort tests", "[messages][.]" ) { diff --git a/projects/SelfTest/UsageTests/Misc.tests.cpp b/projects/SelfTest/UsageTests/Misc.tests.cpp index 808d1d0a..a503bc0a 100644 --- a/projects/SelfTest/UsageTests/Misc.tests.cpp +++ b/projects/SelfTest/UsageTests/Misc.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include #ifdef __clang__ # pragma clang diagnostic ignored "-Wc++98-compat" diff --git a/projects/SelfTest/UsageTests/ToStringByte.tests.cpp b/projects/SelfTest/UsageTests/ToStringByte.tests.cpp index 0aad679f..15044ab3 100644 --- a/projects/SelfTest/UsageTests/ToStringByte.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringByte.tests.cpp @@ -1,4 +1,4 @@ -#include "catch.hpp" +#include #if defined(CATCH_CONFIG_CPP17_BYTE) diff --git a/projects/SelfTest/UsageTests/ToStringChrono.tests.cpp b/projects/SelfTest/UsageTests/ToStringChrono.tests.cpp index c2c0829f..1b01c7e8 100644 --- a/projects/SelfTest/UsageTests/ToStringChrono.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringChrono.tests.cpp @@ -1,5 +1,5 @@ #define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER -#include "catch.hpp" +#include #include #include diff --git a/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp b/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp index 69d6320d..f6d936cc 100644 --- a/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp @@ -6,7 +6,7 @@ */ #define CATCH_CONFIG_ENABLE_PAIR_STRINGMAKER -#include "catch.hpp" +#include #include #include diff --git a/projects/SelfTest/UsageTests/ToStringOptional.tests.cpp b/projects/SelfTest/UsageTests/ToStringOptional.tests.cpp index d78579d9..46456163 100644 --- a/projects/SelfTest/UsageTests/ToStringOptional.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringOptional.tests.cpp @@ -1,5 +1,5 @@ #define CATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER -#include "catch.hpp" +#include #if defined(CATCH_CONFIG_CPP17_OPTIONAL) diff --git a/projects/SelfTest/UsageTests/ToStringPair.tests.cpp b/projects/SelfTest/UsageTests/ToStringPair.tests.cpp index 1445c54f..ba734f17 100644 --- a/projects/SelfTest/UsageTests/ToStringPair.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringPair.tests.cpp @@ -1,5 +1,5 @@ #define CATCH_CONFIG_ENABLE_PAIR_STRINGMAKER -#include "catch.hpp" +#include TEST_CASE( "std::pair -> toString", "[toString][pair]" ) { std::pair value( 34, "xyzzy" ); diff --git a/projects/SelfTest/UsageTests/ToStringTuple.tests.cpp b/projects/SelfTest/UsageTests/ToStringTuple.tests.cpp index fe19ce01..983ba550 100644 --- a/projects/SelfTest/UsageTests/ToStringTuple.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringTuple.tests.cpp @@ -1,5 +1,5 @@ #define CATCH_CONFIG_ENABLE_TUPLE_STRINGMAKER -#include "catch.hpp" +#include #include diff --git a/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp b/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp index c6809c0f..32471a0a 100644 --- a/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp @@ -1,5 +1,5 @@ #define CATCH_CONFIG_ENABLE_VARIANT_STRINGMAKER -#include "catch.hpp" +#include #if defined(CATCH_CONFIG_CPP17_VARIANT) diff --git a/projects/SelfTest/UsageTests/ToStringVector.tests.cpp b/projects/SelfTest/UsageTests/ToStringVector.tests.cpp index 63b49e50..1283b4a6 100644 --- a/projects/SelfTest/UsageTests/ToStringVector.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringVector.tests.cpp @@ -1,4 +1,4 @@ -#include "catch.hpp" +#include #include #include diff --git a/projects/SelfTest/UsageTests/ToStringWhich.tests.cpp b/projects/SelfTest/UsageTests/ToStringWhich.tests.cpp index cd4a1518..0a5eac40 100644 --- a/projects/SelfTest/UsageTests/ToStringWhich.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringWhich.tests.cpp @@ -13,7 +13,7 @@ std::string fallbackStringifier(T const&) { } #define CATCH_CONFIG_FALLBACK_STRINGIFIER fallbackStringifier -#include "catch.hpp" +#include diff --git a/projects/SelfTest/UsageTests/Tricky.tests.cpp b/projects/SelfTest/UsageTests/Tricky.tests.cpp index 55fe6230..c2afdca1 100644 --- a/projects/SelfTest/UsageTests/Tricky.tests.cpp +++ b/projects/SelfTest/UsageTests/Tricky.tests.cpp @@ -15,7 +15,7 @@ // that is triggered when compiling as Win32|Release #endif -#include "catch.hpp" +#include #include #include diff --git a/projects/SelfTest/UsageTests/VariadicMacros.tests.cpp b/projects/SelfTest/UsageTests/VariadicMacros.tests.cpp index fd651c5e..de8dc187 100644 --- a/projects/SelfTest/UsageTests/VariadicMacros.tests.cpp +++ b/projects/SelfTest/UsageTests/VariadicMacros.tests.cpp @@ -6,7 +6,7 @@ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ -#include "catch.hpp" +#include TEST_CASE()