From: Cheoleun Moon Date: Thu, 21 Feb 2019 05:39:03 +0000 (+0900) Subject: [Connection][Non-ACR][Do not compare MaxSpeed of WiFiProfile to that of WiFiNetwork] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e412955e16bfdac0d4205bacc09afc23f313e069;p=test%2Ftct%2Fcsharp%2Fapi.git [Connection][Non-ACR][Do not compare MaxSpeed of WiFiProfile to that of WiFiNetwork] 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 --- diff --git a/tct-suite-vs/Tizen.Connection.Tests/testcase/TSWiFiProfile.cs b/tct-suite-vs/Tizen.Connection.Tests/testcase/TSWiFiProfile.cs index bbdf63524..8b5ecde4d 100755 --- a/tct-suite-vs/Tizen.Connection.Tests/testcase/TSWiFiProfile.cs +++ b/tct-suite-vs/Tizen.Connection.Tests/testcase/TSWiFiProfile.cs @@ -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) {