UnitTests: Fix includes

Former-commit-id: 17f0094da0788864bed8ba47ea19ff215797e06e
This commit is contained in:
Lynix 2015-09-18 14:11:44 +02:00
parent b56a454a40
commit 294894e8c1
24 changed files with 26 additions and 27 deletions

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/ByteArray.hpp> #include <Nazara/Core/ByteArray.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
#include <string> #include <string>

View File

@ -1,7 +1,6 @@
#include <Nazara/Core/Clock.hpp> #include <Nazara/Core/Clock.hpp>
#include <catch.hpp> #include <Nazara/Core/Thread.hpp>
#include <Catch/catch.hpp>
#include <thread>
SCENARIO("Clock", "[CORE][CLOCK]") SCENARIO("Clock", "[CORE][CLOCK]")
{ {
@ -22,7 +21,7 @@ SCENARIO("Clock", "[CORE][CLOCK]")
clock.Unpause(); clock.Unpause();
THEN("Time must not be the initialTime") THEN("Time must not be the initialTime")
{ {
std::this_thread::sleep_for(std::chrono::microseconds(10)); NzThread::Sleep(1);
REQUIRE(clock.GetMicroseconds() != initialTime); REQUIRE(clock.GetMicroseconds() != initialTime);
} }
} }

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/Color.hpp> #include <Nazara/Core/Color.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Color", "[CORE][COLOR]") SCENARIO("Color", "[CORE][COLOR]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/Directory.hpp> #include <Nazara/Core/Directory.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Directory", "[CORE][DIRECTORY]") SCENARIO("Directory", "[CORE][DIRECTORY]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/Error.hpp> #include <Nazara/Core/Error.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Error", "[CORE][ERROR]") SCENARIO("Error", "[CORE][ERROR]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/File.hpp> #include <Nazara/Core/File.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("File", "[CORE][FILE]") SCENARIO("File", "[CORE][FILE]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/String.hpp> #include <Nazara/Core/String.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("String", "[CORE][STRING]") SCENARIO("String", "[CORE][STRING]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Core/StringStream.hpp> #include <Nazara/Core/StringStream.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("StringStream", "[CORE][STRINGSTREAM]") SCENARIO("StringStream", "[CORE][STRINGSTREAM]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Algorithm.hpp> #include <Nazara/Math/Algorithm.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
TEST_CASE("Approach", "[MATH][ALGORITHM]" ) TEST_CASE("Approach", "[MATH][ALGORITHM]" )
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/BoundingVolume.hpp> #include <Nazara/Math/BoundingVolume.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("BoundingVolume", "[MATH][BOUNDINGVOLUME]") SCENARIO("BoundingVolume", "[MATH][BOUNDINGVOLUME]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Box.hpp> #include <Nazara/Math/Box.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Box", "[MATH][BOX]") SCENARIO("Box", "[MATH][BOX]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/EulerAngles.hpp> #include <Nazara/Math/EulerAngles.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("EulerAngles", "[MATH][EULERANGLES]") SCENARIO("EulerAngles", "[MATH][EULERANGLES]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Frustum.hpp> #include <Nazara/Math/Frustum.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Frustum", "[MATH][FRUSTUM]") SCENARIO("Frustum", "[MATH][FRUSTUM]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Matrix4.hpp> #include <Nazara/Math/Matrix4.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Matrix4", "[MATH][MATRIX4]") SCENARIO("Matrix4", "[MATH][MATRIX4]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/OrientedBox.hpp> #include <Nazara/Math/OrientedBox.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("OrientedBox", "[MATH][ORIENTEDBOX]") SCENARIO("OrientedBox", "[MATH][ORIENTEDBOX]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Plane.hpp> #include <Nazara/Math/Plane.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Plane", "[MATH][PLANE]") SCENARIO("Plane", "[MATH][PLANE]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Quaternion.hpp> #include <Nazara/Math/Quaternion.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Quaternion", "[MATH][QUATERNION]") SCENARIO("Quaternion", "[MATH][QUATERNION]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Ray.hpp> #include <Nazara/Math/Ray.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Ray", "[RAY]") SCENARIO("Ray", "[RAY]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Rect.hpp> #include <Nazara/Math/Rect.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Rect", "[MATH][RECT]") SCENARIO("Rect", "[MATH][RECT]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Sphere.hpp> #include <Nazara/Math/Sphere.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
SCENARIO("Sphere", "[MATH][SPHERE]") SCENARIO("Sphere", "[MATH][SPHERE]")
{ {

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Vector2.hpp> #include <Nazara/Math/Vector2.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
#include <Nazara/Math/Vector4.hpp> #include <Nazara/Math/Vector4.hpp>

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Vector3.hpp> #include <Nazara/Math/Vector3.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
#include <Nazara/Math/Vector4.hpp> #include <Nazara/Math/Vector4.hpp>

View File

@ -1,5 +1,5 @@
#include <Nazara/Math/Vector4.hpp> #include <Nazara/Math/Vector4.hpp>
#include <catch.hpp> #include <Catch/catch.hpp>
#include <Nazara/Math/Vector3.hpp> #include <Nazara/Math/Vector3.hpp>

View File

@ -1,2 +1,2 @@
#define CATCH_CONFIG_MAIN #define CATCH_CONFIG_MAIN
#include <catch.hpp> #include <Catch/catch.hpp>