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:
authorSergey Yershov <yershov@corp.mail.ru>2016-06-10 18:08:22 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-06-30 14:47:45 +0300
commit1218f30c25d96025d15f01e0471af08c40c69e4b (patch)
tree7c6af820e3dce3d2ac669a982f2adb3943a5c7e5 /indexer
parentc4bc923be5339f769661b99a10deb44a5c8c77d4 (diff)
[tests] Fix indexer tests
Diffstat (limited to 'indexer')
-rw-r--r--indexer/indexer_tests/feature_xml_test.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/indexer/indexer_tests/feature_xml_test.cpp b/indexer/indexer_tests/feature_xml_test.cpp
index 2d8008b3bc..1011902c43 100644
--- a/indexer/indexer_tests/feature_xml_test.cpp
+++ b/indexer/indexer_tests/feature_xml_test.cpp
@@ -3,19 +3,11 @@
#include "indexer/classificator_loader.hpp"
#include "indexer/feature.hpp"
-namespace
-{
-struct TestSetUp
-{
- TestSetUp() { classificator::Load(); }
-};
-
-TestSetUp g_testSetUp;
-} // namespace
-
UNIT_TEST(FeatureType_FromXMLAndBackToXML)
{
+ classificator::Load();
+
string const xmlNoTypeStr = R"(<?xml version="1.0"?>
<node lat="55.7978998" lon="37.474528" timestamp="2015-11-27T21:13:32Z">
<tag k="name" v="Gorki Park" />