summaryrefslogtreecommitdiff
path: root/src/unittests/integrity.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/integrity.cc
parent429a545dbd5d0fa992394cf7f4c83d5e972a14b2 (diff)
downloadplus-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.gz
plus-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.bz2
plus-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.xz
plus-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/integrity.cc')
-rw-r--r--src/unittests/integrity.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/unittests/integrity.cc b/src/unittests/integrity.cc
index a750959dc..e45eb9f4e 100644
--- a/src/unittests/integrity.cc
+++ b/src/unittests/integrity.cc
@@ -114,7 +114,6 @@ TEST_CASE("integrity tests", "integrity")
client = new Client;
XML::initXML();
SDL_Init(SDL_INIT_VIDEO);
- logger = new Logger();
std::string name("data/test/test.zip");
std::string prefix;
if (Files::existsLocal(name) == false)
@@ -358,7 +357,4 @@ TEST_CASE("integrity tests", "integrity")
VirtFs::unmountDirSilent("data");
VirtFs::unmountDirSilent("../data");
-
- delete2(logger);
-// VirtFs::deinit();
}