2014-08-26 14:07:39 +00:00
|
|
|
########################################################
|
|
|
|
# Test WaylandServerDisplay
|
|
|
|
########################################################
|
|
|
|
set( testWaylandServerDisplay_SRCS
|
|
|
|
test_display.cpp
|
2014-08-28 12:22:53 +00:00
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/buffer_interface.cpp
|
2014-08-28 07:52:35 +00:00
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/compositor_interface.cpp
|
2014-08-26 14:07:39 +00:00
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/display.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/output_interface.cpp
|
2014-09-02 07:34:31 +00:00
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/seat_interface.cpp
|
2014-08-29 09:42:57 +00:00
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/shell_interface.cpp
|
2014-08-28 07:52:35 +00:00
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/surface_interface.cpp
|
2014-08-26 14:07:39 +00:00
|
|
|
)
|
|
|
|
add_executable(testWaylandServerDisplay ${testWaylandServerDisplay_SRCS})
|
2014-08-28 07:52:35 +00:00
|
|
|
target_link_libraries( testWaylandServerDisplay Qt5::Test Qt5::Gui Wayland::Server)
|
2014-08-26 14:07:39 +00:00
|
|
|
add_test(kwin-testWaylandServerDisplay testWaylandServerDisplay)
|
|
|
|
ecm_mark_as_test(testWaylandServerDisplay)
|
2014-09-02 07:34:31 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandServerSeat
|
|
|
|
########################################################
|
|
|
|
set( testWaylandServerSeat_SRCS
|
|
|
|
test_seat.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/buffer_interface.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/compositor_interface.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/display.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/output_interface.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/seat_interface.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/shell_interface.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/wayland_server/surface_interface.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandServerSeat ${testWaylandServerSeat_SRCS})
|
|
|
|
target_link_libraries( testWaylandServerSeat Qt5::Test Qt5::Gui Wayland::Server)
|
|
|
|
add_test(kwin-testWaylandServerSeat testWaylandServerSeat)
|
|
|
|
ecm_mark_as_test(testWaylandServerSeat)
|