diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-05 17:00:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-05 17:00:02 +0300 |
commit | 855387d2d795c9471587cc7ddf2c66bb676d698e (patch) | |
tree | 3dbb1260c219312f36893dfae52f5cd40760aeb5 /src/utils/xmlutils_unittest.cc | |
parent | 9fefb2942865846ccb7dbdac4ebd4515b8c851a2 (diff) | |
download | mv-855387d2d795c9471587cc7ddf2c66bb676d698e.tar.gz mv-855387d2d795c9471587cc7ddf2c66bb676d698e.tar.bz2 mv-855387d2d795c9471587cc7ddf2c66bb676d698e.tar.xz mv-855387d2d795c9471587cc7ddf2c66bb676d698e.zip |
Fix different issues in unit tests.
Fix crash with some compilers flags.
Clean window container to null after it was removed.
Init and deinit physfs globally.
Diffstat (limited to 'src/utils/xmlutils_unittest.cc')
-rw-r--r-- | src/utils/xmlutils_unittest.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/utils/xmlutils_unittest.cc b/src/utils/xmlutils_unittest.cc index 5603bf5a8..ebd964262 100644 --- a/src/utils/xmlutils_unittest.cc +++ b/src/utils/xmlutils_unittest.cc @@ -34,7 +34,6 @@ TEST_CASE("xmlutils readXmlIntVector 1") { client = new Client; - PHYSFS_init("manaplus"); dirSeparator = "/"; XML::initXML(); logger = new Logger(); @@ -65,7 +64,6 @@ TEST_CASE("xmlutils readXmlIntVector 1") TEST_CASE("xmlutils readXmlStringMap 1") { client = new Client; - PHYSFS_init("manaplus"); dirSeparator = "/"; XML::initXML(); logger = new Logger(); @@ -95,7 +93,6 @@ TEST_CASE("xmlutils readXmlStringMap 1") TEST_CASE("xmlutils readXmlIntMap 1") { client = new Client; - PHYSFS_init("manaplus"); dirSeparator = "/"; XML::initXML(); logger = new Logger(); |