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/resources | |
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/resources')
-rw-r--r-- | src/resources/dye/dye_unittest.cc | 1 | ||||
-rw-r--r-- | src/resources/dye/dyepalette_unittest.cc | 1 | ||||
-rw-r--r-- | src/resources/resourcemanager/resourcemanager_unittest.cc | 1 | ||||
-rw-r--r-- | src/resources/sprite/animatedsprite_unittest.cc | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/dye/dye_unittest.cc b/src/resources/dye/dye_unittest.cc index 29d39ff3e..ff79fea52 100644 --- a/src/resources/dye/dye_unittest.cc +++ b/src/resources/dye/dye_unittest.cc @@ -2392,4 +2392,5 @@ TEST_CASE("Dye real dye") dyeCheck("|A:#0000FFFF,FF000050", "arrow_up_A.png"); } delete2(client); +// PhysFs::deinit(); } diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc index a7af3c6a6..7e652e43f 100644 --- a/src/resources/dye/dyepalette_unittest.cc +++ b/src/resources/dye/dyepalette_unittest.cc @@ -373,4 +373,5 @@ TEST_CASE("DyePalette tests") REQUIRE(palette.mColors[0].value[3] == 0x77); } delete2(client); +// PhysFs::deinit(); } diff --git a/src/resources/resourcemanager/resourcemanager_unittest.cc b/src/resources/resourcemanager/resourcemanager_unittest.cc index da7d87cbf..a8b1becc1 100644 --- a/src/resources/resourcemanager/resourcemanager_unittest.cc +++ b/src/resources/resourcemanager/resourcemanager_unittest.cc @@ -660,4 +660,5 @@ TEST_CASE("resourcemanager", "resourcemanager") resourceManager = safeResman; delete client; client = nullptr; +// PhysFs::deinit(); } diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc index 950a12079..bf151308c 100644 --- a/src/resources/sprite/animatedsprite_unittest.cc +++ b/src/resources/sprite/animatedsprite_unittest.cc @@ -175,4 +175,5 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") delete client; client = nullptr; +// PhysFs::deinit(); } |