2012-06-03 11:15:10 +04:00
|
|
|
########################################################
|
|
|
|
# Test ScreenPaintData
|
|
|
|
########################################################
|
|
|
|
set( testScreenPaintData_SRCS test_screen_paint_data.cpp )
|
2014-03-18 14:49:53 +04:00
|
|
|
add_executable(testScreenPaintData ${testScreenPaintData_SRCS})
|
2013-10-02 17:23:56 +04:00
|
|
|
target_link_libraries( testScreenPaintData kwineffects Qt5::Test Qt5::Widgets)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_test(kwin-testScreenPaintData testScreenPaintData)
|
|
|
|
ecm_mark_as_test(testScreenPaintData)
|
2012-06-03 11:15:10 +04:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WindowPaintData
|
|
|
|
########################################################
|
|
|
|
set( testWindowPaintData_SRCS test_window_paint_data.cpp )
|
2014-03-18 14:49:53 +04:00
|
|
|
add_executable(testWindowPaintData ${testWindowPaintData_SRCS})
|
2013-08-20 11:10:18 +04:00
|
|
|
target_link_libraries( testWindowPaintData kwineffects Qt5::Widgets Qt5::Test )
|
2014-03-18 14:49:53 +04:00
|
|
|
add_test(kwin-testWindowPaintData testWindowPaintData)
|
|
|
|
ecm_mark_as_test(testWindowPaintData)
|
2012-11-16 11:23:47 +04:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test VirtualDesktopManager
|
|
|
|
########################################################
|
2014-01-07 16:45:25 +04:00
|
|
|
set( testVirtualDesktops_SRCS
|
|
|
|
test_virtual_desktops.cpp
|
|
|
|
../virtualdesktops.cpp
|
|
|
|
)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_executable(testVirtualDesktops ${testVirtualDesktops_SRCS})
|
2014-01-07 16:45:25 +04:00
|
|
|
|
|
|
|
target_link_libraries( testVirtualDesktops
|
|
|
|
Qt5::Test
|
|
|
|
Qt5::Widgets
|
|
|
|
KF5::I18n
|
|
|
|
KF5::GlobalAccel
|
|
|
|
KF5::ConfigCore
|
|
|
|
KF5::WindowSystem
|
|
|
|
)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_test(kwin-testVirtualDesktops testVirtualDesktops)
|
|
|
|
ecm_mark_as_test(testVirtualDesktops)
|
2013-01-07 11:07:27 +04:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test ClientMachine
|
|
|
|
########################################################
|
|
|
|
set( testClientMachine_SRCS
|
|
|
|
test_client_machine.cpp
|
|
|
|
../client_machine.cpp
|
2013-05-13 11:25:18 +04:00
|
|
|
../utils.cpp
|
|
|
|
../atoms.cpp # needed by utils.cpp
|
|
|
|
../cursor.cpp # needed by utils.cpp
|
2013-01-07 11:07:27 +04:00
|
|
|
)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_executable( testClientMachine ${testClientMachine_SRCS} )
|
2013-01-07 11:07:27 +04:00
|
|
|
|
|
|
|
target_link_libraries( testClientMachine
|
2013-10-02 17:23:56 +04:00
|
|
|
Qt5::Concurrent
|
2013-08-20 11:10:18 +04:00
|
|
|
Qt5::Test
|
|
|
|
Qt5::X11Extras
|
|
|
|
Qt5::Widgets
|
2013-06-27 11:06:16 +04:00
|
|
|
KF5::ConfigCore
|
2013-12-12 00:41:47 +04:00
|
|
|
KF5::WindowSystem
|
2014-02-25 18:48:39 +04:00
|
|
|
XCB::XCB
|
|
|
|
XCB::XFIXES
|
2013-05-13 11:58:04 +04:00
|
|
|
${X11_X11_LIB} # to make jenkins happy
|
2013-05-13 12:19:52 +04:00
|
|
|
${X11_Xcursor_LIB}
|
2013-01-07 11:07:27 +04:00
|
|
|
)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_test(kwin-testClientMachine testClientMachine)
|
|
|
|
ecm_mark_as_test(testClientMachine)
|
2013-01-14 12:20:59 +04:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test XcbWrapper
|
|
|
|
########################################################
|
|
|
|
set( testXcbWrapper_SRCS
|
|
|
|
test_xcb_wrapper.cpp
|
|
|
|
)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_executable( testXcbWrapper ${testXcbWrapper_SRCS} )
|
2013-01-14 12:20:59 +04:00
|
|
|
|
|
|
|
target_link_libraries( testXcbWrapper
|
2013-08-20 11:10:18 +04:00
|
|
|
Qt5::Test
|
|
|
|
Qt5::X11Extras
|
|
|
|
Qt5::Widgets
|
2014-02-25 18:48:39 +04:00
|
|
|
XCB::XCB
|
2013-01-14 12:20:59 +04:00
|
|
|
)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_test(kwin-testXcbWrapper testXcbWrapper)
|
|
|
|
ecm_mark_as_test(testXcbWrapper)
|
2013-01-29 17:03:05 +04:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test XcbWindow
|
|
|
|
########################################################
|
|
|
|
set( testXcbWindow_SRCS
|
|
|
|
test_xcb_window.cpp
|
|
|
|
)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_executable( testXcbWindow ${testXcbWindow_SRCS} )
|
2013-01-29 17:03:05 +04:00
|
|
|
|
|
|
|
target_link_libraries( testXcbWindow
|
2013-08-20 11:10:18 +04:00
|
|
|
Qt5::Test
|
|
|
|
Qt5::X11Extras
|
|
|
|
Qt5::Widgets
|
2014-02-25 18:48:39 +04:00
|
|
|
XCB::XCB
|
2013-01-29 17:03:05 +04:00
|
|
|
)
|
2014-03-18 14:49:53 +04:00
|
|
|
add_test(kwin-testXcbWindow testXcbWindow)
|
|
|
|
ecm_mark_as_test(testXcbWindow)
|