diff options
Diffstat (limited to 'src/unittests/resources/resourcemanager/resourcemanager.cc')
-rw-r--r-- | src/unittests/resources/resourcemanager/resourcemanager.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/unittests/resources/resourcemanager/resourcemanager.cc b/src/unittests/resources/resourcemanager/resourcemanager.cc index d2e104472..232e940bc 100644 --- a/src/unittests/resources/resourcemanager/resourcemanager.cc +++ b/src/unittests/resources/resourcemanager/resourcemanager.cc @@ -89,15 +89,6 @@ namespace } // namespace -TEST_CASE("resourcemanager leak test1", "") -{ - logger = new Logger(); - REQUIRE(gui == nullptr); - ResourceManager::cleanOrphans(true); - ResourceManager::deleteInstance(); - delete2(logger); -} - TEST_CASE("resourcemanager", "resourcemanager") { setEnv("SDL_VIDEODRIVER", "dummy"); @@ -697,12 +688,3 @@ TEST_CASE("resourcemanager", "resourcemanager") delete2(logger); // VirtFs::deinit(); } - -TEST_CASE("resourcemanager leak test2", "") -{ - logger = new Logger(); - REQUIRE(gui == nullptr); - ResourceManager::cleanOrphans(true); - ResourceManager::deleteInstance(); - delete2(logger); -} |