[Usb][Non-ACR] Do not check the USBVersion in control transfer test 95/214495/1
authorPaweł Szewczyk <p.szewczyk@samsung.com>
Mon, 23 Sep 2019 09:14:02 +0000 (11:14 +0200)
committerPaweł Szewczyk <p.szewczyk@samsung.com>
Mon, 23 Sep 2019 09:14:02 +0000 (11:14 +0200)
The version check is non-trivial, so we remove it from control
transfer test. Let's test only those parameters we know for sure.

Change-Id: I29d8efbcd0eea4a28b0116ea94470ee698326c4b
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
tct-suite-vs/Tizen.Usb.Tests/testcase/TSUsbControlEndpoint.cs

index bbe6adbfdb86d5e0fc63c276d6a1a524ad8a7dc5..058e01eeaf2b4d56570372734ed80c44082498b6 100755 (executable)
@@ -111,7 +111,6 @@ namespace Tizen.System.Usb.Tests
 
                     DeviceInfoData info = testUsbDeviceData.Value.DeviceInformation;
                     Assert.AreEqual(receivedBytes, size, "Invalid size of returned descriptor");
-                    Assert.AreEqual(desc.bcdUSB, info.UsbVersion, "USB Version mismatch");
                     Assert.AreEqual(desc.bDeviceClass, info.Class, "Device class mismatch");
                     Assert.AreEqual(desc.bDeviceSubClass, info.Subclass, "Device Subclass mismatch");
                     Assert.AreEqual(desc.bDeviceProtocol, info.Protocol, "Device Protocol mismatch");