From: Paweł Szewczyk
Date: Mon, 23 Sep 2019 09:14:02 +0000 (+0200)
Subject: [Usb][Non-ACR] Do not check the USBVersion in control transfer test
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a277a95869c25fdabb483cf12bee35f54d9de5b4;p=test%2Ftct%2Fcsharp%2Fapi.git
[Usb][Non-ACR] Do not check the USBVersion in control transfer test
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
---
diff --git a/tct-suite-vs/Tizen.Usb.Tests/testcase/TSUsbControlEndpoint.cs b/tct-suite-vs/Tizen.Usb.Tests/testcase/TSUsbControlEndpoint.cs
index bbe6adbfd..058e01eea 100755
--- a/tct-suite-vs/Tizen.Usb.Tests/testcase/TSUsbControlEndpoint.cs
+++ b/tct-suite-vs/Tizen.Usb.Tests/testcase/TSUsbControlEndpoint.cs
@@ -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");