[Connection][Non-ACR][Do not compare MaxSpeed of WiFiProfile to that of WiFiNetwork] 80/200280/1
authorCheoleun Moon <chleun.moon@samsung.com>
Thu, 21 Feb 2019 05:39:03 +0000 (14:39 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Thu, 21 Feb 2019 05:42:01 +0000 (14:42 +0900)
Platform do not ensure that MaxSpeed of WiFiProfile and MaxSpeed of WiFiNetwork are same value because it is a value that changes in real time

Change-Id: Ic15222612e22adef54064a2d5e9bf0120e81a7ff
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
tct-suite-vs/Tizen.Connection.Tests/testcase/TSWiFiProfile.cs

index bbdf6352491a2af431ef227f5e44a605ae509b03..8b5ecde4d8733dd37c74c4a5b3249df527d6869b 100755 (executable)
@@ -286,19 +286,12 @@ namespace Tizen.Network.Connection.Tests
                 /*
                  * PRECONDITION
                  * Activate WiFi then get WiFi connected
-                 * Create a WiFiNetwork object
-                 * Create a WiFiProfile object
                  */
                 await setUp();
 
-                /*
-                 * TEST CODE
-                 * Compare MaxSpeed property between two object WiFiNetwork and WiFiProfile
-                 */
                 int _maxSpeed = _wiFiProfile.MaxSpeed;
                 Log.Info(Globals.LogTag, "_wiFiProfile.MaxSpeed: " + _maxSpeed);
-                Log.Info(Globals.LogTag, "_wiFiNetwork.MaxSpeed: " + _wiFiNetwork.MaxSpeed);
-                Assert.AreEqual(_maxSpeed, _wiFiNetwork.MaxSpeed, "MaxSpeed doesn't get successful");
+                Assert.Greater(_maxSpeed, 0, "MaxSpeed doesn't get successful");
             }
             catch (NotSupportedException)
             {