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.cc18
-rw-r--r--src/unittests/gui/windowmanager.cc18
2 files changed, 0 insertions, 36 deletions
diff --git a/src/unittests/gui/widgets/browserbox.cc b/src/unittests/gui/widgets/browserbox.cc
index 8f97a6984..d73ad06f3 100644
--- a/src/unittests/gui/widgets/browserbox.cc
+++ b/src/unittests/gui/widgets/browserbox.cc
@@ -47,15 +47,6 @@
#include "debug.h"
-TEST_CASE("BrowserBox leak test1", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}
-
TEST_CASE("BrowserBox tests", "browserbox")
{
setEnv("SDL_VIDEODRIVER", "dummy");
@@ -200,12 +191,3 @@ TEST_CASE("BrowserBox tests", "browserbox")
delete2(logger);
// VirtFs::deinit();
}
-
-TEST_CASE("BrowserBox leak test2", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}
diff --git a/src/unittests/gui/windowmanager.cc b/src/unittests/gui/windowmanager.cc
index 0bf21a97d..9c04237a6 100644
--- a/src/unittests/gui/windowmanager.cc
+++ b/src/unittests/gui/windowmanager.cc
@@ -139,15 +139,6 @@
extern QuitDialog *quitDialog;
-TEST_CASE("windows leak test1", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}
-
TEST_CASE("Windows tests", "windowmanager")
{
setEnv("SDL_VIDEODRIVER", "dummy");
@@ -987,12 +978,3 @@ TEST_CASE("WindowManager", "create windows")
// VirtFs::deinit();
}
-
-TEST_CASE("windows leak test2", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}