Warning, /frameworks/baloo/autotests/unit/file/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 if(CMAKE_SYSTEM_NAME MATCHES "Linux") 0002 ecm_add_test(kinotifytest.cpp 0003 TEST_NAME "kinotifytest" 0004 LINK_LIBRARIES Qt6::Test baloofilecommon 0005 ) 0006 endif() 0007 0008 MACRO(BALOO_FILE_AUTO_TESTS) 0009 FOREACH(_testname ${ARGN}) 0010 ecm_add_test(${_testname}.cpp TEST_NAME ${_testname} LINK_LIBRARIES Qt6::Test baloofilecommon KF6::Baloo) 0011 ENDFOREACH() 0012 ENDMACRO() 0013 0014 baloo_file_auto_tests( 0015 pendingfilequeuetest 0016 fileindexerconfigtest 0017 basicindexingjobtest 0018 filtereddiriteratortest 0019 unindexedfileiteratortest 0020 metadatamovertest 0021 extractorcommandpipetest 0022 ) 0023 0024 0025 # 0026 # File Watch 0027 # 0028 set(fileWatch_SRC filewatchtest.cpp) 0029 ecm_add_test(${fileWatch_SRC} 0030 TEST_NAME "filewatchtest" 0031 LINK_LIBRARIES Qt6::Test Qt6::DBus KF6::Baloo KF6::FileMetaData baloofilecommon 0032 ) 0033 0034 # 0035 # Property Serialization 0036 # 0037 ecm_add_test(propertyserializationtest.cpp 0038 TEST_NAME "propertyserializationtest" 0039 LINK_LIBRARIES Qt6::Test KF6::FileMetaData baloofilecommon 0040 ) 0041 0042 # Management of external extractor process 0043 ecm_add_test( 0044 extractorprocesstest.cpp 0045 TEST_NAME "extractorprocesstest" 0046 LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test baloofilecommon 0047 ) 0048 # Dummy process for extractor process testing 0049 add_executable(extractorprocess_fake 0050 extractorprocess_fake.cpp 0051 ) 0052 target_link_libraries(extractorprocess_fake 0053 baloofilecommon 0054 KF6::Crash 0055 ) 0056 0057 configure_file(testsconfig.h.in 0058 ${CMAKE_CURRENT_BINARY_DIR}/testsconfig.h @ONLY) 0059 0060 # Dummy process for extractor pipe testing 0061 add_executable(extractorcommandpipe_worker 0062 extractorcommandpipe_worker.cpp 0063 ) 0064 target_link_libraries(extractorcommandpipe_worker 0065 baloofilecommon 0066 )