mirror of https://github.com/nymea/nymea.git
added test skeleton for plugins
parent
88a8e9dff6
commit
475cadb03b
|
|
@ -1,2 +1,2 @@
|
|||
TEMPLATE=subdirs
|
||||
SUBDIRS=versioning devices jsonrpc events states actions rules
|
||||
SUBDIRS=versioning devices jsonrpc events states actions rules plugins
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
TARGET = testactions
|
||||
|
||||
include(../../../guh.pri)
|
||||
include(../autotests.pri)
|
||||
|
||||
SOURCES += testplugins.cpp
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
/****************************************************************************
|
||||
* *
|
||||
* This file is part of guh. *
|
||||
* *
|
||||
* Guh is free software: you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation, version 2 of the License. *
|
||||
* *
|
||||
* Guh is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with guh. If not, see <http://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "guhtestbase.h"
|
||||
#include "guhcore.h"
|
||||
#include "devicemanager.h"
|
||||
#include "mocktcpserver.h"
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
#include <QCoreApplication>
|
||||
#include <QTcpSocket>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkRequest>
|
||||
#include <QNetworkReply>
|
||||
#include <QCoreApplication>
|
||||
|
||||
class TestPlugins: public GuhTestBase
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
|
||||
};
|
||||
|
||||
#include "testplugins.moc"
|
||||
QTEST_MAIN(TestPlugins)
|
||||
Loading…
Reference in New Issue