From a4504b3138d6750aa75ba903a9f24cb0b2a16695 Mon Sep 17 00:00:00 2001 From: Viktor Govako Date: Thu, 15 Dec 2022 11:06:43 +0100 Subject: [PATCH] [kml] Moved kml test files into data/kml_test_data folder. Signed-off-by: Viktor Govako --- data/{ => kml_test_data}/test.kmz | Bin .../track-from-google-earth.kml} | 0 .../track.kml} | 0 map/map_tests/bookmarks_test.cpp | 4 ++-- map/map_tests/kmz_unarchive_test.cpp | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename data/{ => kml_test_data}/test.kmz (100%) rename data/{kml-with-track-from-google-earth.test => kml_test_data/track-from-google-earth.kml} (100%) rename data/{kml-with-track-kml.test => kml_test_data/track.kml} (100%) diff --git a/data/test.kmz b/data/kml_test_data/test.kmz similarity index 100% rename from data/test.kmz rename to data/kml_test_data/test.kmz diff --git a/data/kml-with-track-from-google-earth.test b/data/kml_test_data/track-from-google-earth.kml similarity index 100% rename from data/kml-with-track-from-google-earth.test rename to data/kml_test_data/track-from-google-earth.kml diff --git a/data/kml-with-track-kml.test b/data/kml_test_data/track.kml similarity index 100% rename from data/kml-with-track-kml.test rename to data/kml_test_data/track.kml diff --git a/map/map_tests/bookmarks_test.cpp b/map/map_tests/bookmarks_test.cpp index e52cbe1cec..a9ecc061cc 100644 --- a/map/map_tests/bookmarks_test.cpp +++ b/map/map_tests/bookmarks_test.cpp @@ -1084,7 +1084,7 @@ UNIT_CLASS_TEST(Runner, Bookmarks_SpecialXMLNames) UNIT_CLASS_TEST(Runner, TrackParsingTest_1) { - string const kmlFile = GetPlatform().TestsDataPathForFile("kml-with-track-kml.test"); + string const kmlFile = GetPlatform().TestsDataPathForFile("kml_test_data/track.kml"); BookmarkManager bmManager(BM_CALLBACKS); bmManager.EnableTestMode(true); @@ -1122,7 +1122,7 @@ UNIT_CLASS_TEST(Runner, TrackParsingTest_1) UNIT_CLASS_TEST(Runner, TrackParsingTest_2) { - string const kmlFile = GetPlatform().TestsDataPathForFile("kml-with-track-from-google-earth.test"); + string const kmlFile = GetPlatform().TestsDataPathForFile("kml_test_data/track-from-google-earth.kml"); BookmarkManager bmManager(BM_CALLBACKS); bmManager.EnableTestMode(true); diff --git a/map/map_tests/kmz_unarchive_test.cpp b/map/map_tests/kmz_unarchive_test.cpp index af56077bac..de84951e36 100644 --- a/map/map_tests/kmz_unarchive_test.cpp +++ b/map/map_tests/kmz_unarchive_test.cpp @@ -9,7 +9,7 @@ UNIT_TEST(KMZ_UnzipTest) { - std::string const kmzFile = GetPlatform().TestsDataPathForFile("test.kmz"); + std::string const kmzFile = GetPlatform().TestsDataPathForFile("kml_test_data/test.kmz"); std::string const filePath = GetKMLPath(kmzFile); TEST(!filePath.empty(), ());