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/gui/widgets/browserbox_unittest.cc | |
parent | f978c1bed85961e102951340669ca873328bcef3 (diff) | |
download | ManaVerse-245fb04a1e112cc8d0918a8660474299d5ce223c.tar.gz ManaVerse-245fb04a1e112cc8d0918a8660474299d5ce223c.tar.bz2 ManaVerse-245fb04a1e112cc8d0918a8660474299d5ce223c.tar.xz ManaVerse-245fb04a1e112cc8d0918a8660474299d5ce223c.zip |
Split virtfs api for add directories and archives.
Also remove useless resourcemanager functions for add/remove virtfs entries.
Diffstat (limited to 'src/gui/widgets/browserbox_unittest.cc')
-rw-r--r-- | src/gui/widgets/browserbox_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc index dfa9757b5..3978c309d 100644 --- a/src/gui/widgets/browserbox_unittest.cc +++ b/src/gui/widgets/browserbox_unittest.cc @@ -30,6 +30,8 @@ #include "gui/widgets/browserbox.h" +#include "utils/virtfs.h" + #include "render/sdlgraphics.h" #include "resources/resourcemanager/resourcemanager.h" @@ -47,8 +49,8 @@ TEST_CASE("BrowserBox tests", "browserbox") logger = new Logger(); imageHelper = new SDLImageHelper(); ResourceManager::init(); - resourceManager->addToSearchPath("data", Append_false); - resourceManager->addToSearchPath("../data", Append_false); + VirtFs::addDirToSearchPath("data", Append_false); + VirtFs::addDirToSearchPath("../data", Append_false); mainGraphics = new SDLGraphics; imageHelper = new SDLImageHelper; |