<commit_before>
#tests/CMakelists.txt

# set(dir_test_dir_fixtures 
#     dummy_directory/sub_directory_1
#     dummy_directory/sub_directory_2)
# set(dir_test_file_fixtures 
#     file_1
#     file_2
#     file_3
#     )
# 
# foreach (p ${dir_test_dir_fixtures})
#     execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory
#         tests/${p})
# endforeach()
# foreach (f ${dir_test_file_fixtures})
#     execute_process(COMMAND ${CMAKE_COMMAND} -E touch tests/dummy_directory/${f})
# endforeach()

# find_package(OpenGL REQUIRED)
find_package(Qt5Core REQUIRED)
# include_directories(${QT_INCLUDES} ${OPENGL_INCLUDE_DIR})

include_directories(${gtest_SOURCE_DIR}/include)
set(test_sources gtest_main.cpp
    test_helper.hpp
    test_helper.cpp
    synonyms_test.cpp
    pathname_test.cpp
    dir_test.cpp
    xml_doc_test.cpp
    # xml_schema_parser_test.cpp
    # xml_schema_test.cpp
    # xml_schema_validator_test.cpp
    # xpath_ctxt_test.cpp<commit_msg>memory leak due to missing Deleter template argument fixed<commit_after>
#tests/CMakelists.txt

# set(dir_test_dir_fixtures 
#     dummy_directory/sub_directory_1
#     dummy_directory/sub_directory_2)
# set(dir_test_file_fixtures 
#     file_1
#     file_2
#     file_3
#     )
# 
# foreach (p ${dir_test_dir_fixtures})
#     execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory
#         tests/${p})
# endforeach()
# foreach (f ${dir_test_file_fixtures})
#     execute_process(COMMAND ${CMAKE_COMMAND} -E touch tests/dummy_directory/${f})
# endforeach()

# find_package(OpenGL REQUIRED)
find_package(Qt5Core REQUIRED)
# include_directories(${QT_INCLUDES} ${OPENGL_INCLUDE_DIR})

include_directories(${gtest_SOURCE_DIR}/include)
set(test_sources gtest_main.cpp
    test_helper.hpp
    test_helper.cpp
    xslt_doc_test.cpp
    synonyms_test.cpp
    pathname_test.cpp
    dir_test.cpp
    xml_doc_test.cpp
    # xml_schema_parser_test.cpp
    # xml_schema_test.cpp
    # xml_schema_validator_test.cpp
    # xpath_ctxt_test.cpp
{'fraction_non_alphanumeric': 0.09964947421131698, 'fraction_numerical': 0.006009013520280421, 'mean_word_length': 4.473972602739726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '1509103', 'n_tokens_mistral': 746, 'n_tokens_neox': 744, 'n_words': 100}