summaryrefslogtreecommitdiff
path: root/src/integrity_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-28 17:20:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-28 17:20:19 +0300
commit9c289c7cc0e5fdf89eed1e28200166714789c92f (patch)
treed669909a1b3ce26d82f6b71c83ebb9938a832f7f /src/integrity_unittest.cc
parent6ff6d6928328ff2110f028a374ade49415d5a0ba (diff)
downloadmanaverse-9c289c7cc0e5fdf89eed1e28200166714789c92f.tar.gz
manaverse-9c289c7cc0e5fdf89eed1e28200166714789c92f.tar.bz2
manaverse-9c289c7cc0e5fdf89eed1e28200166714789c92f.tar.xz
manaverse-9c289c7cc0e5fdf89eed1e28200166714789c92f.zip
Rename some left functions from physfs to virtfs.
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r--src/integrity_unittest.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc
index 2d8a57a04..7da06c4c1 100644
--- a/src/integrity_unittest.cc
+++ b/src/integrity_unittest.cc
@@ -237,8 +237,6 @@ TEST_CASE("integrity tests", "integrity")
VirtFs::mountZip(prefix + "data/test/test.zip", Append_false);
SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1);
- if (!rw)
- logger->log("Physfs error: %s", VirtFs::getLastError());
REQUIRE(rw != nullptr);
unsigned char buf[size1];
const size_t sz = SDL_RWread(rw, buf, 1, size1);
@@ -257,8 +255,6 @@ TEST_CASE("integrity tests", "integrity")
VirtFs::mountZip(prefix + "data/test/test.zip", Append_false);
SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1);
- if (!rw)
- logger->log("Physfs error: %s", VirtFs::getLastError());
REQUIRE(rw != nullptr);
int64_t seek = SDL_RWseek(rw, 0, RW_SEEK_END);
if (seek == -1)
@@ -294,8 +290,6 @@ TEST_CASE("integrity tests", "integrity")
VirtFs::mountZip(prefix + "data/test/test.zip", Append_false);
SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1);
- if (!rw)
- logger->log("Physfs error: %s", VirtFs::getLastError());
REQUIRE(rw != nullptr);
if (IMG_isPNG(rw) == false)
{
@@ -314,8 +308,6 @@ TEST_CASE("integrity tests", "integrity")
VirtFs::mountZip(prefix + "data/test/test.zip", Append_false);
SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1);
- if (!rw)
- logger->log("Physfs error: %s", VirtFs::getLastError());
REQUIRE(rw != nullptr);
Resource *const res = imageHelper->load(rw);
VirtFs::unmountZip(prefix + "data/test/test.zip");