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:
authorvng <viktor.govako@gmail.com>2012-07-20 10:41:37 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:41:16 +0300
commit1e098bc0a3c7ce08879ee447943412ff9c9a919b (patch)
treee105abb72bed9f4f4b4d1b4e6e1ca8986d11313f
parent86330091629199f15fba4f1de0ca698c112300e0 (diff)
Fix unit tests.
-rw-r--r--base/base_tests/string_format_test.cpp4
-rw-r--r--indexer/indexer_tests/mwm_set_test.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/base/base_tests/string_format_test.cpp b/base/base_tests/string_format_test.cpp
index 0849838e65..0fcd9f730a 100644
--- a/base/base_tests/string_format_test.cpp
+++ b/base/base_tests/string_format_test.cpp
@@ -3,9 +3,9 @@
UNIT_TEST(StringFormat_Smoke)
{
- TEST_EQUAL(strings::Format("this is % % % %", "a", "very", "simple", "test"), "this is a very simple test", ());
+ TEST_EQUAL(strings::Format("this is ^ ^ ^ ^", "a", "very", "simple", "test"), "this is a very simple test", ());
TEST_EQUAL(strings::Format("this", "a"), "this", ());
- TEST_EQUAL(strings::Format("this % %", "is"), "this is %", ());
+ TEST_EQUAL(strings::Format("this ^ ^", "is"), "this is ^", ());
}
diff --git a/indexer/indexer_tests/mwm_set_test.cpp b/indexer/indexer_tests/mwm_set_test.cpp
index 2f839ac3ab..c630952b1c 100644
--- a/indexer/indexer_tests/mwm_set_test.cpp
+++ b/indexer/indexer_tests/mwm_set_test.cpp
@@ -15,6 +15,7 @@ namespace
{
int n = path[0] - '0';
info.m_maxScale = n;
+ info.m_limitRect = m2::RectD(0, 0, 1, 1);
return 1;
}
virtual MwmValue * CreateValue(string const &) const