Changeset View
Changeset View
Standalone View
Standalone View
klipper/autotests/CMakeLists.txt
Show All 15 Lines | 9 | set(testHistory_SRCS | |||
---|---|---|---|---|---|
16 | ../historyurlitem.cpp | 16 | ../historyurlitem.cpp | ||
17 | ../historymodel.cpp | 17 | ../historymodel.cpp | ||
18 | ) | 18 | ) | ||
19 | add_executable(testHistory ${testHistory_SRCS}) | 19 | add_executable(testHistory ${testHistory_SRCS}) | ||
20 | target_link_libraries(testHistory | 20 | target_link_libraries(testHistory | ||
21 | Qt5::Test | 21 | Qt5::Test | ||
22 | Qt5::Widgets # QAction | 22 | Qt5::Widgets # QAction | ||
23 | KF5::CoreAddons # KUrlMimeData | 23 | KF5::CoreAddons # KUrlMimeData | ||
24 | KF5::I18n | ||||
24 | ) | 25 | ) | ||
25 | add_test(NAME klipper-testHistory COMMAND testHistory) | 26 | add_test(NAME klipper-testHistory COMMAND testHistory) | ||
26 | ecm_mark_as_test(testHistory) | 27 | ecm_mark_as_test(testHistory) | ||
27 | 28 | | |||
28 | ######################################################## | 29 | ######################################################## | ||
29 | # Test History Model | 30 | # Test History Model | ||
30 | ######################################################## | 31 | ######################################################## | ||
31 | set(testHistoryModel_SRCS | 32 | set(testHistoryModel_SRCS | ||
32 | historymodeltest.cpp | 33 | historymodeltest.cpp | ||
33 | modeltest.cpp | 34 | modeltest.cpp | ||
34 | ../historymodel.cpp | 35 | ../historymodel.cpp | ||
35 | ../historyimageitem.cpp | 36 | ../historyimageitem.cpp | ||
36 | ../historyitem.cpp | 37 | ../historyitem.cpp | ||
37 | ../historystringitem.cpp | 38 | ../historystringitem.cpp | ||
38 | ../historyurlitem.cpp | 39 | ../historyurlitem.cpp | ||
39 | ${libklipper_test_SRCS} | 40 | ${libklipper_test_SRCS} | ||
40 | ) | 41 | ) | ||
41 | add_executable(testHistoryModel ${testHistoryModel_SRCS}) | 42 | add_executable(testHistoryModel ${testHistoryModel_SRCS}) | ||
42 | target_link_libraries(testHistoryModel | 43 | target_link_libraries(testHistoryModel | ||
43 | Qt5::Test | 44 | Qt5::Test | ||
44 | Qt5::Widgets # QAction | 45 | Qt5::Widgets # QAction | ||
45 | KF5::CoreAddons # KUrlMimeData | 46 | KF5::CoreAddons # KUrlMimeData | ||
47 | KF5::I18n | ||||
46 | ) | 48 | ) | ||
47 | add_test(NAME klipper-testHistoryModel COMMAND testHistoryModel) | 49 | add_test(NAME klipper-testHistoryModel COMMAND testHistoryModel) | ||
48 | ecm_mark_as_test(testHistoryModel) | 50 | ecm_mark_as_test(testHistoryModel) |