summaryrefslogtreecommitdiff
path: root/src/unittests/sdl.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-31 02:31:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-31 02:31:53 +0300
commit9b88bc66fc280b7c178aabcacf51664f848246fe (patch)
treed388c11064c8fc78d9fafc9095fe95d60bd7e120 /src/unittests/sdl.cc
parentf17e42fb8460c910cff344eb0656c665f761e0fb (diff)
downloadmv-9b88bc66fc280b7c178aabcacf51664f848246fe.tar.gz
mv-9b88bc66fc280b7c178aabcacf51664f848246fe.tar.bz2
mv-9b88bc66fc280b7c178aabcacf51664f848246fe.tar.xz
mv-9b88bc66fc280b7c178aabcacf51664f848246fe.zip
Remove now useless leak tests in unit tests.
Diffstat (limited to 'src/unittests/sdl.cc')
-rw-r--r--src/unittests/sdl.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/unittests/sdl.cc b/src/unittests/sdl.cc
index b75b9a453..d5026a583 100644
--- a/src/unittests/sdl.cc
+++ b/src/unittests/sdl.cc
@@ -55,15 +55,6 @@ PRAGMA48(GCC diagnostic pop)
#include "debug.h"
-TEST_CASE("sdl leak test1", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}
-
TEST_CASE("sdl tests", "sdl")
{
setEnv("SDL_VIDEODRIVER", "dummy");
@@ -412,12 +403,3 @@ TEST_CASE("sdl tests", "sdl")
delete2(logger);
// VirtFs::deinit();
}
-
-TEST_CASE("sdl leak test2", "")
-{
- logger = new Logger();
- REQUIRE(gui == nullptr);
- ResourceManager::cleanOrphans(true);
- ResourceManager::deleteInstance();
- delete2(logger);
-}