2012-05-18 12:03:55 +00:00
|
|
|
set( testUpdateKWin49_SRCS test_update_kwin_49.cpp ../data/update_kwin_49.cpp ../tabbox/tabboxconfig.cpp )
|
2013-11-15 08:07:42 +00:00
|
|
|
#kde4_add_unit_test( testUpdateKWin49 TESTNAME kwin-TestUpdateKWin49 ${testUpdateKWin49_SRCS} )
|
2012-05-18 12:03:55 +00:00
|
|
|
|
2013-11-15 12:37:47 +00:00
|
|
|
#target_link_libraries( testUpdateKWin49 Qt5::Test )
|
2012-06-03 07:15:10 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test ScreenPaintData
|
|
|
|
########################################################
|
|
|
|
set( testScreenPaintData_SRCS test_screen_paint_data.cpp )
|
2013-11-15 08:07:42 +00:00
|
|
|
kde4_add_unit_test( testScreenPaintData TESTNAME kwin-TestScreenPaintData ${testScreenPaintData_SRCS} )
|
2012-06-03 07:15:10 +00:00
|
|
|
|
2013-10-02 13:23:56 +00:00
|
|
|
target_link_libraries( testScreenPaintData kwineffects Qt5::Test Qt5::Widgets)
|
2012-06-03 07:15:10 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WindowPaintData
|
|
|
|
########################################################
|
|
|
|
set( testWindowPaintData_SRCS test_window_paint_data.cpp )
|
2013-11-15 08:07:42 +00:00
|
|
|
kde4_add_unit_test( testWindowPaintData TESTNAME kwin-TestWindowPaintData ${testWindowPaintData_SRCS} )
|
2012-06-03 07:15:10 +00:00
|
|
|
|
2013-08-20 07:10:18 +00:00
|
|
|
target_link_libraries( testWindowPaintData kwineffects Qt5::Widgets Qt5::Test )
|
2012-11-16 07:23:47 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test VirtualDesktopManager
|
|
|
|
########################################################
|
2013-12-10 07:40:20 +00:00
|
|
|
# set( testVirtualDesktops_SRCS
|
|
|
|
# test_virtual_desktops.cpp
|
|
|
|
# ../virtualdesktops.cpp
|
|
|
|
# )
|
|
|
|
# kde4_add_unit_test( testVirtualDesktops TESTNAME kwin-TestVirtualDesktops ${testVirtualDesktops_SRCS} )
|
|
|
|
#
|
|
|
|
# target_link_libraries( testVirtualDesktops
|
|
|
|
# Qt5::Test
|
|
|
|
# Qt5::Widgets
|
2013-12-11 20:41:47 +00:00
|
|
|
# KF5::I18n
|
2013-12-10 07:40:20 +00:00
|
|
|
# KF5::GlobalAccel
|
2013-12-11 20:41:47 +00:00
|
|
|
# KF5::ConfigCore
|
|
|
|
# KF5::WindowSystem
|
2013-12-10 07:40:20 +00:00
|
|
|
# )
|
2013-01-07 07:07:27 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test ClientMachine
|
|
|
|
########################################################
|
|
|
|
set( testClientMachine_SRCS
|
|
|
|
test_client_machine.cpp
|
|
|
|
../client_machine.cpp
|
2013-05-13 07:25:18 +00:00
|
|
|
../utils.cpp
|
|
|
|
../atoms.cpp # needed by utils.cpp
|
|
|
|
../cursor.cpp # needed by utils.cpp
|
2013-01-07 07:07:27 +00:00
|
|
|
)
|
2013-11-15 08:07:42 +00:00
|
|
|
kde4_add_unit_test( testClientMachine TESTNAME kwin-TestClientMachine ${testClientMachine_SRCS} )
|
2013-01-07 07:07:27 +00:00
|
|
|
|
|
|
|
target_link_libraries( testClientMachine
|
2013-10-02 13:23:56 +00:00
|
|
|
Qt5::Concurrent
|
2013-08-20 07:10:18 +00:00
|
|
|
Qt5::Test
|
|
|
|
Qt5::X11Extras
|
|
|
|
Qt5::Widgets
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::WindowSystem
|
2013-09-04 07:36:20 +00:00
|
|
|
${XCB_XCB_LIBRARY}
|
|
|
|
${XCB_XFIXES_LIBRARY}
|
2013-05-13 07:58:04 +00:00
|
|
|
${X11_X11_LIB} # to make jenkins happy
|
2013-05-13 08:19:52 +00:00
|
|
|
${X11_Xcursor_LIB}
|
2013-01-07 07:07:27 +00:00
|
|
|
)
|
2013-01-14 08:20:59 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test XcbWrapper
|
|
|
|
########################################################
|
|
|
|
set( testXcbWrapper_SRCS
|
|
|
|
test_xcb_wrapper.cpp
|
|
|
|
)
|
|
|
|
kde4_add_unit_test( testXcbWrapper TESTNAME kwin-TestXcbWrapper ${testXcbWrapper_SRCS} )
|
|
|
|
|
|
|
|
target_link_libraries( testXcbWrapper
|
2013-08-20 07:10:18 +00:00
|
|
|
Qt5::Test
|
|
|
|
Qt5::X11Extras
|
|
|
|
Qt5::Widgets
|
2013-09-04 07:36:20 +00:00
|
|
|
${XCB_XCB_LIBRARY}
|
2013-01-14 08:20:59 +00:00
|
|
|
)
|
2013-01-29 13:03:05 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test XcbWindow
|
|
|
|
########################################################
|
|
|
|
set( testXcbWindow_SRCS
|
|
|
|
test_xcb_window.cpp
|
|
|
|
)
|
|
|
|
kde4_add_unit_test( testXcbWindow TESTNAME kwin-TestXcbWindow ${testXcbWindow_SRCS} )
|
|
|
|
|
|
|
|
target_link_libraries( testXcbWindow
|
2013-08-20 07:10:18 +00:00
|
|
|
Qt5::Test
|
|
|
|
Qt5::X11Extras
|
|
|
|
Qt5::Widgets
|
2013-09-04 07:36:20 +00:00
|
|
|
${XCB_XCB_LIBRARY}
|
2013-01-29 13:03:05 +00:00
|
|
|
)
|