diff options
author | vng <viktor.govako@gmail.com> | 2015-09-25 16:22:48 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2015-09-25 17:17:52 +0300 |
commit | 25aaa05cefa9ecdd4ce6e7893786b4bf0eec5366 (patch) | |
tree | 1a988724f19463c79b18cbfa738bed7f5c7e26c8 /platform/platform_tests/local_country_file_tests.cpp | |
parent | c56f4c20b946bf62831e917a695d4e6c7861fdd9 (diff) |
[mwm set] Handle file system exceptions when building feature offsets index.
Diffstat (limited to 'platform/platform_tests/local_country_file_tests.cpp')
-rw-r--r-- | platform/platform_tests/local_country_file_tests.cpp | 6 |
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"); { |