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

@ -59,6 +59,11 @@ void TestWpaSup::initTestCase()
qDebug() << "TODO: unfortunately, some functions which is required to work";
qDebug() << "with the working profile isn't tested here (including netctl-auto)";
QWARN("Some functions requires root privileges");
if (sendDBusRequest(QString("/ctrl"), QString("Active")).isEmpty()) {
helper = false;
QWARN("Helper isn't active. DBus tests will be ignored");
} else
helper = true;
}