<commit_before># -*- mode: CMAKE; -*-

## -----------------------------------------------------------------------------
## --SECTION--                                                   COMMON INCLUDES
## -----------------------------------------------------------------------------

include_directories(.)
include_directories(${PROJECT_SOURCE_DIR}/lib)
include_directories(${PROJECT_SOURCE_DIR}/arangod)

## -----------------------------------------------------------------------------
## --SECTION--                                                   BOOST FRAMEWORK
## -----------------------------------------------------------------------------

################################################################################
### @brief BOOST unit-test framework
################################################################################

find_package(Boost COMPONENTS unit_test_framework)

## -----------------------------------------------------------------------------
## --SECTION--                                                  TEST EXECUTABLES
## -----------------------------------------------------------------------------

################################################################################
### @brief output directory
################################################################################

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/tests/")

################################################################################
### @brief basics_suite
################################################################################

include_directories(../3rdParty/velocypack/include)

if (Boost_UNIT_TEST_FRAMEWORK_FOUND)

add_executable(
    ${TEST_BASICS_SUITE}
    Basics/Runner.cpp
    Basics/conversions-test.cpp
    Basics/csv-test.cpp
    Basics/files-test.cpp
    Basics/fpconv-test.cpp
    Basics/json-test.cpp
    Basics/json-utilities-test.cpp
    Basics/hashes-test.cpp
    Basics/associative-pointer-test.cpp
    Basics/associative-multi-pointer-test.cpp
    Basics/associative-multi-pointer-nohashcache-test.cpp
    Basics/skiplist-test.cpp
    Basics/priorityqueue-test.cpp
    Basics/string-buffer-test.cpp
    Basics/string-utf8-normalize-test.cpp
    Basics/string-utf8-test.cpp
    Basics/string-test.cpp
    Basics/structure-size-test.cpp
    Basics/vector-pointer-test.cpp
    Basics/vector-test.cpp
    Basics/EndpointTest.cpp
    Basics/StringBufferTest.cpp
    Basics/StringUtilsTest.cpp
)

target_link_libraries(
    ${TEST_BASICS_SUITE}
    ${LIB_ARANGO}
    ${ICU_LIBS}
    ${OPENSSL_LIBS}
    ${ZLIB_LIBS}
    ${Boost_LIBRARIES}
)

endif ()

################################################################################
### @brief geo_suite
################################################################################

if (Boost_UNIT_TEST_FRAMEWORK_FOUND)

add_executable(
    ${TEST_GEO_SUITE}
    Geo/Runner.cpp
    Geo/georeg.cpp
    ../arangod/GeoIndex/GeoIndex.cpp
)

target_link_libraries(
    ${TEST_GEO_SUITE}
    ${LIB_ARANGO}
    ${ICU_LIBS}
    ${OPENSSL_LIBS}
    ${ZLIB_LIBS}
    ${Boost_LIBRARIES}
)

endif ()

## -----------------------------------------------------------------------------
## --SECTION--                                                             TESTS
## -----------------------------------------------------------------------------

# include(${PROJECT_SOURCE_DIR}/UnitTests/CTestLists.txt)

## -----------------------------------------------------------------------------
## --SECTION--                                                       END-OF-FILE
## -----------------------------------------------------------------------------

## Local Variables:
## mode: outline-minor
## outline-regexp: "^\\(### @brief\\|## --SECTION--\\|# -\\*- \\)"
## End:
<commit_msg>Add new (missing) file for workmontior dummy.<commit_after># -*- mode: CMAKE; -*-

## -----------------------------------------------------------------------------
## --SECTION--                                                   COMMON INCLUDES
## -----------------------------------------------------------------------------

include_directories(.)
include_directories(${PROJECT_SOURCE_DIR}/lib)
include_directories(${PROJECT_SOURCE_DIR}/arangod)

## -----------------------------------------------------------------------------
## --SECTION--                                                   BOOST FRAMEWORK
## -----------------------------------------------------------------------------

################################################################################
### @brief BOOST unit-test framework
################################################################################

find_package(Boost COMPONENTS unit_test_framework)

## -----------------------------------------------------------------------------
## --SECTION--                                                  TEST EXECUTABLES
## -----------------------------------------------------------------------------

################################################################################
### @brief output directory
################################################################################

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/tests/")

################################################################################
### @brief basics_suite
################################################################################

include_directories(../3rdParty/velocypack/include)

if (Boost_UNIT_TEST_FRAMEWORK_FOUND)

add_executable(
    ${TEST_BASICS_SUITE}
    Basics/Runner.cpp
    Basics/conversions-test.cpp
    Basics/csv-test.cpp
    Basics/files-test.cpp
    Basics/fpconv-test.cpp
    Basics/json-test.cpp
    Basics/json-utilities-test.cpp
    Basics/hashes-test.cpp
    Basics/associative-pointer-test.cpp
    Basics/associative-multi-pointer-test.cpp
    Basics/associative-multi-pointer-nohashcache-test.cpp
    Basics/skiplist-test.cpp
    Basics/priorityqueue-test.cpp
    Basics/string-buffer-test.cpp
    Basics/string-utf8-normalize-test.cpp
    Basics/string-utf8-test.cpp
    Basics/string-test.cpp
    Basics/structure-size-test.cpp
    Basics/vector-pointer-test.cpp
    Basics/vector-test.cpp
    Basics/EndpointTest.cpp
    Basics/StringBufferTest.cpp
    Basics/StringUtilsTest.cpp
    lib/Basics/WorkMonitorDummy.cpp
)

target_link_libraries(
    ${TEST_BASICS_SUITE}
    ${LIB_ARANGO}
    ${ICU_LIBS}
    ${OPENSSL_LIBS}
    ${ZLIB_LIBS}
    ${Boost_LIBRARIES}
)

endif ()

################################################################################
### @brief geo_suite
################################################################################

if (Boost_UNIT_TEST_FRAMEWORK_FOUND)

add_executable(
    ${TEST_GEO_SUITE}
    Geo/Runner.cpp
    Geo/georeg.cpp
    ../arangod/GeoIndex/GeoIndex.cpp
)

target_link_libraries(
    ${TEST_GEO_SUITE}
    ${LIB_ARANGO}
    ${ICU_LIBS}
    ${OPENSSL_LIBS}
    ${ZLIB_LIBS}
    ${Boost_LIBRARIES}
)

endif ()

## -----------------------------------------------------------------------------
## --SECTION--                                                             TESTS
## -----------------------------------------------------------------------------

# include(${PROJECT_SOURCE_DIR}/UnitTests/CTestLists.txt)

## -----------------------------------------------------------------------------
## --SECTION--                                                       END-OF-FILE
## -----------------------------------------------------------------------------

## Local Variables:
## mode: outline-minor
## outline-regexp: "^\\(### @brief\\|## --SECTION--\\|# -\\*- \\)"
## End:

{'fraction_non_alphanumeric': 0.45091383812010444, 'fraction_numerical': 0.000783289817232376, 'mean_word_length': 1.5233860342555994, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '322017', 'n_tokens_mistral': 1814, 'n_tokens_neox': 1741, 'n_words': 197}