UnitTests: Fix includes
Former-commit-id: 17f0094da0788864bed8ba47ea19ff215797e06e
This commit is contained in:
parent
b56a454a40
commit
294894e8c1
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]" )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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]")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
#define CATCH_CONFIG_MAIN
|
#define CATCH_CONFIG_MAIN
|
||||||
#include <catch.hpp>
|
#include <Catch/catch.hpp>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue