do not block gui for dbus requests

This commit is contained in:
arcan1s
2014-08-15 20:38:33 +04:00
parent 82c3690dcb
commit abbc5641cd
6 changed files with 152 additions and 3 deletions

34
sources/test/testnetctl.h Normal file
View File

@ -0,0 +1,34 @@
/***************************************************************************
* This file is part of netctl-gui *
* *
* netctl-gui 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, either version 3 of the *
* License, or (at your option) any later version. *
* *
* netctl-gui 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 netctl-gui. If not, see http://www.gnu.org/licenses/ *
***************************************************************************/
#ifndef TESTNETCTL_H
#define TESTNETCTL_H
#include <QObject>
class TestNetctl : public QObject
{
Q_OBJECT
private slots:
void test_getRecommendedConfiguration();
void test_getActiveProfile();
};
#endif /* TESTNETCTL_H */