[core] Update bookmarks filenames

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-05-23 13:58:47 +07:00
parent 36bb1e3182
commit c4a5979966
6 changed files with 14 additions and 14 deletions

View File

@@ -1458,7 +1458,7 @@ UNIT_CLASS_TEST(Runner, ExportAll)
TEST_EQUAL(files.size(), 5, ("5 files are expected in kmz"));
auto index = "doc.kml";
std::vector<std::string> expectedFiles = {"doc.kml", "files/new.kml", "files/Some random route.kml",
"files/OrganicMaps_1.kml", "files/OrganicMaps_2.kml"};
"files/CoMaps_1.kml", "files/CoMaps_2.kml"};
for (auto const & file : files)
TEST(std::find(expectedFiles.begin(), expectedFiles.end(), file.first) != expectedFiles.end(), ());
auto indexPath = base::JoinPath(GetPlatform().TmpDir(), index);
@@ -1498,7 +1498,7 @@ UNIT_CLASS_TEST(Runner, ExportSingleUnicode)
ZipFileReader::FileList files;
ZipFileReader::FilesList(kmz, files);
TEST_EQUAL(1, files.size(), ());
TEST_EQUAL("OrganicMaps.kml", files.at(0).first, ());
TEST_EQUAL("CoMaps.kml", files.at(0).first, ());
auto tmpPath = base::JoinPath(GetPlatform().TmpDir(), "tmp.xml");
ZipFileReader::UnzipFile(kmz, files.at(0).first, tmpPath);
TEST(base::DeleteFileX(kmz), ());