diff options
Diffstat (limited to 'src/resources/sprite')
-rw-r--r-- | src/resources/sprite/animatedsprite_unittest.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc index 0264fdbf6..2a05a40bf 100644 --- a/src/resources/sprite/animatedsprite_unittest.cc +++ b/src/resources/sprite/animatedsprite_unittest.cc @@ -21,7 +21,10 @@ #include "resources/sprite/animatedsprite.h" #include "catch.hpp" +#include "configuration.h" +#include "configmanager.h" #include "client.h" +#include "dirs.h" #include "graphicsmanager.h" #include "const/resources/spriteaction.h" @@ -76,6 +79,13 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") theme = new Theme; Theme::selectSkin(); + + Dirs::initRootDir(); + Dirs::initHomeDir(); + + ConfigManager::initConfiguration(); + getConfigDefaults2(config.getDefaultValues()); + ActorSprite::load(); gui = new Gui(); gui->postInit(mainGraphics); |