add dbus test to testnetctl

This commit is contained in:
arcan1s
2014-08-17 16:34:51 +04:00
parent d7c8490724
commit 2c2919160b
7 changed files with 75 additions and 14 deletions

View File

@ -19,6 +19,7 @@
#define TESTNETCTL_H
#include <QObject>
#include <QVariant>
class Netctl;
@ -43,10 +44,14 @@ private slots:
void test_restartProfile();
private:
bool helper;
Netctl *createNetctlObj();
NetctlProfile *createNetctlProfileObj();
void createTestProfile();
void removeTestProfile();
QList<QVariant> sendDBusRequest(const QString path,
const QString cmd,
const QList<QVariant> args = QList<QVariant>());
};