diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-08-07 14:07:39 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:00:35 +0300 |
commit | b1f57c474fa36a3b219087de1d3f268f956a219a (patch) | |
tree | 21e337ea624581e7a3a64df2cbf86c7eb6f341a6 /routing | |
parent | 4b705bff53c9961b9bb36561444fce4fe0840dad (diff) |
Scoped mwm test stub.
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_tests/osrm_router_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routing/routing_tests/osrm_router_test.cpp b/routing/routing_tests/osrm_router_test.cpp index bf9421b00a..9d36d02bed 100644 --- a/routing/routing_tests/osrm_router_test.cpp +++ b/routing/routing_tests/osrm_router_test.cpp @@ -10,6 +10,8 @@ #include "platform/local_country_file_utils.hpp" #include "platform/platform.hpp" +#include "platform/platform_tests_support/scoped_mwm.hpp" + #include "coding/file_writer.hpp" #include "defines.hpp" @@ -57,6 +59,7 @@ void TestMapping(InputDataT const & data, platform::CountryFile country("TestCountry"); platform::LocalCountryFile localFile(GetPlatform().WritableDir(), country, 0 /* version */); localFile.SyncWithDisk(); + platform::tests_support::ScopedMwm mapMwm(localFile.GetPath(MapOptions::Map)); static char const ftSegsPath[] = "test1.tmp"; platform::CountryIndexes::PreparePlaceOnDisk(localFile); |