Commit e7e7cd32 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix show headers

parent f0713aea
Pipeline #119819 passed with stage
in 3 minutes and 43 seconds
......@@ -4,11 +4,11 @@
macro( folderarchive_kmail _source )
set( _test ${_source} )
get_filename_component( _name ${_source} NAME_WE )
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h )
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(folderararchive-${_name})
target_link_libraries( ${_name} Qt::Test Qt::Core KF5::AkonadiCore KF5::ConfigCore kmailprivate)
endmacro()
folderarchive_kmail(folderarchiveaccountinfotest.cpp folderarchiveaccountinfotest.h)
folderarchive_kmail(folderarchiveaccountinfotest.cpp)
......@@ -2,12 +2,12 @@
# SPDX-License-Identifier: BSD-3-Clause
macro(add_kmail_historyswitchfolder_unittest _source)
get_filename_component(_name ${_source} NAME_WE)
ecm_add_test(${_source}
ecm_add_test(${_source} ${_name}.h
TEST_NAME ${_name}
LINK_LIBRARIES kmailprivate Qt::Test Qt::Widgets
)
endmacro ()
add_kmail_historyswitchfolder_unittest(collectionswitchertreeviewtest.cpp collectionswitchertreeviewtest.h)
add_kmail_historyswitchfolder_unittest(collectionswitchertreeviewmanagertest.cpp collectionswitchertreeviewmanagertest.h)
add_kmail_historyswitchfolder_unittest(collectionswitchertreeviewtest.cpp)
add_kmail_historyswitchfolder_unittest(collectionswitchertreeviewmanagertest.cpp)
......@@ -2,12 +2,12 @@
# SPDX-License-Identifier: BSD-3-Clause
macro(add_kmail_job_unittest _source)
get_filename_component(_name ${_source} NAME_WE)
ecm_add_test(${_source}
ecm_add_test(${_source} ${_name}.h
TEST_NAME ${_name}
LINK_LIBRARIES kmailprivate Qt::Test Qt::Widgets KF5::AkonadiCore
)
endmacro ()
add_kmail_job_unittest(createreplymessagejobtest.cpp createreplymessagejobtest.h)
add_kmail_job_unittest(createforwardmessagejobtest.cpp createforwardmessagejobtest.h)
add_kmail_job_unittest(createreplymessagejobtest.cpp)
add_kmail_job_unittest(createforwardmessagejobtest.cpp)
......@@ -2,11 +2,11 @@
# SPDX-License-Identifier: BSD-3-Clause
macro(add_kmail_undosend_unittest _source)
get_filename_component(_name ${_source} NAME_WE)
ecm_add_test(${_source}
ecm_add_test(${_source} ${_name}.h
TEST_NAME ${_name}
LINK_LIBRARIES kmailprivate Qt::Test Qt::Widgets
)
endmacro ()
add_kmail_undosend_unittest(undosendcomboboxtest.cpp undosendcomboboxtest.h)
add_kmail_undosend_unittest(undosendcreatejobtest.cpp undosendcreatejobtest.h)
add_kmail_undosend_unittest(undosendcomboboxtest.cpp)
add_kmail_undosend_unittest(undosendcreatejobtest.cpp)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment