Changeset View
Changeset View
Standalone View
Standalone View
kmail/editorplugins/zoomtext/autotests/CMakeLists.txt
1 | set(zoomdebug_SRCS) | 1 | set(zoomdebug_SRCS) | ||
---|---|---|---|---|---|
2 | ecm_qt_declare_logging_category(zoomdebug_SRCS HEADER zoomtexteditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_ZOOMTEXT_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_zoomtexteditorplugin) | 2 | ecm_qt_declare_logging_category(zoomdebug_SRCS HEADER zoomtexteditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_ZOOMTEXT_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_zoomtexteditorplugin) | ||
3 | 3 | | |||
4 | macro(add_kmail_editorplugin_unittest _source _additional) | 4 | macro(add_kmail_editorplugin_unittest _source _additional) | ||
5 | set( _test ${_source} ${_additional} ${zoomdebug_SRCS}) | 5 | set( _test ${_source} ${_additional} ${zoomdebug_SRCS}) | ||
6 | get_filename_component(_name ${_source} NAME_WE) | 6 | get_filename_component(_name ${_source} NAME_WE) | ||
7 | add_executable( ${_name} ${_test} ) | 7 | add_executable( ${_name} ${_test} ) | ||
8 | add_test(NAME ${_name} COMMAND ${_name} ) | 8 | add_test(NAME ${_name} COMMAND ${_name} ) | ||
9 | 9 | | |||
10 | ecm_mark_as_test(kmail_editorplugin-${_name}) | 10 | ecm_mark_as_test(kmail_editorplugin-${_name}) | ||
11 | target_link_libraries( ${_name} Qt5::Test KF5::XmlGui KF5::IconThemes KF5::MessageComposer KF5::I18n) | 11 | target_link_libraries( ${_name} Qt5::Test KF5::XmlGui KF5::MessageComposer KF5::I18n) | ||
12 | endmacro () | 12 | endmacro () | ||
13 | 13 | | |||
14 | add_kmail_editorplugin_unittest(zoomtextplugineditortest.cpp "../zoomlabel.cpp;../zoomtextplugineditor.cpp;../zoomtextplugineditorinterface.cpp") | 14 | add_kmail_editorplugin_unittest(zoomtextplugineditortest.cpp "../zoomlabel.cpp;../zoomtextplugineditor.cpp;../zoomtextplugineditorinterface.cpp") | ||
15 | 15 | | |||
16 | add_kmail_editorplugin_unittest(zoomtextplugineditorinterfacetest.cpp "../zoomtextplugineditorinterface.cpp;../zoomlabel.cpp") | 16 | add_kmail_editorplugin_unittest(zoomtextplugineditorinterfacetest.cpp "../zoomtextplugineditorinterface.cpp;../zoomlabel.cpp") |