summaryrefslogtreecommitdiff
path: root/src/unittests/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-03 22:43:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-04 00:57:58 +0300
commitde73e67e830c15e6b623ba03eda88f9faacac40c (patch)
tree79422e9c944b751cd0c0b8ad6fd37e32ddaaa130 /src/unittests/gui
parent653f89fa3b236103670796af4b76a23e8ae84248 (diff)
downloadplus-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.gz
plus-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.bz2
plus-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.xz
plus-de73e67e830c15e6b623ba03eda88f9faacac40c.zip
Add missing load / unload databases logging.
Diffstat (limited to 'src/unittests/gui')
-rw-r--r--src/unittests/gui/windowmanager_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/unittests/gui/windowmanager_unittest.cc b/src/unittests/gui/windowmanager_unittest.cc
index 57f35bf59..ab172a9d4 100644
--- a/src/unittests/gui/windowmanager_unittest.cc
+++ b/src/unittests/gui/windowmanager_unittest.cc
@@ -199,7 +199,7 @@ TEST_CASE("Windows tests", "windowmanager")
gui = new Gui();
gui->postInit(mainGraphics);
touchManager.init();
- UnitsDb::loadUnits();
+ UnitsDb::load();
charServerHandler = new EAthena::CharServerHandler;
serverFeatures = new EAthena::ServerFeatures;
inventoryHandler = new EAthena::InventoryHandler;
@@ -808,6 +808,7 @@ TEST_CASE("Windows tests", "windowmanager")
delete2(connectionDialog);
}
+ UnitsDb::unload();
delete2(localPlayer);
delete2(userPalette);
delete2(client);
@@ -876,7 +877,7 @@ TEST_CASE("WindowManager", "create windows")
gui = new Gui();
gui->postInit(mainGraphics);
touchManager.init();
- UnitsDb::loadUnits();
+ UnitsDb::load();
charServerHandler = new EAthena::CharServerHandler;
serverFeatures = new EAthena::ServerFeatures;
inventoryHandler = new EAthena::InventoryHandler;
@@ -965,6 +966,7 @@ TEST_CASE("WindowManager", "create windows")
settings.login = std::string();
settings.limitFps = true;
+ UnitsDb::unload();
delete2(localPlayer);
delete2(client);
delete2(serverFeatures);