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 063fd780f..c63befd31 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 bf51dc4b6..253b80c8b 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 082880774..fb60573e9 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 7b5632ae2..5273fe7c7 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 4396e9671..52e767454 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 4d8521088..033908eb8 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 ba6d78d89..e83c3cf33 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 a343cdbed..d90dc05de 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 3615529d0..32cedcc7c 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 79a34b480..b8e704ba1 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 8886d606c..ff59c5552 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 0b4ae1ef1..d69eebfa9 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 b6ea904c3..8356b1577 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 8c1ad01a9..0ba3e563d 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 613561445..2ff53c942 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 87618f05d..834983e99 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 2c5631a2c..3d28afa9a 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 297d798d3..8d2d07302 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 f4bca0880..276365539 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 4b4bb0020..f838d84f5 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 c81879973..58e132662 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 1c9b8089a..737fb9386 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 2bd554bca..99e6e0752 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 57777edee..a0d0bc1a2 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 0bfefc371..195045e3c 100644 --- a/test/Window/VideoMode.cpp +++ b/test/Window/VideoMode.cpp @@ -1,5 +1,5 @@ #include -#include "WindowUtil.hpp" +#include #include