diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-03 22:43:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-04 00:57:58 +0300 |
commit | de73e67e830c15e6b623ba03eda88f9faacac40c (patch) | |
tree | 79422e9c944b751cd0c0b8ad6fd37e32ddaaa130 /src/unittests | |
parent | 653f89fa3b236103670796af4b76a23e8ae84248 (diff) | |
download | manaverse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.gz manaverse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.bz2 manaverse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.xz manaverse-de73e67e830c15e6b623ba03eda88f9faacac40c.zip |
Add missing load / unload databases logging.
Diffstat (limited to 'src/unittests')
-rw-r--r-- | src/unittests/gui/windowmanager_unittest.cc | 6 |
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); |