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:
authorvng <viktor.govako@gmail.com>2015-08-10 13:10:54 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:00:11 +0300
commit34ec9d6c14d86682e86c5f2ecb82f134274b9328 (patch)
tree80bdca19359e687305dcc8ddbaca31223b1bd48f /platform
parent854f4d6974be6f42d5786dff6a10c362da62b3f8 (diff)
[platform][tests] Fixed World files version check.
Diffstat (limited to 'platform')
-rw-r--r--platform/platform_tests/local_country_file_tests.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/platform_tests/local_country_file_tests.cpp b/platform/platform_tests/local_country_file_tests.cpp
index d546cfda2c..c98dd28009 100644
--- a/platform/platform_tests/local_country_file_tests.cpp
+++ b/platform/platform_tests/local_country_file_tests.cpp
@@ -257,15 +257,16 @@ UNIT_TEST(LocalCountryFile_AllLocalFilesLookup)
bool worldCoastsFound = false;
for (auto const & file : localFiles)
{
+ // With the new concepts, World mwm files have valid version.
if (file.GetCountryName() == WORLD_FILE_NAME)
{
worldFound = true;
- TEST_EQUAL(0, file.GetVersion(), ());
+ TEST_NOT_EQUAL(0, file.GetVersion(), ());
}
if (file.GetCountryName() == WORLD_COASTS_FILE_NAME)
{
worldCoastsFound = true;
- TEST_EQUAL(0, file.GetVersion(), ());
+ TEST_NOT_EQUAL(0, file.GetVersion(), ());
}
}
TEST(worldFound, ());