diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-24 22:53:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-24 22:53:11 +0300 |
commit | 732c2012ec337bfebb1a12c1822e98e5c61e79bc (patch) | |
tree | a76013a7a0c31f075fc97ea99f19d1f4f631c0b5 /src/gui/windowmanager_unittest.cc | |
parent | 7ffba524847fa15cff8764b8274b5aedfa08bf79 (diff) | |
download | manaplus-732c2012ec337bfebb1a12c1822e98e5c61e79bc.tar.gz manaplus-732c2012ec337bfebb1a12c1822e98e5c61e79bc.tar.bz2 manaplus-732c2012ec337bfebb1a12c1822e98e5c61e79bc.tar.xz manaplus-732c2012ec337bfebb1a12c1822e98e5c61e79bc.zip |
Add missing resource manager init into unit tests.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index adb9f4758..d54851514 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -68,6 +68,7 @@ TEST_CASE("Windows tests", "windowmanager") XML::initXML(); SDL_Init(SDL_INIT_VIDEO); logger = new Logger(); + ResourceManager::init(); resourceManager->addToSearchPath("data", false); resourceManager->addToSearchPath("../data", false); mainGraphics = new SDLGraphics; |