diff options
Diffstat (limited to 'src/utils/xml_unittest.cc')
-rw-r--r-- | src/utils/xml_unittest.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils/xml_unittest.cc b/src/utils/xml_unittest.cc index 64ee293b7..8cdebf86f 100644 --- a/src/utils/xml_unittest.cc +++ b/src/utils/xml_unittest.cc @@ -20,6 +20,9 @@ #include "catch.hpp" #include "client.h" +#include "configuration.h" +#include "configmanager.h" +#include "dirs.h" #include "graphicsmanager.h" #include "being/actorsprite.h" @@ -66,6 +69,13 @@ TEST_CASE("xml doc") theme = new Theme; Theme::selectSkin(); + + Dirs::initRootDir(); + Dirs::initHomeDir(); + + ConfigManager::initConfiguration(); + getConfigDefaults2(config.getDefaultValues()); + const char *const tempXmlName = "tempxml.xml"; ActorSprite::load(); gui = new Gui(); |