chore: remove unused old test mocks
This commit is contained in:
@ -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()
|
||||
{
|
||||
}
|
||||
};
|
||||
@ -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
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user