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-07-23 09:00:42 +00:00
|
|
|
#kde4_add_unit_test( testUpdateKWin49 TESTNAME kwin-TestUpdateKWin49 ${testUpdateKWin49_SRCS} )
|
2012-05-18 12:03:55 +00:00
|
|
|
|
2013-07-23 09:00:42 +00:00
|
|
|
#target_link_libraries( testUpdateKWin49 ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY} )
|
2012-06-03 07:15:10 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test ScreenPaintData
|
|
|
|
########################################################
|
|
|
|
set( testScreenPaintData_SRCS test_screen_paint_data.cpp )
|
2012-11-16 13:37:01 +00:00
|
|
|
kde4_add_unit_test( testScreenPaintData TESTNAME kwin-TestScreenPaintData ${testScreenPaintData_SRCS} )
|
2012-06-03 07:15:10 +00:00
|
|
|
|
2013-08-20 07:10:18 +00:00
|
|
|
target_link_libraries( testScreenPaintData kwineffects Qt5::Test )
|
2012-06-03 07:15:10 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WindowPaintData
|
|
|
|
########################################################
|
|
|
|
set( testWindowPaintData_SRCS test_window_paint_data.cpp )
|
2012-11-16 13:37:01 +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
|
|
|
|
########################################################
|
|
|
|
set( testVirtualDesktops_SRCS
|
|
|
|
test_virtual_desktops.cpp
|
|
|
|
../virtualdesktops.cpp
|
|
|
|
)
|
|
|
|
kde4_add_unit_test( testVirtualDesktops TESTNAME kwin-TestVirtualDesktops ${testVirtualDesktops_SRCS} )
|
|
|
|
|
|
|
|
target_link_libraries( testVirtualDesktops
|
2013-08-20 07:10:18 +00:00
|
|
|
Qt5::Test
|
|
|
|
Qt5::Widgets
|
2013-07-23 09:50:15 +00:00
|
|
|
KF5::KI18n
|
|
|
|
KF5::XmlGui
|
2013-08-20 06:47:47 +00:00
|
|
|
KF5::KWindowSystem
|
2012-11-16 07:23:47 +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
|
|
|
)
|
|
|
|
kde4_add_unit_test( testClientMachine TESTNAME kwin-TestClientMachine ${testClientMachine_SRCS} )
|
|
|
|
|
|
|
|
target_link_libraries( testClientMachine
|
2013-08-20 07:10:18 +00:00
|
|
|
Qt5::Test
|
|
|
|
Qt5::X11Extras
|
|
|
|
Qt5::Widgets
|
2013-07-31 12:26:45 +00:00
|
|
|
${KDE4Support_LIBRARIES} # kdebug
|
2013-07-23 10:02:44 +00:00
|
|
|
KF5::KWindowSystem
|
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
|
|
|
)
|