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:
authorYuri Gorshenin <y@maps.me>2015-03-20 18:59:02 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:41:33 +0300
commit725aab207201f4b55bb0b8529b8731d0adfcd5cc (patch)
tree92273e0d2160883871e3d8dff2158153dd8dfb6c /map/mwm_tests
parentefaeab8e7b3b8cc863f601f29f98d4ff860955ce (diff)
Added Observers interface to Index.
Diffstat (limited to 'map/mwm_tests')
-rw-r--r--map/mwm_tests/multithread_mwm_test.cpp2
-rw-r--r--map/mwm_tests/mwm_foreach_test.cpp2
-rw-r--r--map/mwm_tests/mwm_index_test.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/map/mwm_tests/multithread_mwm_test.cpp b/map/mwm_tests/multithread_mwm_test.cpp
index d4b0b4c609..ea5b9706e5 100644
--- a/map/mwm_tests/multithread_mwm_test.cpp
+++ b/map/mwm_tests/multithread_mwm_test.cpp
@@ -62,7 +62,7 @@ namespace
{
SourceT src;
src.InitClassificator();
- src.AddMap(file + DATA_FILE_EXTENSION);
+ src.RegisterMap(file + DATA_FILE_EXTENSION);
// Check that country rect is valid and not infinity.
m2::RectD const r = src.GetWorldRect();
diff --git a/map/mwm_tests/mwm_foreach_test.cpp b/map/mwm_tests/mwm_foreach_test.cpp
index 84520cb665..15c2544299 100644
--- a/map/mwm_tests/mwm_foreach_test.cpp
+++ b/map/mwm_tests/mwm_foreach_test.cpp
@@ -250,7 +250,7 @@ void RunTest(string const & file)
{
model::FeaturesFetcher src1;
src1.InitClassificator();
- src1.AddMap(file);
+ src1.RegisterMap(file);
vector<m2::RectD> rects;
rects.push_back(src1.GetWorldRect());
diff --git a/map/mwm_tests/mwm_index_test.cpp b/map/mwm_tests/mwm_index_test.cpp
index 0d1c1ed093..f162d4c39b 100644
--- a/map/mwm_tests/mwm_index_test.cpp
+++ b/map/mwm_tests/mwm_index_test.cpp
@@ -39,7 +39,7 @@ public:
bool RunTest(string const & fileName, int lowS, int highS)
{
model::FeaturesFetcher src;
- if (src.AddMap(fileName) == -1)
+ if (src.RegisterMap(fileName) == -1)
return false;
CheckNonEmptyGeometry doCheck;