<commit_before>project(traffic_tests)

add_definitions(-DOMIM_UNIT_TEST_WITH_QT_EVENT_LOOP)

include_directories(${OMIM_ROOT}/3party/jansson/src)

set(
  SRC
  traffic_info_test.cpp
)

omim_add_test(${PROJECT_NAME} ${SRC})

omim_link_libraries(
  ${PROJECT_NAME}
  routing
  traffic
  editor
  pugixml
  oauthcpp
  opening_hours
  indexer
  platform_tests_support
  platform
  coding
  geometry
  base
  stats_client
  jansson
  ${Qt5Core_LIBRARIES}
  ${LIBZ}
)

if (PLATFORM_MAC)
  omim_link_libraries(
    ${PROJECT_NAME}
    ${Qt5Widgets_LIBRARIES}
  )
endif()
<commit_msg>Made compile on Linux<commit_after>project(traffic_tests)

add_definitions(-DOMIM_UNIT_TEST_WITH_QT_EVENT_LOOP)

include_directories(${OMIM_ROOT}/3party/jansson/src)

set(
  SRC
  traffic_info_test.cpp
)

omim_add_test(${PROJECT_NAME} ${SRC})

omim_link_libraries(
  ${PROJECT_NAME}
  traffic
  routing
  indexer
  editor
  pugixml
  oauthcpp
  opening_hours
  platform_tests_support
  platform
  coding
  geometry
  base
  stats_client
  jansson
  ${Qt5Core_LIBRARIES}
  ${LIBZ}
)

if (PLATFORM_MAC)
  omim_link_libraries(
    ${PROJECT_NAME}
    ${Qt5Widgets_LIBRARIES}
  )
endif()

{'fraction_non_alphanumeric': 0.08620689655172414, 'fraction_numerical': 0.005172413793103448, 'mean_word_length': 4.923469387755102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5547292', 'n_tokens_mistral': 493, 'n_tokens_neox': 485, 'n_words': 67}