2014-09-17 11:23:06 +00:00
|
|
|
########################################################
|
|
|
|
# Test WaylandConnectionThread
|
|
|
|
########################################################
|
|
|
|
set( testWaylandConnectionThread_SRCS
|
|
|
|
test_wayland_connection_thread.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandConnectionThread ${testWaylandConnectionThread_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandConnectionThread Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client Wayland::Server)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandConnectionThread testWaylandConnectionThread)
|
2014-09-17 11:23:06 +00:00
|
|
|
ecm_mark_as_test(testWaylandConnectionThread)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandRegistry
|
|
|
|
########################################################
|
|
|
|
set( testWaylandRegistry_SRCS
|
|
|
|
test_wayland_registry.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandRegistry ${testWaylandRegistry_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandRegistry Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client Wayland::Server)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandRegistry testWaylandRegistry)
|
2014-09-17 11:23:06 +00:00
|
|
|
ecm_mark_as_test(testWaylandRegistry)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandFullscreenShell
|
|
|
|
########################################################
|
|
|
|
if(Wayland_VERSION VERSION_GREATER "1.4.0")
|
|
|
|
set( testWaylandFullscreenShell_SRCS
|
|
|
|
test_wayland_fullscreen_shell.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandFullscreenShell ${testWaylandFullscreenShell_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandFullscreenShell Qt5::Test KF5::WaylandClient Wayland::Client)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandFullscreenShell testWaylandFullscreenShell)
|
2014-09-17 11:23:06 +00:00
|
|
|
ecm_mark_as_test(testWaylandFullscreenShell)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandOutput
|
|
|
|
########################################################
|
|
|
|
set( testWaylandOutput_SRCS
|
|
|
|
test_wayland_output.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandOutput ${testWaylandOutput_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandOutput Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client Wayland::Server)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandOutput testWaylandOutput)
|
2014-09-17 11:23:06 +00:00
|
|
|
ecm_mark_as_test(testWaylandOutput)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandShell
|
|
|
|
########################################################
|
|
|
|
set( testWaylandShell_SRCS
|
|
|
|
test_wayland_shell.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandShell ${testWaylandShell_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandShell Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client Wayland::Server)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandShell testWaylandShell)
|
2014-09-17 11:23:06 +00:00
|
|
|
ecm_mark_as_test(testWaylandShell)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandSurface
|
|
|
|
########################################################
|
|
|
|
set( testWaylandSurface_SRCS
|
|
|
|
test_wayland_surface.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandSurface ${testWaylandSurface_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandSurface Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client Wayland::Server)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandSurface testWaylandSurface)
|
2014-09-17 11:23:06 +00:00
|
|
|
ecm_mark_as_test(testWaylandSurface)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandSeat
|
|
|
|
########################################################
|
|
|
|
set( testWaylandSeat_SRCS
|
|
|
|
test_wayland_seat.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandSeat ${testWaylandSeat_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandSeat Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client Wayland::Server)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandSeat testWaylandSeat)
|
2014-09-17 11:23:06 +00:00
|
|
|
ecm_mark_as_test(testWaylandSeat)
|
2014-09-22 06:52:05 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test ShmPool
|
|
|
|
########################################################
|
|
|
|
set( testShmPool_SRCS
|
|
|
|
test_shm_pool.cpp
|
|
|
|
)
|
|
|
|
add_executable(testShmPool ${testShmPool_SRCS})
|
|
|
|
target_link_libraries( testShmPool Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testShmPool testShmPool)
|
|
|
|
ecm_mark_as_test(testShmPool)
|
2014-09-22 08:24:21 +00:00
|
|
|
|
2015-11-04 14:38:10 +00:00
|
|
|
########################################################
|
|
|
|
# Test KWin OutputManagement
|
|
|
|
########################################################
|
|
|
|
set( test_wayland_outputmanagement_SRCS
|
|
|
|
test_wayland_outputmanagement.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandOutputManagement ${test_wayland_outputmanagement_SRCS})
|
|
|
|
target_link_libraries( testWaylandOutputManagement Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testWaylandOutputManagement testWaylandOutputManagement)
|
|
|
|
ecm_mark_as_test(testWaylandOutputManagement)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test KWin OutputDevice
|
|
|
|
########################################################
|
|
|
|
set( test_wayland_outputdevice_SRCS
|
|
|
|
test_wayland_outputdevice.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandOutputDevice ${test_wayland_outputdevice_SRCS})
|
|
|
|
target_link_libraries( testWaylandOutputDevice Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testWaylandOutputDevice testWaylandOutputDevice)
|
|
|
|
ecm_mark_as_test(testWaylandOutputDevice)
|
|
|
|
|
2014-09-22 08:24:21 +00:00
|
|
|
########################################################
|
|
|
|
# Test Compositor
|
|
|
|
########################################################
|
|
|
|
set( testCompositor_SRCS
|
|
|
|
test_compositor.cpp
|
|
|
|
)
|
|
|
|
add_executable(testCompositor ${testCompositor_SRCS})
|
|
|
|
target_link_libraries( testCompositor Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testCompositor testCompositor)
|
|
|
|
ecm_mark_as_test(testCompositor)
|
2014-10-14 12:04:35 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test SubCompositor
|
|
|
|
########################################################
|
|
|
|
set( testSubCompositor_SRCS
|
|
|
|
test_wayland_subcompositor.cpp
|
|
|
|
)
|
|
|
|
add_executable(testSubCompositor ${testSubCompositor_SRCS})
|
|
|
|
target_link_libraries( testSubCompositor Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testSubCompositor testSubCompositor)
|
|
|
|
ecm_mark_as_test(testSubCompositor)
|
|
|
|
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test SubSurface
|
|
|
|
########################################################
|
|
|
|
set( testSubSurface_SRCS
|
|
|
|
test_wayland_subsurface.cpp
|
|
|
|
)
|
|
|
|
add_executable(testSubSurface ${testSubSurface_SRCS})
|
|
|
|
target_link_libraries( testSubSurface Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testSubSurface testSubSurface)
|
|
|
|
ecm_mark_as_test(testSubSurface)
|
2014-10-16 11:04:51 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test Region
|
|
|
|
########################################################
|
|
|
|
set( testRegion_SRCS
|
|
|
|
test_wayland_region.cpp
|
|
|
|
)
|
|
|
|
add_executable(testRegion ${testRegion_SRCS})
|
|
|
|
target_link_libraries( testRegion Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testRegion testRegion)
|
|
|
|
ecm_mark_as_test(testRegion)
|
2014-11-04 14:10:22 +00:00
|
|
|
|
2015-08-26 12:42:58 +00:00
|
|
|
########################################################
|
|
|
|
# Test Blur
|
|
|
|
########################################################
|
|
|
|
set( testBlur_SRCS
|
|
|
|
test_wayland_blur.cpp
|
|
|
|
)
|
|
|
|
add_executable(testBlur ${testBlur_SRCS})
|
|
|
|
target_link_libraries( testBlur Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testBlur testBlur)
|
|
|
|
ecm_mark_as_test(testBlur)
|
|
|
|
|
2015-09-02 16:13:25 +00:00
|
|
|
########################################################
|
|
|
|
# Test Contrast
|
|
|
|
########################################################
|
|
|
|
set( testContrast_SRCS
|
|
|
|
test_wayland_contrast.cpp
|
|
|
|
)
|
|
|
|
add_executable(testContrast ${testContrast_SRCS})
|
2015-09-03 16:35:25 +00:00
|
|
|
target_link_libraries( testContrast Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
2015-09-02 16:13:25 +00:00
|
|
|
add_test(kwayland-testContrast testContrast)
|
|
|
|
ecm_mark_as_test(testContrast)
|
|
|
|
|
2015-09-09 11:04:11 +00:00
|
|
|
########################################################
|
|
|
|
# Test Slide
|
|
|
|
########################################################
|
|
|
|
set( testSlide_SRCS
|
|
|
|
test_wayland_slide.cpp
|
|
|
|
)
|
|
|
|
add_executable(testSlide ${testSlide_SRCS})
|
|
|
|
target_link_libraries( testSlide Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testSlide testSlide)
|
|
|
|
ecm_mark_as_test(testSlide)
|
|
|
|
|
2015-10-30 11:26:12 +00:00
|
|
|
########################################################
|
|
|
|
# Test Window Management
|
|
|
|
########################################################
|
|
|
|
set( testWindowmanagement_SRCS
|
|
|
|
test_wayland_windowmanagement.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWindowmanagement ${testWindowmanagement_SRCS})
|
|
|
|
target_link_libraries( testWindowmanagement Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testWindowmanagement testWindowmanagement)
|
|
|
|
ecm_mark_as_test(testWindowmanagement)
|
|
|
|
|
2014-11-04 14:10:22 +00:00
|
|
|
########################################################
|
|
|
|
# Test DataSource
|
|
|
|
########################################################
|
|
|
|
set( testDataSource_SRCS
|
|
|
|
test_datasource.cpp
|
|
|
|
)
|
|
|
|
add_executable(testDataSource ${testDataSource_SRCS})
|
|
|
|
target_link_libraries( testDataSource Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testDataSource testDataSource)
|
|
|
|
ecm_mark_as_test(testDataSource)
|
2014-11-06 09:02:49 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test DataDevice
|
|
|
|
########################################################
|
|
|
|
set( testDataDevice_SRCS
|
|
|
|
test_datadevice.cpp
|
|
|
|
)
|
|
|
|
add_executable(testDataDevice ${testDataDevice_SRCS})
|
|
|
|
target_link_libraries( testDataDevice Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testDataDevice testDataDevice)
|
|
|
|
ecm_mark_as_test(testDataDevice)
|
2015-12-10 10:27:01 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test ServerSideDecoration
|
|
|
|
########################################################
|
|
|
|
set( testServerSideDecoration_SRCS
|
|
|
|
test_server_side_decoration.cpp
|
|
|
|
)
|
|
|
|
add_executable(testServerSideDecoration ${testServerSideDecoration_SRCS})
|
|
|
|
target_link_libraries( testServerSideDecoration Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testServerSideDecoration testServerSideDecoration)
|
|
|
|
ecm_mark_as_test(testServerSideDecoration)
|
2016-03-03 08:47:12 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test Drag'N'Drop
|
|
|
|
########################################################
|
|
|
|
set( testDragAndDrop_SRCS
|
|
|
|
test_drag_drop.cpp
|
|
|
|
)
|
|
|
|
add_executable(testDragAndDrop ${testDragAndDrop_SRCS})
|
|
|
|
target_link_libraries( testDragAndDrop Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testDragAndDrop testDragAndDrop)
|
|
|
|
ecm_mark_as_test(testDragAndDrop)
|
2016-03-09 15:17:01 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test PlasmaShell
|
|
|
|
########################################################
|
|
|
|
set( testPlasmaShell_SRCS
|
|
|
|
test_plasmashell.cpp
|
|
|
|
)
|
|
|
|
add_executable(testPlasmaShell ${testPlasmaShell_SRCS})
|
|
|
|
target_link_libraries( testPlasmaShell Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer Wayland::Client)
|
|
|
|
add_test(kwayland-testPlasmaShell testPlasmaShell)
|
|
|
|
ecm_mark_as_test(testPlasmaShell)
|
2016-04-12 09:39:35 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test Idle
|
|
|
|
########################################################
|
|
|
|
set( testIdle_SRCS
|
|
|
|
test_idle.cpp
|
|
|
|
)
|
|
|
|
add_executable(testIdle ${testIdle_SRCS})
|
|
|
|
target_link_libraries( testIdle Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testIdle testIdle)
|
|
|
|
ecm_mark_as_test(testIdle)
|
2016-04-13 07:58:09 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test Shadow
|
|
|
|
########################################################
|
|
|
|
set( testShadow_SRCS
|
|
|
|
test_shadow.cpp
|
|
|
|
)
|
|
|
|
add_executable(testShadow ${testShadow_SRCS})
|
|
|
|
target_link_libraries( testShadow Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testShadow testShadow)
|
|
|
|
ecm_mark_as_test(testShadow)
|
2016-04-13 10:08:15 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test FakeInput
|
|
|
|
########################################################
|
|
|
|
set( testFakeInput_SRCS
|
|
|
|
test_fake_input.cpp
|
|
|
|
)
|
|
|
|
add_executable(testFakeInput ${testFakeInput_SRCS})
|
|
|
|
target_link_libraries( testFakeInput Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testFakeInput testFakeInput)
|
|
|
|
ecm_mark_as_test(testFakeInput)
|
2016-04-14 15:22:13 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test PlasmaWindowModel
|
|
|
|
########################################################
|
|
|
|
set( testPlasmaWindowModel_SRCS
|
|
|
|
test_plasma_window_model.cpp
|
|
|
|
)
|
|
|
|
add_executable(testPlasmaWindowModel ${testPlasmaWindowModel_SRCS})
|
|
|
|
target_link_libraries( testPlasmaWindowModel Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testPlasmaWindowModel testPlasmaWindowModel)
|
|
|
|
ecm_mark_as_test(testPlasmaWindowModel)
|
2016-05-02 12:28:26 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test TextInput
|
|
|
|
########################################################
|
|
|
|
set( testTextInput_SRCS
|
|
|
|
test_text_input.cpp
|
|
|
|
)
|
|
|
|
add_executable(testTextInput ${testTextInput_SRCS})
|
|
|
|
target_link_libraries( testTextInput Qt5::Test Qt5::Gui KF5::WaylandClient KF5::WaylandServer)
|
|
|
|
add_test(kwayland-testTextInput testTextInput)
|
|
|
|
ecm_mark_as_test(testTextInput)
|