From cff380962cd3dc4a856abad14f1186cd15dbf1b5 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Wed, 23 Sep 2020 13:51:22 +0530 Subject: [PATCH] autotests: rename file to reflect that it tests only TextInputV2 now --- src/wayland/autotests/client/CMakeLists.txt | 14 +++++++------- ...{test_text_input.cpp => test_text_input_v2.cpp} | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) rename src/wayland/autotests/client/{test_text_input.cpp => test_text_input_v2.cpp} (99%) 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"