diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-29 22:41:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-29 22:41:26 +0300 |
commit | 8f95378c3be89c06c722da03ddbd3641c4fc2323 (patch) | |
tree | 4f1c14fb0ba57793f8979df43ffd293533606e1b /src/integrity_unittest.cc | |
parent | fc31f1003bec7e0117421a8c58668e61849eeba5 (diff) | |
download | manaplus-8f95378c3be89c06c722da03ddbd3641c4fc2323.tar.gz manaplus-8f95378c3be89c06c722da03ddbd3641c4fc2323.tar.bz2 manaplus-8f95378c3be89c06c722da03ddbd3641c4fc2323.tar.xz manaplus-8f95378c3be89c06c722da03ddbd3641c4fc2323.zip |
Move rwops code into virtfs namespace.
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r-- | src/integrity_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc index 0459d3018..34312b7b3 100644 --- a/src/integrity_unittest.cc +++ b/src/integrity_unittest.cc @@ -236,7 +236,7 @@ TEST_CASE("integrity tests", "integrity") { VirtFs::mountZip(prefix + "data/test/test.zip", Append_false); - SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); + SDL_RWops *const rw = VirtFs::rwopsOpenRead(name1); REQUIRE(rw != nullptr); unsigned char buf[size1]; const size_t sz = SDL_RWread(rw, buf, 1, size1); @@ -254,7 +254,7 @@ TEST_CASE("integrity tests", "integrity") { VirtFs::mountZip(prefix + "data/test/test.zip", Append_false); - SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); + SDL_RWops *const rw = VirtFs::rwopsOpenRead(name1); REQUIRE(rw != nullptr); int64_t seek = SDL_RWseek(rw, 0, RW_SEEK_END); if (seek == -1) @@ -289,7 +289,7 @@ TEST_CASE("integrity tests", "integrity") { VirtFs::mountZip(prefix + "data/test/test.zip", Append_false); - SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); + SDL_RWops *const rw = VirtFs::rwopsOpenRead(name1); REQUIRE(rw != nullptr); if (IMG_isPNG(rw) == false) { @@ -307,7 +307,7 @@ TEST_CASE("integrity tests", "integrity") { VirtFs::mountZip(prefix + "data/test/test.zip", Append_false); - SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); + SDL_RWops *const rw = VirtFs::rwopsOpenRead(name1); REQUIRE(rw != nullptr); Resource *const res = imageHelper->load(rw); VirtFs::unmountZip(prefix + "data/test/test.zip"); |