Commit 1379785a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Prepare to add autotests

parent 77aabea0
......@@ -6,7 +6,9 @@ configure_file(config-messagelist.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-mes
add_definitions(-DTRANSLATION_DOMAIN=\"libmessagelist\")
add_subdirectory(pics)
if(BUILD_TESTING)
add_subdirectory(core/widgets/autotests)
endif()
set(libmessagelist_SRCS
core/aggregation.cpp
core/delegate.cpp
......
macro(add_messagelist_widget_unittest _source)
get_filename_component(_name ${_source} NAME_WE)
ecm_add_test(${_source}
TEST_NAME ${_name}
NAME_PREFIX "messagelist-"
LINK_LIBRARIES KF5::MessageList Qt::Test
)
endmacro ()
#add_messagelist_widget_unittest(shownextmessagewidgettest.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