chore: remove unused old test mocks

This commit is contained in:
sithlord48
2025-04-19 19:24:00 -04:00
committed by Nick Bolton
parent 17c7b0f8bf
commit f5f3bc0475
2 changed files with 0 additions and 49 deletions

View File

@ -1,23 +0,0 @@
/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2013 - 2016 Symless Ltd.
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
*/
#pragma once
#define TEST_ENV
#include "server/Server.h"
#include <gmock/gmock.h>
class IEventQueue;
class MockServer : public Server
{
public:
MockServer() : Server()
{
}
};

View File

@ -1,26 +0,0 @@
/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2024 Symless Ltd.
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
*/
#pragma once
#include <QApplication>
static int argc = 0; // NOLINT NOSONAR
static char **argv = nullptr; // NOLINT NOSONAR
/**
* Prefer using `TestQtCoreApp` instead.
*/
class TestQtFullApp : public QApplication
{
public:
explicit TestQtFullApp() : QApplication(argc, argv)
{
#if defined(Q_OS_WIN)
#error "this object causes windows ci to freeze"
#endif
}
};