diff --git a/src/wayland/autotests/client/CMakeLists.txt b/src/wayland/autotests/client/CMakeLists.txt index 22ec8398b6..d1b25b5165 100644 --- a/src/wayland/autotests/client/CMakeLists.txt +++ b/src/wayland/autotests/client/CMakeLists.txt @@ -259,15 +259,15 @@ if (HAVE_LINUX_INPUT_H) endif() ######################################################## -# Test TextInput +# Test TextInputV2 ######################################################## -set( testTextInput_SRCS - test_text_input.cpp +set( testTextInputV2_SRCS + test_text_input_v2.cpp ) -add_executable(testTextInput ${testTextInput_SRCS}) -target_link_libraries( testTextInput Qt5::Test Qt5::Gui KF5::WaylandClient Plasma::KWaylandServer) -add_test(NAME kwayland-testTextInput COMMAND testTextInput) -ecm_mark_as_test(testTextInput) +add_executable(testTextInputV2 ${testTextInputV2_SRCS}) +target_link_libraries( testTextInputV2 Qt5::Test Qt5::Gui KF5::WaylandClient Plasma::KWaylandServer) +add_test(NAME kwayland-testTextInputV2 COMMAND testTextInputV2) +ecm_mark_as_test(testTextInputV2) ######################################################## # Test Error diff --git a/src/wayland/autotests/client/test_text_input.cpp b/src/wayland/autotests/client/test_text_input_v2.cpp similarity index 99% rename from src/wayland/autotests/client/test_text_input.cpp rename to src/wayland/autotests/client/test_text_input_v2.cpp index 8dbae66791..3e18102bcf 100644 --- a/src/wayland/autotests/client/test_text_input.cpp +++ b/src/wayland/autotests/client/test_text_input_v2.cpp @@ -752,4 +752,4 @@ void TextInputTest::testCommit() } QTEST_GUILESS_MAIN(TextInputTest) -#include "test_text_input.moc" +#include "test_text_input_v2.moc"