diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-04 18:25:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-04 18:25:48 +0300 |
commit | 9fefb2942865846ccb7dbdac4ebd4515b8c851a2 (patch) | |
tree | c3e805eb002d03c286de2a3fe37f450f6279f82c /src/utils/xmlutils_unittest.cc | |
parent | 76ad2d74012c408788473c3b495076c96666b27c (diff) | |
download | manaplus-9fefb2942865846ccb7dbdac4ebd4515b8c851a2.tar.gz manaplus-9fefb2942865846ccb7dbdac4ebd4515b8c851a2.tar.bz2 manaplus-9fefb2942865846ccb7dbdac4ebd4515b8c851a2.tar.xz manaplus-9fefb2942865846ccb7dbdac4ebd4515b8c851a2.zip |
Add physfs deinit function for unit tests. But not using it for now.
Diffstat (limited to 'src/utils/xmlutils_unittest.cc')
-rw-r--r-- | src/utils/xmlutils_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/xmlutils_unittest.cc b/src/utils/xmlutils_unittest.cc index 6d413d484..5603bf5a8 100644 --- a/src/utils/xmlutils_unittest.cc +++ b/src/utils/xmlutils_unittest.cc @@ -59,6 +59,7 @@ TEST_CASE("xmlutils readXmlIntVector 1") REQUIRE(1 == arr[3]); REQUIRE(1 == arr[4]); ResourceManager::deleteInstance(); +// PhysFs::deinit(); } TEST_CASE("xmlutils readXmlStringMap 1") @@ -88,6 +89,7 @@ TEST_CASE("xmlutils readXmlStringMap 1") REQUIRE(arr["xD"] == "1"); REQUIRE(arr["Metal"] == "26"); ResourceManager::deleteInstance(); +// PhysFs::deinit(); } TEST_CASE("xmlutils readXmlIntMap 1") @@ -117,4 +119,5 @@ TEST_CASE("xmlutils readXmlIntMap 1") REQUIRE(arr[10] == 20); REQUIRE(arr[3] == 0); ResourceManager::deleteInstance(); +// PhysFs::deinit(); } |