diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-31 02:31:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-31 02:31:53 +0300 |
commit | 9b88bc66fc280b7c178aabcacf51664f848246fe (patch) | |
tree | d388c11064c8fc78d9fafc9095fe95d60bd7e120 /src/unittests/integrity.cc | |
parent | f17e42fb8460c910cff344eb0656c665f761e0fb (diff) | |
download | mv-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/integrity.cc')
-rw-r--r-- | src/unittests/integrity.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/unittests/integrity.cc b/src/unittests/integrity.cc index 9da17cf84..02682f537 100644 --- a/src/unittests/integrity.cc +++ b/src/unittests/integrity.cc @@ -107,15 +107,6 @@ static bool compareBuffers(const unsigned char *const buf2) return isCorrect; } -TEST_CASE("integrity leak test1", "") -{ - logger = new Logger(); - REQUIRE(gui == nullptr); - ResourceManager::cleanOrphans(true); - ResourceManager::deleteInstance(); - delete2(logger); -} - TEST_CASE("integrity tests", "integrity") { setEnv("SDL_VIDEODRIVER", "dummy"); @@ -367,12 +358,3 @@ TEST_CASE("integrity tests", "integrity") delete2(logger); // VirtFs::deinit(); } - -TEST_CASE("integrity leak test2", "") -{ - logger = new Logger(); - REQUIRE(gui == nullptr); - ResourceManager::cleanOrphans(true); - ResourceManager::deleteInstance(); - delete2(logger); -} |