[storage, index] Fixed sync between MwmSet and Storage.

This commit is contained in:
Yuri Gorshenin 2015-07-17 00:25:05 +03:00 committed by Alex Zolotarev
parent 46e9b28021
commit 8910a60b6f
2 changed files with 2 additions and 1 deletions

View file

@ -43,6 +43,7 @@ SUBDIRS = 3party \
generator/generator_tool \
indexer/indexer_tests \
graphics/graphics_tests \
routing/routing_tests \
gui/gui_tests \
qt \
drape_head \

View file

@ -541,7 +541,7 @@ UNIT_TEST(StorageTest_DownloadTwoCountriesAndDelete)
unique_ptr<CountryDownloaderChecker> venezuelaChecker = make_unique<CountryDownloaderChecker>(
storage, venezuelaIndex, TMapOptions::EMapWithCarRouting,
vector<TStatus>{TStatus::ENotDownloaded, TStatus::EInQueue, TStatus::EDownloading,
TStatus::EOnDisk});
TStatus::EDownloading, TStatus::EOnDisk});
uruguayChecker->StartDownload();
venezuelaChecker->StartDownload();
storage.DeleteCountry(uruguayIndex, TMapOptions::EMap);