diff --git a/src/lib/deskflow/App.h b/src/lib/deskflow/App.h index 70b00d55d..9c8c2b095 100644 --- a/src/lib/deskflow/App.h +++ b/src/lib/deskflow/App.h @@ -55,7 +55,6 @@ public: virtual void loadConfig() = 0; virtual bool loadConfig(const std::string &pathname) = 0; virtual const char *daemonInfo() const = 0; - virtual std::string configSection() const = 0; void setByeFunc(void (*bye)(int)) override { diff --git a/src/lib/deskflow/ClientApp.h b/src/lib/deskflow/ClientApp.h index c9dafbc9a..31bfe4872 100644 --- a/src/lib/deskflow/ClientApp.h +++ b/src/lib/deskflow/ClientApp.h @@ -48,15 +48,6 @@ public: int mainLoop() override; void startNode() override; - // - // App overrides - // - - std::string configSection() const override - { - return "client"; - } - // // Regular functions // diff --git a/src/lib/deskflow/ServerApp.h b/src/lib/deskflow/ServerApp.h index 6978c4007..0503c94d0 100644 --- a/src/lib/deskflow/ServerApp.h +++ b/src/lib/deskflow/ServerApp.h @@ -66,15 +66,6 @@ public: int start() override; void startNode() override; - // - // App overrides - // - - std::string configSection() const override - { - return "server"; - } - // // Regular functions // diff --git a/src/unittests/deskflow/CMakeLists.txt b/src/unittests/deskflow/CMakeLists.txt index 5a778ea98..3da0200e2 100644 --- a/src/unittests/deskflow/CMakeLists.txt +++ b/src/unittests/deskflow/CMakeLists.txt @@ -56,14 +56,6 @@ create_test( if(UNIX AND NOT APPLE) #this test does not work properly on windows / mac os - create_test( - NAME ServerAppTests - DEPENDS app - LIBS arch base - SOURCE ServerAppTests.cpp - WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/src/lib/deskflow" - ) - create_test( NAME X11LayoutParserTests DEPENDS app diff --git a/src/unittests/deskflow/ServerAppTests.cpp b/src/unittests/deskflow/ServerAppTests.cpp deleted file mode 100644 index e7f5b9cf4..000000000 --- a/src/unittests/deskflow/ServerAppTests.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Deskflow -- mouse and keyboard sharing utility - * SPDX-FileCopyrightText: (C) 2025 Chris Rizzitello - * SPDX-FileCopyrightText: (C) 2014 - 2016 Symless Ltd. - * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception - */ - -#include "ServerAppTests.h" - -#include "deskflow/ServerApp.h" - -void ServerAppTests::section() -{ - ServerApp app(nullptr); - QCOMPARE(app.configSection(), "server"); -} - -QTEST_MAIN(ServerAppTests)