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:
authorTimofey <t.danshin@corp.mail.ru>2016-11-09 20:08:10 +0300
committerTimofey <t.danshin@corp.mail.ru>2016-11-14 17:06:23 +0300
commit61d10c1df1c1b2538da226312f8bb964efe73203 (patch)
tree32a1c60d58ee5bd5ed438e8cb55f7075ce803cd4
parent9e5fc56291a6b1cbcb118bf75302fa0069bedf72 (diff)
Added routing_integration_tests
-rw-r--r--routing/CMakeLists.txt2
-rw-r--r--routing/routing_integration_tests/CMakeLists.txt63
-rw-r--r--routing/routing_tests/CMakeLists.txt4
3 files changed, 67 insertions, 2 deletions
diff --git a/routing/CMakeLists.txt b/routing/CMakeLists.txt
index 9059685f8b..c6aba963bb 100644
--- a/routing/CMakeLists.txt
+++ b/routing/CMakeLists.txt
@@ -90,4 +90,6 @@ set(
add_library(${PROJECT_NAME} ${SRC})
omim_add_test_subdirectory(routing_tests)
+omim_add_test_subdirectory(routing_integration_tests)
+
diff --git a/routing/routing_integration_tests/CMakeLists.txt b/routing/routing_integration_tests/CMakeLists.txt
new file mode 100644
index 0000000000..6d1e4eaa7d
--- /dev/null
+++ b/routing/routing_integration_tests/CMakeLists.txt
@@ -0,0 +1,63 @@
+# This subproject implements integration tests.
+# This tests are launched on the whole world dataset.
+
+# It is recommended to place tests here in the following cases:
+# - tests are written to be launch on the whole world dataset;
+# - tests covers significant number of subsystems;
+
+project(routing_integration_tests)
+
+set(
+ SRC
+ bicycle_route_test.cpp
+ bicycle_turn_test.cpp
+ cross_section_tests.cpp
+ get_altitude_test.cpp
+ online_cross_tests.cpp
+ osrm_route_test.cpp
+ osrm_street_names_test.cpp
+ osrm_turn_test.cpp
+ pedestrian_route_test.cpp
+ routing_test_tools.cpp
+ routing_test_tools.hpp
+)
+
+# if (APPLE)
+# target_compile_options(${PROJECT_NAME} PUBLIC "-fobjc-arc")
+#endif()
+
+
+omim_add_test(${PROJECT_NAME} ${SRC})
+omim_link_libraries(
+ ${PROJECT_NAME}
+ map
+ routing
+ search
+ storage
+ indexer
+ editor
+ platform
+ oauthcpp
+ geometry
+ coding
+ base
+ osrm
+ jansson
+ protobuf
+ tomcrypt
+ succinct
+ stats_client
+ pugixml
+ opening_hours
+ ${Qt5Core_LIBRARIES}
+ ${LIBZ}
+)
+
+if (PLATFORM_MAC)
+ omim_link_libraries(
+ ${PROJECT_NAME}
+ "-framework Cocoa"
+ "-framework IOKit"
+ "-framework SystemConfiguration"
+ )
+endif()
diff --git a/routing/routing_tests/CMakeLists.txt b/routing/routing_tests/CMakeLists.txt
index e7e57decbe..d92a3e17eb 100644
--- a/routing/routing_tests/CMakeLists.txt
+++ b/routing/routing_tests/CMakeLists.txt
@@ -31,9 +31,9 @@ omim_link_libraries(
routing
indexer
platform_tests_support
- oauthcpp
- platform
editor
+ platform
+ oauthcpp
geometry
coding
base