mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-10 04:15:52 +00:00
add tests to netctl control
(todo: netctl-auto tests)
This commit is contained in:
@ -21,6 +21,9 @@
|
||||
#include <QObject>
|
||||
|
||||
|
||||
class Netctl;
|
||||
class NetctlProfile;
|
||||
|
||||
class TestNetctl : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -28,8 +31,16 @@ class TestNetctl : public QObject
|
||||
private slots:
|
||||
void test_getRecommendedConfiguration();
|
||||
void test_getActiveProfile();
|
||||
void test_getProfileDescription();
|
||||
void test_getProfileStatus();
|
||||
void test_isProfileActive();
|
||||
void test_isProfileEnabled();
|
||||
void test_reenableProfile();
|
||||
void test_restartProfile();
|
||||
|
||||
private:
|
||||
Netctl *createNetctlObj();
|
||||
NetctlProfile *createNetctlProfileObj();
|
||||
void createTestProfile();
|
||||
void removeTestProfile();
|
||||
};
|
||||
|
Reference in New Issue
Block a user