Changeset View
Changeset View
Standalone View
Standalone View
autotests/tabbox/CMakeLists.txt
Show All 23 Lines | 19 | target_link_libraries( testTabBoxClientModel | |||
---|---|---|---|---|---|
24 | Qt5::Test | 24 | Qt5::Test | ||
25 | Qt5::X11Extras | 25 | Qt5::X11Extras | ||
26 | KF5::ConfigCore | 26 | KF5::ConfigCore | ||
27 | KF5::I18n | 27 | KF5::I18n | ||
28 | KF5::Package | 28 | KF5::Package | ||
29 | KF5::WindowSystem | 29 | KF5::WindowSystem | ||
30 | XCB::XCB | 30 | XCB::XCB | ||
31 | ) | 31 | ) | ||
32 | add_test(kwin-testTabBoxClientModel testTabBoxClientModel) | 32 | add_test(NAME kwin-testTabBoxClientModel COMMAND testTabBoxClientModel) | ||
33 | ecm_mark_as_test(testTabBoxClientModel) | 33 | ecm_mark_as_test(testTabBoxClientModel) | ||
34 | 34 | | |||
35 | ######################################################## | 35 | ######################################################## | ||
36 | # Test TabBox::TabBoxHandler | 36 | # Test TabBox::TabBoxHandler | ||
37 | ######################################################## | 37 | ######################################################## | ||
38 | set( testTabBoxHandler_SRCS | 38 | set( testTabBoxHandler_SRCS | ||
39 | ../../tabbox/clientmodel.cpp | 39 | ../../tabbox/clientmodel.cpp | ||
40 | ../../tabbox/desktopmodel.cpp | 40 | ../../tabbox/desktopmodel.cpp | ||
Show All 15 Lines | 51 | target_link_libraries( testTabBoxHandler | |||
56 | Qt5::Test | 56 | Qt5::Test | ||
57 | Qt5::X11Extras | 57 | Qt5::X11Extras | ||
58 | KF5::ConfigCore | 58 | KF5::ConfigCore | ||
59 | KF5::I18n | 59 | KF5::I18n | ||
60 | KF5::Package | 60 | KF5::Package | ||
61 | KF5::WindowSystem | 61 | KF5::WindowSystem | ||
62 | XCB::XCB | 62 | XCB::XCB | ||
63 | ) | 63 | ) | ||
64 | add_test(kwin-testTabBoxHandler testTabBoxHandler) | 64 | add_test(NAME kwin-testTabBoxHandler COMMAND testTabBoxHandler) | ||
65 | ecm_mark_as_test(testTabBoxHandler) | 65 | ecm_mark_as_test(testTabBoxHandler) | ||
66 | 66 | | |||
67 | ######################################################## | 67 | ######################################################## | ||
68 | # Test TabBox::TabBoxConfig | 68 | # Test TabBox::TabBoxConfig | ||
69 | ######################################################## | 69 | ######################################################## | ||
70 | set( testTabBoxConfig_SRCS | 70 | set( testTabBoxConfig_SRCS | ||
71 | ../../tabbox/tabboxconfig.cpp | 71 | ../../tabbox/tabboxconfig.cpp | ||
72 | ../../tabbox/tabbox_logging.cpp | 72 | ../../tabbox/tabbox_logging.cpp | ||
73 | test_tabbox_config.cpp | 73 | test_tabbox_config.cpp | ||
74 | ) | 74 | ) | ||
75 | 75 | | |||
76 | add_executable( testTabBoxConfig ${testTabBoxConfig_SRCS} ) | 76 | add_executable( testTabBoxConfig ${testTabBoxConfig_SRCS} ) | ||
77 | target_link_libraries( testTabBoxConfig Qt5::Core Qt5::Test ) | 77 | target_link_libraries( testTabBoxConfig Qt5::Core Qt5::Test ) | ||
78 | add_test(kwin-testTabBoxConfig testTabBoxConfig) | 78 | add_test(NAME kwin-testTabBoxConfig COMMAND testTabBoxConfig) | ||
79 | ecm_mark_as_test(testTabBoxConfig) | 79 | ecm_mark_as_test(testTabBoxConfig) | ||
80 | 80 | | |||
81 | 81 | | |||
82 | ######################################################## | 82 | ######################################################## | ||
83 | # Test TabBox::DesktopChainManager | 83 | # Test TabBox::DesktopChainManager | ||
84 | ######################################################## | 84 | ######################################################## | ||
85 | set( testDesktopChain_SRCS | 85 | set( testDesktopChain_SRCS | ||
86 | ../../tabbox/desktopchain.cpp | 86 | ../../tabbox/desktopchain.cpp | ||
87 | ../../tabbox/tabbox_logging.cpp | 87 | ../../tabbox/tabbox_logging.cpp | ||
88 | test_desktopchain.cpp | 88 | test_desktopchain.cpp | ||
89 | ) | 89 | ) | ||
90 | 90 | | |||
91 | add_executable( testDesktopChain ${testDesktopChain_SRCS} ) | 91 | add_executable( testDesktopChain ${testDesktopChain_SRCS} ) | ||
92 | target_link_libraries( testDesktopChain Qt5::Core Qt5::Test ) | 92 | target_link_libraries( testDesktopChain Qt5::Core Qt5::Test ) | ||
93 | add_test(kwin-testDesktopChain testDesktopChain) | 93 | add_test(NAME kwin-testDesktopChain COMMAND testDesktopChain) | ||
94 | ecm_mark_as_test(testDesktopChain) | 94 | ecm_mark_as_test(testDesktopChain) |