diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-29 19:07:11 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-29 19:07:11 +0100 |
commit | 5a0b3927a33807cca4c77c40eb873f8a3b51b0b0 (patch) | |
tree | 4af0585ee8f8f468ab10c0a4fe9994fb30b79599 /test | |
parent | Dunno how, but some DOS new lines got in here! (diff) | |
download | ilt-5a0b3927a33807cca4c77c40eb873f8a3b51b0b0.tar.bz2 ilt-5a0b3927a33807cca4c77c40eb873f8a3b51b0b0.tar.xz ilt-5a0b3927a33807cca4c77c40eb873f8a3b51b0b0.zip |
Drop .hpp for header only things
Half of them acquired a .cpp part anyway
Diffstat (limited to 'test')
-rw-r--r-- | test/enumDetailsData.h (renamed from test/enumDetailsData.hpp) | 2 | ||||
-rw-r--r-- | test/test-assetFactory.cpp | 6 | ||||
-rw-r--r-- | test/test-collection.cpp | 6 | ||||
-rw-r--r-- | test/test-enumDetails.cpp | 6 | ||||
-rw-r--r-- | test/test-geo.cpp | 4 | ||||
-rw-r--r-- | test/test-instancing.cpp | 2 | ||||
-rw-r--r-- | test/test-maths.cpp | 2 | ||||
-rw-r--r-- | test/test-network.cpp | 4 | ||||
-rw-r--r-- | test/test-render.cpp | 4 | ||||
-rw-r--r-- | test/test-static-enumDetails.cpp | 4 | ||||
-rw-r--r-- | test/test-static-stream_support.cpp | 2 | ||||
-rw-r--r-- | test/test-text.cpp | 2 | ||||
-rw-r--r-- | test/test-worker.cpp | 2 | ||||
-rw-r--r-- | test/testRenderOutput.h | 2 |
14 files changed, 24 insertions, 24 deletions
diff --git a/test/enumDetailsData.hpp b/test/enumDetailsData.h index 0e98af5..713d742 100644 --- a/test/enumDetailsData.hpp +++ b/test/enumDetailsData.h @@ -1,5 +1,5 @@ #pragma once -#include <enumDetails.hpp> +#include <enumDetails.h> enum GlobalUnscoped { aa, b, c }; enum class GlobalScoped { aa, b, c }; diff --git a/test/test-assetFactory.cpp b/test/test-assetFactory.cpp index c0edd66..18dc778 100644 --- a/test/test-assetFactory.cpp +++ b/test/test-assetFactory.cpp @@ -14,9 +14,9 @@ #include "game/vehicles/railVehicleClass.h" #include "gfx/gl/sceneRenderer.h" #include "gfx/renderable.h" -#include "lib/collection.hpp" -#include "lib/location.hpp" -#include "lib/stream_support.hpp" +#include "lib/collection.h" +#include "lib/location.h" +#include "lib/stream_support.h" #include "testMainWindow.h" #include "ui/applicationBase.h" diff --git a/test/test-collection.cpp b/test/test-collection.cpp index 9884812..16db792 100644 --- a/test/test-collection.cpp +++ b/test/test-collection.cpp @@ -2,10 +2,10 @@ #include <boost/test/unit_test.hpp> -#include <collection.hpp> +#include <collection.h> #include <memory> -#include <ptr.hpp> -#include <special_members.hpp> +#include <ptr.h> +#include <special_members.h> #include <vector> class Base { diff --git a/test/test-enumDetails.cpp b/test/test-enumDetails.cpp index db2d6d0..0e759e5 100644 --- a/test/test-enumDetails.cpp +++ b/test/test-enumDetails.cpp @@ -1,11 +1,11 @@ #define BOOST_TEST_MODULE test_enumDetails -#include "enumDetailsData.hpp" +#include "enumDetailsData.h" #include "testHelpers.h" #include <boost/test/data/test_case.hpp> #include <boost/test/unit_test.hpp> -#include <enumDetails.hpp> -#include <stream_support.hpp> +#include <enumDetails.h> +#include <stream_support.h> constexpr std::array INVALID_NAMES {"", "missing", "GlobalScoped::aa", "GlobalScoped", "ns::aa", "a", "bb"}; constexpr std::array VALID_NAMES {"aa", "b", "c"}; diff --git a/test/test-geo.cpp b/test/test-geo.cpp index bc442e9..e672e54 100644 --- a/test/test-geo.cpp +++ b/test/test-geo.cpp @@ -3,10 +3,10 @@ #include "testHelpers.h" #include <boost/test/data/test_case.hpp> #include <boost/test/unit_test.hpp> -#include <stream_support.hpp> +#include <stream_support.h> #include <game/geoData.h> -#include <lib/ray.hpp> +#include <lib/ray.h> struct TestGeoData : public GeoData { TestGeoData() : GeoData {{{-10, -5}, {30, 40}}, 5.F} { } diff --git a/test/test-instancing.cpp b/test/test-instancing.cpp index c743ce0..8745484 100644 --- a/test/test-instancing.cpp +++ b/test/test-instancing.cpp @@ -1,6 +1,6 @@ #define BOOST_TEST_MODULE instancing -#include "stream_support.hpp" +#include "stream_support.h" #include "testHelpers.h" #include "testMainWindow.h" #include "ui/applicationBase.h" diff --git a/test/test-maths.cpp b/test/test-maths.cpp index 6ee2113..a4a881d 100644 --- a/test/test-maths.cpp +++ b/test/test-maths.cpp @@ -4,7 +4,7 @@ #include <boost/test/data/test_case.hpp> #include <boost/test/unit_test.hpp> #include <glm/gtx/transform.hpp> -#include <stream_support.hpp> +#include <stream_support.h> #include <string_view> #include <type_traits> diff --git a/test/test-network.cpp b/test/test-network.cpp index 19c0977..e6241e4 100644 --- a/test/test-network.cpp +++ b/test/test-network.cpp @@ -5,7 +5,7 @@ #include <boost/test/unit_test.hpp> #include <array> -#include <collection.hpp> +#include <collection.h> #include <game/network/link.h> #include <game/network/network.h> #include <game/network/network.impl.h> // IWYU pragma: keep @@ -14,7 +14,7 @@ #include <maths.h> #include <memory> #include <stdexcept> -#include <stream_support.hpp> +#include <stream_support.h> #include <utility> #include <vector> diff --git a/test/test-render.cpp b/test/test-render.cpp index d5e2d87..4bfcad2 100644 --- a/test/test-render.cpp +++ b/test/test-render.cpp @@ -14,9 +14,9 @@ #include <gfx/gl/sceneRenderer.h> #include <gfx/models/texture.h> #include <lib/glArrays.h> -#include <location.hpp> +#include <location.h> #include <maths.h> -#include <stream_support.hpp> +#include <stream_support.h> #include <ui/applicationBase.h> #include <ui/window.h> diff --git a/test/test-static-enumDetails.cpp b/test/test-static-enumDetails.cpp index 03c2203..5f81753 100644 --- a/test/test-static-enumDetails.cpp +++ b/test/test-static-enumDetails.cpp @@ -1,6 +1,6 @@ #define ENUM_PROBE -#include "enumDetailsData.hpp" -#include <enumDetails.hpp> +#include "enumDetailsData.h" +#include <enumDetails.h> // Test type name static_assert(EnumTypeDetails<GlobalUnscoped>::typeName == "GlobalUnscoped"); diff --git a/test/test-static-stream_support.cpp b/test/test-static-stream_support.cpp index 367d5a2..3002ccc 100644 --- a/test/test-static-stream_support.cpp +++ b/test/test-static-stream_support.cpp @@ -1,4 +1,4 @@ -#include "stream_support.hpp" +#include "stream_support.h" #include <array> #include <vector> diff --git a/test/test-text.cpp b/test/test-text.cpp index 0c73021..3a23818 100644 --- a/test/test-text.cpp +++ b/test/test-text.cpp @@ -3,7 +3,7 @@ #include "testHelpers.h" #include <boost/test/data/test_case.hpp> #include <boost/test/unit_test.hpp> -#include <stream_support.hpp> +#include <stream_support.h> #include <array> #include <glm/glm.hpp> diff --git a/test/test-worker.cpp b/test/test-worker.cpp index 76b7138..cadc366 100644 --- a/test/test-worker.cpp +++ b/test/test-worker.cpp @@ -3,7 +3,7 @@ #include "testHelpers.h" #include <boost/test/unit_test.hpp> #include <set> -#include <stream_support.hpp> +#include <stream_support.h> #include <worker.h> uint32_t diff --git a/test/testRenderOutput.h b/test/testRenderOutput.h index 8a8bdaf..f5cd56b 100644 --- a/test/testRenderOutput.h +++ b/test/testRenderOutput.h @@ -2,7 +2,7 @@ #include "glArrays.h" #include <glm/vec2.hpp> -#include <special_members.hpp> +#include <special_members.h> class TestRenderOutput { public: |