public void DeviceType_e_Delete() { var u = new IBMWIoTP.DeviceTypeInfoUpdate(); u.description = "test"; var result = client.DeleteDeviceType("CsharpTestType"); }
public void DeviceType_d_Update() { var u = new IBMWIoTP.DeviceTypeInfoUpdate(); u.description = "test"; var result = client.UpdateDeviceType("CsharpTestType", u); StringAssert.AreEqualIgnoringCase(u.description, result["description"]); }
public void Device_b_ListDevices() { var u = new IBMWIoTP.DeviceTypeInfoUpdate(); u.description = "test"; var result = client.ListDevices(deviceType); int length = result["results"].GetType() == typeof(ArrayList) ? result["results"].Count : result["results"].Length; Assert.That(length, Is.Not.EqualTo(0)); }