end work on tests

This commit is contained in:
arcan1s
2014-08-17 18:26:04 +04:00
parent dd05782f80
commit 56f4a75b25
7 changed files with 92 additions and 3 deletions

View File

@ -19,6 +19,7 @@
#define TESTNETCTLPROFILE_H
#include <QObject>
#include <QVariant>
class NetctlProfile;
@ -40,9 +41,13 @@ private slots:
void test_removeProfile();
private:
bool helper;
NetctlProfile *createNetctlProfileObj();
bool createTestProfile();
bool removeTestProfile();
QList<QVariant> sendDBusRequest(const QString path,
const QString cmd,
const QList<QVariant> args = QList<QVariant>());
};