2012-05-18 12:03:55 +00:00
|
|
|
set( testUpdateKWin49_SRCS test_update_kwin_49.cpp ../data/update_kwin_49.cpp ../tabbox/tabboxconfig.cpp )
|
2012-11-16 13:37:01 +00:00
|
|
|
kde4_add_unit_test( testUpdateKWin49 TESTNAME kwin-TestUpdateKWin49 ${testUpdateKWin49_SRCS} )
|
2012-05-18 12:03:55 +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
|
|
|
|
2012-07-20 00:01:00 +00:00
|
|
|
target_link_libraries( testScreenPaintData kwineffects ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
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
|
|
|
|
2012-07-20 00:01:00 +00:00
|
|
|
target_link_libraries( testWindowPaintData kwineffects ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
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
|
|
|
|
${KDE4_KDEUI_LIBS}
|
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTTEST_LIBRARY}
|
|
|
|
)
|
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
|
|
|
|
${QT_QTTEST_LIBRARY}
|
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${KDE4_KDEUI_LIBS}
|
|
|
|
${XCB_XCB_LIBRARIES}
|
2013-05-19 07:32:27 +00:00
|
|
|
${XCB_XFIXES_LIBRARIES}
|
2013-01-07 07:07:27 +00:00
|
|
|
${X11_XCB_LIBRARIES}
|
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
|
|
|
|
${QT_QTTEST_LIBRARY}
|
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
${XCB_XCB_LIBRARIES}
|
|
|
|
${X11_XCB_LIBRARIES}
|
|
|
|
)
|
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
|
|
|
|
${QT_QTTEST_LIBRARY}
|
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
${XCB_XCB_LIBRARIES}
|
|
|
|
${X11_XCB_LIBRARIES}
|
|
|
|
)
|