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:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2018-02-26 17:36:32 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2018-02-27 13:33:52 +0300
commit74659781b757c5845ff095a5cb1f1524adedfc71 (patch)
tree0c1fefbfdba8f72ffcccf913ff76482e0c6c0e4f /storage
parent06f656de56abe7ab24ad14e4b96fc812706c3df7 (diff)
Fixed tests and warning.
Diffstat (limited to 'storage')
-rw-r--r--storage/storage_integration_tests/storage_downloading_tests.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/storage/storage_integration_tests/storage_downloading_tests.cpp b/storage/storage_integration_tests/storage_downloading_tests.cpp
index 6dc668b21b..3b8d67b84d 100644
--- a/storage/storage_integration_tests/storage_downloading_tests.cpp
+++ b/storage/storage_integration_tests/storage_downloading_tests.cpp
@@ -25,6 +25,8 @@ using namespace storage;
namespace
{
+using Runner = Platform::ThreadRunner;
+
string const kCountryId = "Angola";
class InterruptException : public exception {};
@@ -70,13 +72,11 @@ UNIT_TEST(SmallMwms_ReDownloadExistedMWMIgnored_Test)
TEST(!storage.IsDownloadInProgress(), ());
}
-UNIT_TEST(SmallMwms_InterruptDownloadResumeDownload_Test)
+UNIT_CLASS_TEST(Runner, SmallMwms_InterruptDownloadResumeDownload_Test)
{
- auto runner = make_unique<Platform::ThreadRunner>();
WritableDirChanger writableDirChanger(kMapTestDir);
// Start download but interrupt it
-
{
Storage storage(COUNTRIES_FILE);
TEST(version::IsSingleMwm(storage.GetCurrentDataVersion()), ());
@@ -99,7 +99,6 @@ UNIT_TEST(SmallMwms_InterruptDownloadResumeDownload_Test)
}
// Continue download
-
{
Storage storage(COUNTRIES_FILE);