summaryrefslogtreecommitdiff
path: root/src/unittests/resources/dye
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/resources/dye')
-rw-r--r--src/unittests/resources/dye/dye.cc18
-rw-r--r--src/unittests/resources/dye/dyepalette.cc18
2 files changed, 0 insertions, 36 deletions
diff --git a/src/unittests/resources/dye/dye.cc b/src/unittests/resources/dye/dye.cc
index 3227a72d8..f9c98e635 100644
--- a/src/unittests/resources/dye/dye.cc
+++ b/src/unittests/resources/dye/dye.cc
@@ -60,15 +60,6 @@ PRAGMA48(GCC diagnostic pop)
#ifdef USE_OPENGL
-TEST_CASE("Dye leak test1", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}
-
TEST_CASE("Dye replaceSOGLColor 1 1", "")
{
DyePalette palette("#00ff00,000011", 6);
@@ -2021,12 +2012,3 @@ TEST_CASE("Dye real dye", "")
delete2(logger);
// VirtFs::deinit();
}
-
-TEST_CASE("Dye leak test2", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}
diff --git a/src/unittests/resources/dye/dyepalette.cc b/src/unittests/resources/dye/dyepalette.cc
index 9a64be1f5..d5fec4fcc 100644
--- a/src/unittests/resources/dye/dyepalette.cc
+++ b/src/unittests/resources/dye/dyepalette.cc
@@ -55,15 +55,6 @@ PRAGMA48(GCC diagnostic pop)
#include "debug.h"
-TEST_CASE("DyePalette leak test1", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}
-
TEST_CASE("DyePalette tests", "")
{
setEnv("SDL_VIDEODRIVER", "dummy");
@@ -411,12 +402,3 @@ TEST_CASE("DyePalette tests", "")
delete2(logger);
// VirtFs::deinit();
}
-
-TEST_CASE("DyePalette leak test2", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}