summaryrefslogtreecommitdiff
path: root/src/unittests/utils/xml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/utils/xml.cc')
-rw-r--r--src/unittests/utils/xml.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/unittests/utils/xml.cc b/src/unittests/utils/xml.cc
index f27b65597..6f380cfaf 100644
--- a/src/unittests/utils/xml.cc
+++ b/src/unittests/utils/xml.cc
@@ -49,19 +49,16 @@
TEST_CASE("xml test1", "")
{
- logger = new Logger();
REQUIRE(client == nullptr);
REQUIRE(gui == nullptr);
ResourceManager::cleanOrphans(true);
ResourceManager::deleteInstance();
- delete2(logger);
}
TEST_CASE("xml doc", "")
{
setEnv("SDL_VIDEODRIVER", "dummy");
- logger = new Logger();
client = new Client;
XML::initXML();
VirtFs::mountDirSilent("data", Append_false);
@@ -385,16 +382,11 @@ TEST_CASE("xml doc", "")
ResourceManager::deleteInstance();
VirtFs::unmountDirSilent("data");
VirtFs::unmountDirSilent("../data");
-
- delete2(logger);
-// VirtFs::deinit();
}
TEST_CASE("xml test2", "")
{
- logger = new Logger();
REQUIRE(gui == nullptr);
ResourceManager::cleanOrphans(true);
ResourceManager::deleteInstance();
- delete2(logger);
}