diff options
author | Sergey Yershov <syershov@maps.me> | 2018-06-22 19:56:54 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2018-06-25 15:34:14 +0300 |
commit | cce5c3a0ccd46b27aa5bf25fd2561dc781d7738b (patch) | |
tree | dde51f79d59b937af66a23e66f5c4e3355d2c078 /search/search_integration_tests/pre_ranker_test.cpp | |
parent | 885dcbed8914faf3f91aa38c2aa8664227ec254c (diff) |
Rename variables and methods (index to DataSource)
Diffstat (limited to 'search/search_integration_tests/pre_ranker_test.cpp')
-rw-r--r-- | search/search_integration_tests/pre_ranker_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/search/search_integration_tests/pre_ranker_test.cpp b/search/search_integration_tests/pre_ranker_test.cpp index dca92daf93..637e778590 100644 --- a/search/search_integration_tests/pre_ranker_test.cpp +++ b/search/search_integration_tests/pre_ranker_test.cpp @@ -52,11 +52,11 @@ namespace class TestRanker : public Ranker { public: - TestRanker(DataSourceBase & index, storage::CountryInfoGetter & infoGetter, + TestRanker(DataSourceBase & dataSource, storage::CountryInfoGetter & infoGetter, CitiesBoundariesTable const & boundariesTable, KeywordLangMatcher & keywordsScorer, Emitter & emitter, vector<Suggest> const & suggests, VillagesCache & villagesCache, ::base::Cancellable const & cancellable, vector<PreRankerResult> & results) - : Ranker(index, boundariesTable, infoGetter, keywordsScorer, emitter, GetDefaultCategories(), + : Ranker(dataSource, boundariesTable, infoGetter, keywordsScorer, emitter, GetDefaultCategories(), suggests, villagesCache, cancellable) , m_results(results) { @@ -122,13 +122,13 @@ UNIT_CLASS_TEST(PreRankerTest, Smoke) vector<PreRankerResult> results; Emitter emitter; - CitiesBoundariesTable boundariesTable(m_index); + CitiesBoundariesTable boundariesTable(m_dataSource); VillagesCache villagesCache(m_cancellable); KeywordLangMatcher keywordsScorer(0 /* maxLanguageTiers */); - TestRanker ranker(m_index, m_engine.GetCountryInfoGetter(), boundariesTable, keywordsScorer, + TestRanker ranker(m_dataSource, m_engine.GetCountryInfoGetter(), boundariesTable, keywordsScorer, emitter, m_suggests, villagesCache, m_cancellable, results); - PreRanker preRanker(m_index, ranker); + PreRanker preRanker(m_dataSource, ranker); PreRanker::Params params; params.m_viewport = kViewport; params.m_accuratePivotCenter = kPivot; |