Warning, /frameworks/kio/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include(ECMMarkAsTest)
0002 
0003 remove_definitions(-DQT_NO_CAST_FROM_ASCII)
0004 remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
0005 
0006 macro(KIOWIDGETS_EXECUTABLE_TESTS)
0007   foreach(_testname ${ARGN})
0008     add_executable(${_testname} ${_testname}.cpp)
0009     target_link_libraries(${_testname}
0010        KF6::KIOCore
0011        KF6::KIOGui
0012        KF6::KIOWidgets
0013        KF6::KIOFileWidgets
0014        Qt6::Test
0015        KF6::WidgetsAddons
0016        KF6::IconThemes)
0017     ecm_mark_as_test(${_testname})
0018   endforeach()
0019 endmacro(KIOWIDGETS_EXECUTABLE_TESTS)
0020 
0021 if (NOT ANDROID)
0022 KIOWIDGETS_EXECUTABLE_TESTS(
0023     getalltest
0024     kdirlistertest_gui
0025     kdirmodeltest_gui
0026     kemailclientlauncherjobtest_gui
0027     kencodingfiledialogtest_gui
0028     kfilecustomdialogtest_gui
0029     kfilecustomdialogtest_gui_select_dir_mode
0030     kfilewidgettest_gui
0031     kfilewidgettest_saving_gui
0032     kioworkertest
0033     kmountpoint_debug
0034     kopenwithtest
0035     kpropertiesdialogtest
0036     kprotocolinfo_dumper
0037     kruntest
0038     ksycocaupdatetest
0039     kterminallauncherjobtest_gui
0040     kurlnavigatortest_gui
0041     kurlrequestertest_gui
0042     listjobtest
0043     openfilemanagerwindowtest
0044     previewtest
0045     ${runapplication_EXE}
0046 )
0047 
0048 add_subdirectory(messageboxworker)
0049 endif()