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
path: root/search
diff options
context:
space:
mode:
authorYuri Gorshenin <y@maps.me>2015-07-23 14:14:03 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:57:17 +0300
commitd38ea5aba203b2949cf52ae7da19ec92336b9409 (patch)
tree62e55d9779c23e51d47f31665653e516420d7be0 /search
parentb0af8afca79ef7b217a88e2309298bc6fa90e01d (diff)
[platform] Fixed creation of temprorary local country files.
Diffstat (limited to 'search')
-rw-r--r--search/integration_tests/smoke_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/search/integration_tests/smoke_test.cpp b/search/integration_tests/smoke_test.cpp
index 7c7690fa1f..4884c28da2 100644
--- a/search/integration_tests/smoke_test.cpp
+++ b/search/integration_tests/smoke_test.cpp
@@ -10,6 +10,7 @@
#include "platform/country_defines.hpp"
#include "platform/country_file.hpp"
#include "platform/local_country_file.hpp"
+#include "platform/platform.hpp"
void TestFeaturesCount(TestSearchEngine const & engine, m2::RectD const & rect,
size_t expectedCount)
@@ -27,7 +28,7 @@ UNIT_TEST(GenerateTestMwm_Smoke)
{
classificator::Load();
- platform::LocalCountryFile file("/tmp", platform::CountryFile("BuzzCity"), 0);
+ platform::LocalCountryFile file(GetPlatform().TmpDir(), platform::CountryFile("BuzzCity"), 0);
{
TestMwmBuilder builder(file);
builder.AddPOI(m2::PointD(0, 0), "Wine shop", "en");