Changeset View
Changeset View
Standalone View
Standalone View
src/core/autotests/CMakeLists.txt
1 | add_definitions( -DRUQOLA_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data") | 1 | add_definitions( -DRUQOLA_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data") | ||
---|---|---|---|---|---|
2 | macro(add_ruqola_test _source) | 2 | macro(add_ruqola_test _source) | ||
3 | set( _test ${_source}) | 3 | set( _test ${_source}) | ||
4 | get_filename_component( _name ${_source} NAME_WE ) | 4 | get_filename_component( _name ${_source} NAME_WE ) | ||
5 | add_executable( ${_name} ${_test} ) | 5 | add_executable( ${_name} ${_test} ) | ||
6 | add_test(NAME ${_name} COMMAND ${_name} ) | 6 | add_test(NAME ${_name} COMMAND ${_name} ) | ||
7 | ecm_mark_as_test(${_name}) | 7 | ecm_mark_as_test(${_name}) | ||
8 | target_link_libraries( ${_name} Qt5::Test libruqolacore) | 8 | target_link_libraries( ${_name} Qt5::Test libruqolacore) | ||
9 | endmacro() | 9 | endmacro() | ||
10 | 10 | | |||
11 | add_ruqola_test(accountschannelsmodeltest.cpp) | ||||
11 | add_ruqola_test(rocketchatmessagetest.cpp) | 12 | add_ruqola_test(rocketchatmessagetest.cpp) | ||
12 | add_ruqola_test(roommodeltest.cpp) | 13 | add_ruqola_test(roommodeltest.cpp) | ||
13 | add_ruqola_test(messagemodeltest.cpp) | 14 | add_ruqola_test(messagemodeltest.cpp) | ||
14 | add_ruqola_test(typingnotificationtest.cpp) | 15 | add_ruqola_test(typingnotificationtest.cpp) | ||
15 | add_ruqola_test(utilstest.cpp) | 16 | add_ruqola_test(utilstest.cpp) | ||
16 | add_ruqola_test(usertest.cpp) | 17 | add_ruqola_test(usertest.cpp) | ||
17 | add_ruqola_test(messageattachmenttest.cpp) | 18 | add_ruqola_test(messageattachmenttest.cpp) | ||
18 | add_ruqola_test(rocketchataccountsettingstest.cpp) | 19 | add_ruqola_test(rocketchataccountsettingstest.cpp) | ||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |