add states call
This commit is contained in:
parent
ae507acc70
commit
ec2abdcd98
@ -39,11 +39,20 @@ class TestStates: public GuhTestBase
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
void getStateTypes();
|
||||
|
||||
void getStateValue_data();
|
||||
void getStateValue();
|
||||
|
||||
};
|
||||
|
||||
void TestStates::getStateTypes()
|
||||
{
|
||||
QVariantMap params;
|
||||
params.insert("deviceId", m_mockDeviceId);
|
||||
QVariant response = injectAndWait("Devices.GetStateValues", params);
|
||||
verifyDeviceError(response);
|
||||
}
|
||||
|
||||
void TestStates::getStateValue_data()
|
||||
{
|
||||
QList<Device*> devices = GuhCore::instance()->findConfiguredDevices(mockDeviceClassId);
|
||||
|
||||
Reference in New Issue
Block a user