From fd3526f74287dd9824d565d50363ca950f05d789 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Sat, 25 Jun 2022 20:41:32 -0600 Subject: [PATCH] Use `<>` for test utilities includes SFML convention is to only use "" includes when the header is in the same directory as the file including it. Because these test util headers are in a separate directory, it makes more sense to include them via <>. --- test/Graphics/BlendMode.cpp | 2 +- test/Graphics/CircleShape.cpp | 2 +- test/Graphics/Color.cpp | 2 +- test/Graphics/ConvexShape.cpp | 2 +- test/Graphics/Glyph.cpp | 2 +- test/Graphics/Image.cpp | 2 +- test/Graphics/Rect.cpp | 2 +- test/Graphics/RectangleShape.cpp | 2 +- test/Graphics/RenderStates.cpp | 2 +- test/Graphics/Shape.cpp | 2 +- test/Graphics/Transform.cpp | 2 +- test/Graphics/Transformable.cpp | 2 +- test/Graphics/Vertex.cpp | 2 +- test/Graphics/VertexArray.cpp | 2 +- test/Graphics/View.cpp | 2 +- test/System/Angle.cpp | 2 +- test/System/Clock.cpp | 2 +- test/System/Time.cpp | 2 +- test/System/Vector2.cpp | 2 +- test/System/Vector3.cpp | 2 +- test/TestUtilities/GraphicsUtil.cpp | 2 +- test/TestUtilities/GraphicsUtil.hpp | 2 +- test/TestUtilities/SystemUtil.cpp | 2 +- test/TestUtilities/WindowUtil.hpp | 2 +- test/Window/VideoMode.cpp | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/test/Graphics/BlendMode.cpp b/test/Graphics/BlendMode.cpp index 063fd780..c63befd3 100644 --- a/test/Graphics/BlendMode.cpp +++ b/test/Graphics/BlendMode.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/CircleShape.cpp b/test/Graphics/CircleShape.cpp index bf51dc4b..253b80c8 100644 --- a/test/Graphics/CircleShape.cpp +++ b/test/Graphics/CircleShape.cpp @@ -1,5 +1,5 @@ #include -#include "SystemUtil.hpp" +#include #include diff --git a/test/Graphics/Color.cpp b/test/Graphics/Color.cpp index 08288077..fb60573e 100644 --- a/test/Graphics/Color.cpp +++ b/test/Graphics/Color.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/ConvexShape.cpp b/test/Graphics/ConvexShape.cpp index 7b5632ae..5273fe7c 100644 --- a/test/Graphics/ConvexShape.cpp +++ b/test/Graphics/ConvexShape.cpp @@ -1,5 +1,5 @@ #include -#include "SystemUtil.hpp" +#include #include diff --git a/test/Graphics/Glyph.cpp b/test/Graphics/Glyph.cpp index 4396e967..52e76745 100644 --- a/test/Graphics/Glyph.cpp +++ b/test/Graphics/Glyph.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/Image.cpp b/test/Graphics/Image.cpp index 4d852108..033908eb 100644 --- a/test/Graphics/Image.cpp +++ b/test/Graphics/Image.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include #include diff --git a/test/Graphics/Rect.cpp b/test/Graphics/Rect.cpp index ba6d78d8..e83c3cf3 100644 --- a/test/Graphics/Rect.cpp +++ b/test/Graphics/Rect.cpp @@ -1,6 +1,6 @@ #include #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/RectangleShape.cpp b/test/Graphics/RectangleShape.cpp index a343cdbe..d90dc05d 100644 --- a/test/Graphics/RectangleShape.cpp +++ b/test/Graphics/RectangleShape.cpp @@ -1,5 +1,5 @@ #include -#include "SystemUtil.hpp" +#include #include diff --git a/test/Graphics/RenderStates.cpp b/test/Graphics/RenderStates.cpp index 3615529d..32cedcc7 100644 --- a/test/Graphics/RenderStates.cpp +++ b/test/Graphics/RenderStates.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/Shape.cpp b/test/Graphics/Shape.cpp index 79a34b48..b8e704ba 100644 --- a/test/Graphics/Shape.cpp +++ b/test/Graphics/Shape.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/Transform.cpp b/test/Graphics/Transform.cpp index 8886d606..ff59c555 100644 --- a/test/Graphics/Transform.cpp +++ b/test/Graphics/Transform.cpp @@ -1,6 +1,6 @@ #include #include -#include "GraphicsUtil.hpp" +#include #include #include diff --git a/test/Graphics/Transformable.cpp b/test/Graphics/Transformable.cpp index 0b4ae1ef..d69eebfa 100644 --- a/test/Graphics/Transformable.cpp +++ b/test/Graphics/Transformable.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/Vertex.cpp b/test/Graphics/Vertex.cpp index b6ea904c..8356b157 100644 --- a/test/Graphics/Vertex.cpp +++ b/test/Graphics/Vertex.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/VertexArray.cpp b/test/Graphics/VertexArray.cpp index 8c1ad01a..0ba3e563 100644 --- a/test/Graphics/VertexArray.cpp +++ b/test/Graphics/VertexArray.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/Graphics/View.cpp b/test/Graphics/View.cpp index 61356144..2ff53c94 100644 --- a/test/Graphics/View.cpp +++ b/test/Graphics/View.cpp @@ -1,5 +1,5 @@ #include -#include "GraphicsUtil.hpp" +#include #include diff --git a/test/System/Angle.cpp b/test/System/Angle.cpp index 87618f05..834983e9 100644 --- a/test/System/Angle.cpp +++ b/test/System/Angle.cpp @@ -1,5 +1,5 @@ #include -#include "SystemUtil.hpp" +#include #include diff --git a/test/System/Clock.cpp b/test/System/Clock.cpp index 2c5631a2..3d28afa9 100644 --- a/test/System/Clock.cpp +++ b/test/System/Clock.cpp @@ -1,6 +1,6 @@ #include #include -#include "SystemUtil.hpp" +#include #include #include diff --git a/test/System/Time.cpp b/test/System/Time.cpp index 297d798d..8d2d0730 100644 --- a/test/System/Time.cpp +++ b/test/System/Time.cpp @@ -1,5 +1,5 @@ #include -#include "SystemUtil.hpp" +#include #include diff --git a/test/System/Vector2.cpp b/test/System/Vector2.cpp index f4bca088..27636553 100644 --- a/test/System/Vector2.cpp +++ b/test/System/Vector2.cpp @@ -1,5 +1,5 @@ #include -#include "SystemUtil.hpp" +#include #include #include diff --git a/test/System/Vector3.cpp b/test/System/Vector3.cpp index 4b4bb002..f838d84f 100644 --- a/test/System/Vector3.cpp +++ b/test/System/Vector3.cpp @@ -1,5 +1,5 @@ #include -#include "SystemUtil.hpp" +#include #include #include diff --git a/test/TestUtilities/GraphicsUtil.cpp b/test/TestUtilities/GraphicsUtil.cpp index c8187997..58e13266 100644 --- a/test/TestUtilities/GraphicsUtil.cpp +++ b/test/TestUtilities/GraphicsUtil.cpp @@ -1,4 +1,4 @@ -#include "GraphicsUtil.hpp" +#include #include #include diff --git a/test/TestUtilities/GraphicsUtil.hpp b/test/TestUtilities/GraphicsUtil.hpp index 1c9b8089..737fb938 100644 --- a/test/TestUtilities/GraphicsUtil.hpp +++ b/test/TestUtilities/GraphicsUtil.hpp @@ -6,7 +6,7 @@ #ifndef SFML_TESTUTILITIES_GRAPHICS_HPP #define SFML_TESTUTILITIES_GRAPHICS_HPP -#include "WindowUtil.hpp" +#include #include #include diff --git a/test/TestUtilities/SystemUtil.cpp b/test/TestUtilities/SystemUtil.cpp index 2bd554bc..99e6e075 100644 --- a/test/TestUtilities/SystemUtil.cpp +++ b/test/TestUtilities/SystemUtil.cpp @@ -1,4 +1,4 @@ -#include "SystemUtil.hpp" +#include #include #include diff --git a/test/TestUtilities/WindowUtil.hpp b/test/TestUtilities/WindowUtil.hpp index 57777ede..a0d0bc1a 100644 --- a/test/TestUtilities/WindowUtil.hpp +++ b/test/TestUtilities/WindowUtil.hpp @@ -6,7 +6,7 @@ #ifndef SFML_TESTUTILITIES_WINDOW_HPP #define SFML_TESTUTILITIES_WINDOW_HPP -#include "SystemUtil.hpp" +#include // String conversions for doctest framework namespace sf diff --git a/test/Window/VideoMode.cpp b/test/Window/VideoMode.cpp index 0bfefc37..195045e3 100644 --- a/test/Window/VideoMode.cpp +++ b/test/Window/VideoMode.cpp @@ -1,5 +1,5 @@ #include -#include "WindowUtil.hpp" +#include #include