added test skeleton for plugins

pull/135/head
Simon Stürz 2015-02-12 13:58:35 +01:00 committed by Michael Zanetti
parent 88a8e9dff6
commit 475cadb03b
3 changed files with 48 additions and 1 deletions

View File

@ -1,2 +1,2 @@
TEMPLATE=subdirs
SUBDIRS=versioning devices jsonrpc events states actions rules
SUBDIRS=versioning devices jsonrpc events states actions rules plugins

View File

@ -0,0 +1,6 @@
TARGET = testactions
include(../../../guh.pri)
include(../autotests.pri)
SOURCES += testplugins.cpp

View File

@ -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)