Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Shalnev <c.shalnev@corp.mail.ru>2016-02-04 15:28:47 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:21:49 +0300
commit3b76819a8b2e20a227a1d1aeb433bb6adad68cd4 (patch)
treebdc4ba171c8f863955f45303827a10d0b6d0dce6 /storage/storage_integration_tests
parent45b6192f3d6453f3aa2afecf88eba33f5165e4ae (diff)
Use new country_migrate.txt file
Diffstat (limited to 'storage/storage_integration_tests')
-rw-r--r--storage/storage_integration_tests/storage_update_tests.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/storage/storage_integration_tests/storage_update_tests.cpp b/storage/storage_integration_tests/storage_update_tests.cpp
index ccabab6dcc..d80c6c7a1e 100644
--- a/storage/storage_integration_tests/storage_update_tests.cpp
+++ b/storage/storage_integration_tests/storage_update_tests.cpp
@@ -24,11 +24,13 @@ string const kTestWebServer = "http://new-search.mapswithme.com/";
string const kMapTestDir = "map-tests";
-string const kMwmVersion1 = "160107";
-size_t const kCountriesTxtFileSize1 = 131488;
+string const kCountriesTxtFile = "countries_migrate.txt";
-string const kMwmVersion2 = "160118";
-size_t const kCountriesTxtFileSize2 = 131485;
+string const kMwmVersion1 = "160126";
+size_t const kCountriesTxtFileSize1 = 131201;
+
+string const kMwmVersion2 = "160128";
+size_t const kCountriesTxtFileSize2 = 127870;
string const kGroupCountryId = "Belarus";
@@ -60,12 +62,12 @@ bool DownloadFile(string const & url,
string GetCountriesTxtWebUrl(string const version)
{
- return kTestWebServer + "/direct/" + version + "/countries.txt";
+ return kTestWebServer + "/direct/" + version + "/" + kCountriesTxtFile;
}
string GetCountriesTxtFilePath()
{
- return my::JoinFoldersToPath(GetPlatform().WritableDir(), "countries.txt");
+ return my::JoinFoldersToPath(GetPlatform().WritableDir(), kCountriesTxtFile);
}
string GetMwmFilePath(string const & version, TCountryId const & countryId)