summaryrefslogtreecommitdiff
path: root/src/fs/virtfs_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-23 23:02:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-23 23:02:52 +0300
commitb882d8c240a1667a820adb703d3f7c84dfcd61c2 (patch)
tree6151b93d6c8d9c39447ac37d6e109be5a2a741c9 /src/fs/virtfs_unittest.cc
parente5071983c6d0281a92d79daae2f40252b67c1296 (diff)
downloadplus-b882d8c240a1667a820adb703d3f7c84dfcd61c2.tar.gz
plus-b882d8c240a1667a820adb703d3f7c84dfcd61c2.tar.bz2
plus-b882d8c240a1667a820adb703d3f7c84dfcd61c2.tar.xz
plus-b882d8c240a1667a820adb703d3f7c84dfcd61c2.zip
Add support for parsing zip archives.
Also add unit tests for test it.
Diffstat (limited to 'src/fs/virtfs_unittest.cc')
-rw-r--r--src/fs/virtfs_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/virtfs_unittest.cc b/src/fs/virtfs_unittest.cc
index b26381f08..a79f01aee 100644
--- a/src/fs/virtfs_unittest.cc
+++ b/src/fs/virtfs_unittest.cc
@@ -115,8 +115,8 @@ TEST_CASE("VirtFs enumerateFiles1")
VirtList *list = nullptr;
- const int cnt1 = VirtFs::exists("test/test2.txt") ? 24 : 23;
- const int cnt2 = 24;
+ const int cnt1 = VirtFs::exists("test/test2.txt") ? 27 : 26;
+ const int cnt2 = 27;
VirtFs::permitLinks(false);
list = VirtFs::enumerateFiles("test");
@@ -363,8 +363,8 @@ TEST_CASE("VirtFs permitLinks")
VirtFs::addDirToSearchPath("data", Append_false);
VirtFs::addDirToSearchPath("../data", Append_false);
- const int cnt1 = VirtFs::exists("test/test2.txt") ? 22 : 21;
- const int cnt2 = 22;
+ const int cnt1 = VirtFs::exists("test/test2.txt") ? 25 : 24;
+ const int cnt2 = 25;
StringVect list;
VirtFs::permitLinks(false);