From dffd0a4a8e99196ad27f8fde2430b09dd29cac57 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 May 2017 20:14:01 +0300 Subject: Move catch.hpp into test directory. Also replace include catch.hpp into generic unittests.h --- src/resources/dye/dye_unittest.cc | 2 +- src/resources/dye/dyepalette_unittest.cc | 2 +- src/resources/map/maplayer_unittest.cc | 3 ++- src/resources/map/speciallayer_unittest.cc | 3 ++- src/resources/mstack_unittest.cc | 2 +- src/resources/resourcemanager/resourcemanager_unittest.cc | 3 ++- src/resources/sprite/animatedsprite_unittest.cc | 5 +++-- 7 files changed, 12 insertions(+), 8 deletions(-) (limited to 'src/resources') diff --git a/src/resources/dye/dye_unittest.cc b/src/resources/dye/dye_unittest.cc index b21b03016..7ea5793b6 100644 --- a/src/resources/dye/dye_unittest.cc +++ b/src/resources/dye/dye_unittest.cc @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -#include "catch.hpp" +#include "test/unittests.h" #include "client.h" #include "graphicsmanager.h" diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc index 338e7c23d..afa3d8878 100644 --- a/src/resources/dye/dyepalette_unittest.cc +++ b/src/resources/dye/dyepalette_unittest.cc @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -#include "catch.hpp" +#include "test/unittests.h" #include "client.h" #include "configuration.h" diff --git a/src/resources/map/maplayer_unittest.cc b/src/resources/map/maplayer_unittest.cc index 1d9b515f7..692a4738f 100644 --- a/src/resources/map/maplayer_unittest.cc +++ b/src/resources/map/maplayer_unittest.cc @@ -18,7 +18,8 @@ * along with this program. If not, see . */ -#include "catch.hpp" +#include "test/unittests.h" + #include "graphicsmanager.h" #include "being/localplayer.h" diff --git a/src/resources/map/speciallayer_unittest.cc b/src/resources/map/speciallayer_unittest.cc index 57dc3b98b..fea93e801 100644 --- a/src/resources/map/speciallayer_unittest.cc +++ b/src/resources/map/speciallayer_unittest.cc @@ -18,7 +18,8 @@ * along with this program. If not, see . */ -#include "catch.hpp" +#include "test/unittests.h" + #include "client.h" #include "logger.h" diff --git a/src/resources/mstack_unittest.cc b/src/resources/mstack_unittest.cc index 02d14f215..305aee15f 100644 --- a/src/resources/mstack_unittest.cc +++ b/src/resources/mstack_unittest.cc @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -#include "catch.hpp" +#include "test/unittests.h" #include "gui/cliprect.h" diff --git a/src/resources/resourcemanager/resourcemanager_unittest.cc b/src/resources/resourcemanager/resourcemanager_unittest.cc index 2595beb76..527274ae9 100644 --- a/src/resources/resourcemanager/resourcemanager_unittest.cc +++ b/src/resources/resourcemanager/resourcemanager_unittest.cc @@ -18,7 +18,8 @@ * along with this program. If not, see . */ -#include "catch.hpp" +#include "test/unittests.h" + #include "client.h" #include "dirs.h" #include "logger.h" diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc index 4f8053b57..dabadd21b 100644 --- a/src/resources/sprite/animatedsprite_unittest.cc +++ b/src/resources/sprite/animatedsprite_unittest.cc @@ -18,9 +18,8 @@ * along with this program. If not, see . */ -#include "resources/sprite/animatedsprite.h" +#include "test/unittests.h" -#include "catch.hpp" #include "configuration.h" #include "configmanager.h" #include "client.h" @@ -44,6 +43,8 @@ #include "resources/resourcemanager/resourcemanager.h" +#include "resources/sprite/animatedsprite.h" + #include "utils/env.h" #include "utils/delete2.h" #include "utils/mrand.h" -- cgit v1.2.3-60-g2f50