From 9fefb2942865846ccb7dbdac4ebd4515b8c851a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Jan 2017 18:25:48 +0300 Subject: Add physfs deinit function for unit tests. But not using it for now. --- src/utils/xmlutils_unittest.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils/xmlutils_unittest.cc') 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(); } -- cgit v1.2.3-70-g09d2