summaryrefslogtreecommitdiff
path: root/src/unittests/resources/map/maplayer/updateconditiontiles.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-12 18:47:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-12 18:47:07 +0300
commitd88285ef4d2b624a0c6a8ef5c2e157ed0248838e (patch)
tree21c77124f72c023590f0d1b0426eb9357305201e /src/unittests/resources/map/maplayer/updateconditiontiles.cc
parent429a545dbd5d0fa992394cf7f4c83d5e972a14b2 (diff)
downloadmv-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.gz
mv-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.bz2
mv-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.xz
mv-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.zip
Create logger in unit tests before other code.
This need because now sdl may raise error or assert almost at start.
Diffstat (limited to 'src/unittests/resources/map/maplayer/updateconditiontiles.cc')
-rw-r--r--src/unittests/resources/map/maplayer/updateconditiontiles.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/unittests/resources/map/maplayer/updateconditiontiles.cc b/src/unittests/resources/map/maplayer/updateconditiontiles.cc
index 73ed58108..f9b7cffc2 100644
--- a/src/unittests/resources/map/maplayer/updateconditiontiles.cc
+++ b/src/unittests/resources/map/maplayer/updateconditiontiles.cc
@@ -22,12 +22,9 @@
#include "configmanager.h"
#include "dirs.h"
-#include "logger.h"
#include "enums/resources/map/blockmask.h"
-#include "utils/delete2.h"
-
#include "resources/image/image.h"
#include "resources/map/map.h"
@@ -37,8 +34,6 @@
TEST_CASE("MapLayer updateConditionTiles", "")
{
- logger = new Logger;
-
Dirs::initRootDir();
Dirs::initHomeDir();
@@ -233,5 +228,4 @@ TEST_CASE("MapLayer updateConditionTiles", "")
delete map;
delete img1;
- delete2(logger);
}