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:
Diffstat (limited to 'platform/platform_tests/local_country_file_tests.cpp')
-rw-r--r--platform/platform_tests/local_country_file_tests.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/platform/platform_tests/local_country_file_tests.cpp b/platform/platform_tests/local_country_file_tests.cpp
index c98dd28009..478bfd35dd 100644
--- a/platform/platform_tests/local_country_file_tests.cpp
+++ b/platform/platform_tests/local_country_file_tests.cpp
@@ -313,8 +313,7 @@ UNIT_TEST(LocalCountryFile_CountryIndexes)
TEST_EQUAL(
my::JoinFoldersToPath(germanyLocalFile.GetDirectory(), germanyFile.GetNameWithoutExt()),
CountryIndexes::IndexesDir(germanyLocalFile), ());
- TEST(CountryIndexes::PreparePlaceOnDisk(germanyLocalFile),
- ("Can't prepare place for:", germanyLocalFile));
+ CountryIndexes::PreparePlaceOnDisk(germanyLocalFile);
string const bitsPath = CountryIndexes::GetPath(germanyLocalFile, CountryIndexes::Index::Bits);
TEST(!Platform::IsFileExistsByFullPath(bitsPath), (bitsPath));
@@ -344,9 +343,8 @@ UNIT_TEST(LocalCountryFile_DoNotDeleteUserFiles)
CountryFile germanyFile("Germany");
LocalCountryFile germanyLocalFile(testDir.GetFullPath(), germanyFile, 101010 /* version */);
+ CountryIndexes::PreparePlaceOnDisk(germanyLocalFile);
- TEST(CountryIndexes::PreparePlaceOnDisk(germanyLocalFile),
- ("Can't prepare place for:", germanyLocalFile));
string const userFilePath =
my::JoinFoldersToPath(CountryIndexes::IndexesDir(germanyLocalFile), "user-data.txt");
{