From b61cd6c0a0becd76cb7b3b02258350d4dbc96451 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Wed, 15 Mar 2017 18:57:21 +0100
Subject: [PATCH] [T] Move AutoCheckTools.h to Tests/.

It is used by more than few tests now.
---
 Tests/{MathLib => }/AutoCheckTools.h    | 0
 Tests/MaterialLib/KelvinVector.cpp      | 2 +-
 Tests/MathLib/TestPoint3d.cpp           | 2 +-
 Tests/MeshGeoToolsLib/TestGeoMapper.cpp | 3 +--
 Tests/NumLib/TestShapeFunctions.cpp     | 4 +---
 5 files changed, 4 insertions(+), 7 deletions(-)
 rename Tests/{MathLib => }/AutoCheckTools.h (100%)

diff --git a/Tests/MathLib/AutoCheckTools.h b/Tests/AutoCheckTools.h
similarity index 100%
rename from Tests/MathLib/AutoCheckTools.h
rename to Tests/AutoCheckTools.h
diff --git a/Tests/MaterialLib/KelvinVector.cpp b/Tests/MaterialLib/KelvinVector.cpp
index 9e148d48484..88fad24936c 100644
--- a/Tests/MaterialLib/KelvinVector.cpp
+++ b/Tests/MaterialLib/KelvinVector.cpp
@@ -10,7 +10,7 @@
 
 #include "MaterialLib/SolidModels/KelvinVector.h"
 
-#include "Tests/MathLib/AutoCheckTools.h"
+#include "Tests/AutoCheckTools.h"
 
 using namespace MaterialLib::SolidModels;
 namespace ac = autocheck;
diff --git a/Tests/MathLib/TestPoint3d.cpp b/Tests/MathLib/TestPoint3d.cpp
index 01e2fc85ffe..fd9b75b3fea 100644
--- a/Tests/MathLib/TestPoint3d.cpp
+++ b/Tests/MathLib/TestPoint3d.cpp
@@ -16,7 +16,7 @@
 
 #include "MathLib/Point3d.h"
 
-#include "AutoCheckTools.h"
+#include "Tests/AutoCheckTools.h"
 
 using namespace MathLib;
 namespace ac = autocheck;
diff --git a/Tests/MeshGeoToolsLib/TestGeoMapper.cpp b/Tests/MeshGeoToolsLib/TestGeoMapper.cpp
index 9b9209cf57d..6098be1fb23 100644
--- a/Tests/MeshGeoToolsLib/TestGeoMapper.cpp
+++ b/Tests/MeshGeoToolsLib/TestGeoMapper.cpp
@@ -9,14 +9,13 @@
 #include <ctime>
 #include <memory>
 #include <gtest/gtest.h>
-#include <autocheck/autocheck.hpp>
 
 #include "GeoLib/GEOObjects.h"
 #include "GeoLib/Point.h"
 #include "MeshLib/Mesh.h"
 #include "MeshLib/MeshGenerators/MeshGenerator.h"
 #include "MeshGeoToolsLib/GeoMapper.h"
-#include "../MathLib/AutoCheckTools.h"
+#include "Tests/AutoCheckTools.h"
 
 namespace ac = autocheck;
 
diff --git a/Tests/NumLib/TestShapeFunctions.cpp b/Tests/NumLib/TestShapeFunctions.cpp
index dee8a5df572..b2bcc4933dc 100644
--- a/Tests/NumLib/TestShapeFunctions.cpp
+++ b/Tests/NumLib/TestShapeFunctions.cpp
@@ -43,11 +43,9 @@ std::ostream& operator<<(std::ostream& os, std::array<T, N> const& array)
 #include "NumLib/Fem/ShapeFunction/ShapeTet4.h"
 #include "NumLib/Fem/ShapeFunction/ShapeTri3.h"
 #include "NumLib/Fem/ShapeFunction/ShapeTri6.h"
-
+#include "Tests/AutoCheckTools.h"
 #include "Tests/TestTools.h"
 
-#include "../MathLib/AutoCheckTools.h"
-
 namespace autocheck
 {
 
-- 
GitLab