diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-10 21:57:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-10 23:23:35 +0300 |
commit | 4d3c700bf736def3c55f7e03c175e2e43ed3db02 (patch) | |
tree | ac8330eeda18c938a5e685940fbfa4ec289bce7b /src/integrity_unittest.cc | |
parent | c6277401fb4dafbe08bac534e0de7796f70a0d19 (diff) | |
download | mv-4d3c700bf736def3c55f7e03c175e2e43ed3db02.tar.gz mv-4d3c700bf736def3c55f7e03c175e2e43ed3db02.tar.bz2 mv-4d3c700bf736def3c55f7e03c175e2e43ed3db02.tar.xz mv-4d3c700bf736def3c55f7e03c175e2e43ed3db02.zip |
Rename physfsrwops into virtfsrwops.
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r-- | src/integrity_unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc index 86317dc40..a907ca5fb 100644 --- a/src/integrity_unittest.cc +++ b/src/integrity_unittest.cc @@ -39,7 +39,7 @@ #include "resources/resourcemanager/resourcemanager.h" #include "utils/env.h" -#include "utils/physfsrwops.h" +#include "utils/virtfsrwops.h" #include <SDL_image.h> @@ -240,7 +240,7 @@ TEST_CASE("integrity tests", "integrity") resourceManager->addToSearchPath("data/test/test.zip", Append_false); resourceManager->addToSearchPath("../data/test/test.zip", Append_false); - SDL_RWops *const rw = PHYSFSRWOPS_openRead(name1); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); if (!rw) logger->log("Physfs error: %s", VirtFs::getLastError()); resourceManager->removeFromSearchPath("data/test/test.zip"); @@ -403,7 +403,7 @@ TEST_CASE("integrity tests", "integrity") resourceManager->addToSearchPath("data/test/test.zip", Append_false); resourceManager->addToSearchPath("../data/test/test.zip", Append_false); - SDL_RWops *const rw = PHYSFSRWOPS_openRead(name1); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); if (!rw) logger->log("Physfs error: %s", VirtFs::getLastError()); REQUIRE(rw != nullptr); @@ -438,7 +438,7 @@ TEST_CASE("integrity tests", "integrity") resourceManager->addToSearchPath("data/test/test.zip", Append_false); resourceManager->addToSearchPath("../data/test/test.zip", Append_false); - SDL_RWops *const rw = PHYSFSRWOPS_openRead(name1); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); if (!rw) logger->log("Physfs error: %s", VirtFs::getLastError()); REQUIRE(rw != nullptr); @@ -460,7 +460,7 @@ TEST_CASE("integrity tests", "integrity") resourceManager->addToSearchPath("data/test/test.zip", Append_false); resourceManager->addToSearchPath("../data/test/test.zip", Append_false); - SDL_RWops *const rw = PHYSFSRWOPS_openRead(name1); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(name1); if (!rw) logger->log("Physfs error: %s", VirtFs::getLastError()); REQUIRE(rw != nullptr); |