Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/IntrospectiveTests
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-12-02 12:23:10 +0100
committerMartin Hořeňovský2019-12-02 12:23:10 +0100
commit90e2549cecc2e886d563b7a88e752c9b4104f798 (patch)
treeab51f444b8faaa6d7d360daf1e2c22b763379ec4 /projects/SelfTest/IntrospectiveTests
parent82cc5bc034bfc54f7c5c34fffccc112f5e1892f7 (diff)
downloadcatch3-90e2549cecc2e886d563b7a88e752c9b4104f798.tar.gz
Rewrite includes in tests to use library's include paths
Diffstat (limited to 'projects/SelfTest/IntrospectiveTests')
-rw-r--r--projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp10
-rw-r--r--projects/SelfTest/IntrospectiveTests/Details.tests.cpp2
-rw-r--r--projects/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp2
-rw-r--r--projects/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp2
-rw-r--r--projects/SelfTest/IntrospectiveTests/PartTracker.tests.cpp6
-rw-r--r--projects/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp4
-rw-r--r--projects/SelfTest/IntrospectiveTests/String.tests.cpp4
-rw-r--r--projects/SelfTest/IntrospectiveTests/StringManip.tests.cpp4
-rw-r--r--projects/SelfTest/IntrospectiveTests/Tag.tests.cpp4
-rw-r--r--projects/SelfTest/IntrospectiveTests/ToString.tests.cpp4
-rw-r--r--projects/SelfTest/IntrospectiveTests/Xml.tests.cpp4
11 files changed, 23 insertions, 23 deletions
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 <catch2/catch.hpp>
+#include <catch2/catch_test_spec_parser.h>
+#include <catch2/catch_test_case_info.h>
+#include <catch2/catch_config.hpp>
+#include <catch2/catch_commandline.h>
#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 <catch2/catch.hpp>
#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 <catch2/catch.hpp>
// 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 <catch2/catch.hpp>
#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 <catch2/catch_suppress_warnings.h>
+#include <catch2/catch_test_case_tracker.h>
-#include "catch.hpp"
+#include <catch2/catch.hpp>
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 <catch2/catch.hpp>
-#include "catch_random_number_generator.h"
+#include <catch2/catch_random_number_generator.h>
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 <catch2/catch_stringref.h>
-#include "catch.hpp"
+#include <catch2/catch.hpp>
#include <cstring>
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 <catch2/catch_string_manip.h>
-#include "catch.hpp"
+#include <catch2/catch.hpp>
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 <catch2/catch.hpp>
+#include <catch2/catch_tag_alias_registry.h>
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 <catch2/catch.hpp>
-#include "catch_enum_values_registry.h"
+#include <catch2/catch_enum_values_registry.h>
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 <catch2/catch.hpp>
+#include <catch2/catch_xmlwriter.h>
#include <sstream>