summaryrefslogtreecommitdiff
path: root/src/unittests/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/gui')
-rw-r--r--src/unittests/gui/widgets/browserbox.cc3
-rw-r--r--src/unittests/gui/windowmanager.cc8
2 files changed, 0 insertions, 11 deletions
diff --git a/src/unittests/gui/widgets/browserbox.cc b/src/unittests/gui/widgets/browserbox.cc
index 7e4689707..88f2f8b92 100644
--- a/src/unittests/gui/widgets/browserbox.cc
+++ b/src/unittests/gui/widgets/browserbox.cc
@@ -50,7 +50,6 @@ TEST_CASE("BrowserBox tests", "browserbox")
setEnv("SDL_VIDEODRIVER", "dummy");
client = new Client;
- logger = new Logger();
VirtFs::mountDirSilent("data", Append_false);
VirtFs::mountDirSilent("../data", Append_false);
@@ -186,6 +185,4 @@ TEST_CASE("BrowserBox tests", "browserbox")
delete2(client);
VirtFs::unmountDirSilent("data");
VirtFs::unmountDirSilent("../data");
- delete2(logger);
-// VirtFs::deinit();
}
diff --git a/src/unittests/gui/windowmanager.cc b/src/unittests/gui/windowmanager.cc
index 108ae18d0..bed0de6a1 100644
--- a/src/unittests/gui/windowmanager.cc
+++ b/src/unittests/gui/windowmanager.cc
@@ -146,7 +146,6 @@ TEST_CASE("Windows tests", "windowmanager")
client = new Client;
XML::initXML();
SDL_Init(SDL_INIT_VIDEO);
- logger = new Logger();
ResourceManager::deleteInstance();
ResourceManager::cleanOrphans(true);
VirtFs::mountDirSilent("data", Append_false);
@@ -819,9 +818,6 @@ TEST_CASE("Windows tests", "windowmanager")
VirtFs::unmountDirSilent("../data");
VirtFs::unmountDirSilent("data/test");
VirtFs::unmountDirSilent("../data/test");
- delete2(logger);
-
-// VirtFs::deinit();
}
TEST_CASE("WindowManager", "create windows")
@@ -831,7 +827,6 @@ TEST_CASE("WindowManager", "create windows")
client = new Client;
XML::initXML();
SDL_Init(SDL_INIT_VIDEO);
- logger = new Logger();
ResourceManager::deleteInstance();
ResourceManager::cleanOrphans(true);
VirtFs::mountDirSilent("data", Append_false);
@@ -977,7 +972,4 @@ TEST_CASE("WindowManager", "create windows")
VirtFs::unmountDirSilent("../data");
VirtFs::unmountDirSilent("data/test");
VirtFs::unmountDirSilent("../data/test");
- delete2(logger);
-
-// VirtFs::deinit();
}