mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
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 <>.
This commit is contained in:
parent
4047909725
commit
fd3526f742
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/BlendMode.hpp>
|
#include <SFML/Graphics/BlendMode.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/CircleShape.hpp>
|
#include <SFML/Graphics/CircleShape.hpp>
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/Color.hpp>
|
#include <SFML/Graphics/Color.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/ConvexShape.hpp>
|
#include <SFML/Graphics/ConvexShape.hpp>
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/Glyph.hpp>
|
#include <SFML/Graphics/Glyph.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/Image.hpp>
|
#include <SFML/Graphics/Image.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <SFML/Graphics/Rect.hpp>
|
#include <SFML/Graphics/Rect.hpp>
|
||||||
#include <SFML/System/Vector2.hpp>
|
#include <SFML/System/Vector2.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/RectangleShape.hpp>
|
#include <SFML/Graphics/RectangleShape.hpp>
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/RenderStates.hpp>
|
#include <SFML/Graphics/RenderStates.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/Shape.hpp>
|
#include <SFML/Graphics/Shape.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <SFML/Graphics/Transform.hpp>
|
#include <SFML/Graphics/Transform.hpp>
|
||||||
#include <SFML/System/Angle.hpp>
|
#include <SFML/System/Angle.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/Transformable.hpp>
|
#include <SFML/Graphics/Transformable.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/Vertex.hpp>
|
#include <SFML/Graphics/Vertex.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/VertexArray.hpp>
|
#include <SFML/Graphics/VertexArray.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Graphics/View.hpp>
|
#include <SFML/Graphics/View.hpp>
|
||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/System/Angle.hpp>
|
#include <SFML/System/Angle.hpp>
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <SFML/System/Clock.hpp>
|
#include <SFML/System/Clock.hpp>
|
||||||
#include <SFML/System/Time.hpp>
|
#include <SFML/System/Time.hpp>
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/System/Time.hpp>
|
#include <SFML/System/Time.hpp>
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/System/Vector2.hpp>
|
#include <SFML/System/Vector2.hpp>
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/System/Vector3.hpp>
|
#include <SFML/System/Vector3.hpp>
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "GraphicsUtil.hpp"
|
#include <GraphicsUtil.hpp>
|
||||||
|
|
||||||
#include <SFML/Graphics/BlendMode.hpp>
|
#include <SFML/Graphics/BlendMode.hpp>
|
||||||
#include <SFML/Graphics/Color.hpp>
|
#include <SFML/Graphics/Color.hpp>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#ifndef SFML_TESTUTILITIES_GRAPHICS_HPP
|
#ifndef SFML_TESTUTILITIES_GRAPHICS_HPP
|
||||||
#define SFML_TESTUTILITIES_GRAPHICS_HPP
|
#define SFML_TESTUTILITIES_GRAPHICS_HPP
|
||||||
|
|
||||||
#include "WindowUtil.hpp"
|
#include <WindowUtil.hpp>
|
||||||
|
|
||||||
#include <SFML/Graphics/Rect.hpp>
|
#include <SFML/Graphics/Rect.hpp>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
|
|
||||||
#include <SFML/System/Angle.hpp>
|
#include <SFML/System/Angle.hpp>
|
||||||
#include <SFML/System/String.hpp>
|
#include <SFML/System/String.hpp>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#ifndef SFML_TESTUTILITIES_WINDOW_HPP
|
#ifndef SFML_TESTUTILITIES_WINDOW_HPP
|
||||||
#define SFML_TESTUTILITIES_WINDOW_HPP
|
#define SFML_TESTUTILITIES_WINDOW_HPP
|
||||||
|
|
||||||
#include "SystemUtil.hpp"
|
#include <SystemUtil.hpp>
|
||||||
|
|
||||||
// String conversions for doctest framework
|
// String conversions for doctest framework
|
||||||
namespace sf
|
namespace sf
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <SFML/Window/VideoMode.hpp>
|
#include <SFML/Window/VideoMode.hpp>
|
||||||
#include "WindowUtil.hpp"
|
#include <WindowUtil.hpp>
|
||||||
|
|
||||||
#include <doctest.h>
|
#include <doctest.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user