summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfs1_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-05 01:51:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-05 01:51:21 +0300
commit9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0 (patch)
tree8a3356497ca1d8da1d4ba8ba0629aa1829111364 /src/fs/virtfs/virtfs1_unittest.cc
parent7594ad94dfdf580a82fb07ddb346442160b3d91d (diff)
downloadplus-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.gz
plus-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.bz2
plus-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.xz
plus-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.zip
Rename virtfile into file.
Diffstat (limited to 'src/fs/virtfs/virtfs1_unittest.cc')
-rw-r--r--src/fs/virtfs/virtfs1_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/virtfs/virtfs1_unittest.cc b/src/fs/virtfs/virtfs1_unittest.cc
index d22336f44..882cda31a 100644
--- a/src/fs/virtfs/virtfs1_unittest.cc
+++ b/src/fs/virtfs/virtfs1_unittest.cc
@@ -1135,7 +1135,7 @@ TEST_CASE("VirtFs1 openRead1")
VirtFs::mountDir(prefix + "data",
Append_false);
- VirtFs::VirtFile *file = nullptr;
+ VirtFs::File *file = nullptr;
file = VirtFs::openRead("test/units.xml");
REQUIRE(file != nullptr);
@@ -1199,7 +1199,7 @@ TEST_CASE("VirtFs1 openRead2")
VirtFs::mountZip(prefix + "test2.zip",
Append_false);
- VirtFs::VirtFile *file = nullptr;
+ VirtFs::File *file = nullptr;
file = VirtFs::openRead("dir2/units.xml");
REQUIRE(file != nullptr);
@@ -1317,7 +1317,7 @@ TEST_CASE("VirtFs1 read1")
VirtFs::mountDir(prefix + "data",
Append_false);
- VirtFs::VirtFile *file = VirtFs::openRead("test/test.txt");
+ VirtFs::File *file = VirtFs::openRead("test/test.txt");
REQUIRE(file != nullptr);
REQUIRE(VirtFs::fileLength(file) == 23);
const int fileSize = VirtFs::fileLength(file);
@@ -1358,7 +1358,7 @@ TEST_CASE("VirtFs1 read2")
VirtFs::mountZip(prefix + "test2.zip",
Append_false);
- VirtFs::VirtFile *file = nullptr;
+ VirtFs::File *file = nullptr;
void *restrict buffer = nullptr;
SECTION("test 1")