From 767d95c6fa5213e8ff5f7037d207d36c7353b24c Mon Sep 17 00:00:00 2001 From: Timofey Date: Thu, 22 Dec 2016 14:57:42 +0300 Subject: [PATCH] Added indexer tests --- indexer/CMakeLists.txt | 2 +- indexer/indexer_tests/CMakeLists.txt | 70 ++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 indexer/indexer_tests/CMakeLists.txt diff --git a/indexer/CMakeLists.txt b/indexer/CMakeLists.txt index 0abc38bcfb..716fdf40bd 100644 --- a/indexer/CMakeLists.txt +++ b/indexer/CMakeLists.txt @@ -141,4 +141,4 @@ file(COPY ${OTHER_FILES} DESTINATION ${CMAKE_BINARY_DIR}) add_library(${PROJECT_NAME} ${SRC}) omim_add_test_subdirectory(indexer_tests_support) -#omim_add_test_subdirectory(indexer_tests) +omim_add_test_subdirectory(indexer_tests) diff --git a/indexer/indexer_tests/CMakeLists.txt b/indexer/indexer_tests/CMakeLists.txt new file mode 100644 index 0000000000..3b7cc28ee4 --- /dev/null +++ b/indexer/indexer_tests/CMakeLists.txt @@ -0,0 +1,70 @@ +project(indexer_tests) + +set( + SRC + banners_test.cpp + categories_test.cpp + cell_coverer_test.cpp + cell_id_test.cpp + centers_table_test.cpp + checker_test.cpp + drules_selector_parser_test.cpp + editable_map_object_test.cpp + feature_metadata_test.cpp + feature_names_test.cpp + feature_xml_test.cpp + features_offsets_table_test.cpp + features_vector_test.cpp + geometry_coding_test.cpp + geometry_serialization_test.cpp + index_builder_test.cpp + index_test.cpp + interval_index_test.cpp + mwm_set_test.cpp + osm_editor_test.cpp + osm_editor_test.hpp + point_to_int64_test.cpp + postcodes_matcher_tests.cpp + rank_table_test.cpp + scales_test.cpp + search_string_utils_test.cpp + sort_and_merge_intervals_test.cpp + string_slice_tests.cpp + succinct_trie_test.cpp + test_mwm_set.hpp + test_polylines.cpp + test_polylines.hpp + test_type.cpp + trie_test.cpp + visibility_test.cpp +) + +omim_add_test(${PROJECT_NAME} ${SRC}) + +omim_link_libraries( + ${PROJECT_NAME} + generator_tests_support + search_tests_support + indexer_tests_support + platform_tests_support + generator + search + routing + indexer + storage + editor + platform + coding + geometry + base + stats_client + jansson + tess2 + protobuf + succinct + opening_hours + oauthcpp + pugixml + ${Qt5Core_LIBRARIES} + ${LIBZ} +)