diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-11 19:08:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-11 19:19:38 +0300 |
commit | 245fb04a1e112cc8d0918a8660474299d5ce223c (patch) | |
tree | eb5ab6266a4ff9551d2e08b9c14b61e353cd127f /src/utils/xmlutils_unittest.cc | |
parent | f978c1bed85961e102951340669ca873328bcef3 (diff) | |
download | mv-245fb04a1e112cc8d0918a8660474299d5ce223c.tar.gz mv-245fb04a1e112cc8d0918a8660474299d5ce223c.tar.bz2 mv-245fb04a1e112cc8d0918a8660474299d5ce223c.tar.xz mv-245fb04a1e112cc8d0918a8660474299d5ce223c.zip |
Split virtfs api for add directories and archives.
Also remove useless resourcemanager functions for add/remove virtfs entries.
Diffstat (limited to 'src/utils/xmlutils_unittest.cc')
-rw-r--r-- | src/utils/xmlutils_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/utils/xmlutils_unittest.cc b/src/utils/xmlutils_unittest.cc index ab70b7ec1..dbb571429 100644 --- a/src/utils/xmlutils_unittest.cc +++ b/src/utils/xmlutils_unittest.cc @@ -38,8 +38,8 @@ TEST_CASE("xmlutils readXmlIntVector 1") XML::initXML(); logger = new Logger(); ResourceManager::init(); - resourceManager->addToSearchPath("data", Append_false); - resourceManager->addToSearchPath("../data", Append_false); + VirtFs::addDirToSearchPath("data", Append_false); + VirtFs::addDirToSearchPath("../data", Append_false); std::vector<int> arr; @@ -68,8 +68,8 @@ TEST_CASE("xmlutils readXmlStringMap 1") XML::initXML(); logger = new Logger(); ResourceManager::init(); - resourceManager->addToSearchPath("data", Append_false); - resourceManager->addToSearchPath("../data", Append_false); + VirtFs::addDirToSearchPath("data", Append_false); + VirtFs::addDirToSearchPath("../data", Append_false); std::map<std::string, std::string> arr; @@ -97,8 +97,8 @@ TEST_CASE("xmlutils readXmlIntMap 1") XML::initXML(); logger = new Logger(); ResourceManager::init(); - resourceManager->addToSearchPath("data/test", Append_false); - resourceManager->addToSearchPath("../data/test", Append_false); + VirtFs::addDirToSearchPath("data/test", Append_false); + VirtFs::addDirToSearchPath("../data/test", Append_false); std::map<int32_t, int32_t> arr; |