cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
18 lines
430 B
CMake
18 lines
430 B
CMake
include(ECMAddTests)
|
|
|
|
find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test)
|
|
|
|
macro(ktextwidgets_unit_tests)
|
|
foreach(_testname ${ARGN})
|
|
ecm_add_test(${_testname}.cpp TEST_NAME ktextwidgets-${_testname} LINK_LIBRARIES Qt6::Test KF6::TextWidgets KF6::ColorScheme)
|
|
endforeach()
|
|
endmacro()
|
|
|
|
ktextwidgets_unit_tests(
|
|
kfindtest
|
|
kreplacetest
|
|
krichtextedittest
|
|
ktextedit_unittest
|
|
kpluralhandlingspinboxtest
|
|
)
|