[Connection][WiFi][Non-ACR][Do not setup if wifi is not supported] 87/281787/1
authorcheoleun moon <chleun.moon@samsung.com>
Thu, 22 Sep 2022 02:23:25 +0000 (11:23 +0900)
committercheoleun moon <chleun.moon@samsung.com>
Thu, 22 Sep 2022 02:30:20 +0000 (11:30 +0900)
Change-Id: I20f2d1c2f373f0b15045480793767386530af6dd
Signed-off-by: cheoleun moon <chleun.moon@samsung.com>
tct-suite-vs/Tizen.Connection.Tests/testcase/TSConnectionManager.cs
tct-suite-vs/Tizen.Connection.Tests/testcase/TSConnectionProfile.cs
tct-suite-vs/Tizen.Connection.Tests/testcase/TSConnectionProfileManager.cs
tct-suite-vs/Tizen.Connection.Tests/testcase/TSConnectionProfileStateEventArgs.cs
tct-suite-vs/Tizen.Connection.Tests/testcase/TSConnectionTypeEventArgs.cs
tct-suite-vs/Tizen.Connection.Tests/testcase/TSProfileStateEventArgs.cs
tct-suite-vs/Tizen.WiFi.Tests/testcase/TSWiFiAP.cs

index 7ac61f0..d0ff9b0 100755 (executable)
@@ -286,7 +286,10 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 // POSTCONDITION
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
             }
         }
 
@@ -740,7 +743,10 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 // POSTCONDITION
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
             }
         }
 
@@ -794,7 +800,10 @@ namespace Tizen.Network.Connection.Tests
             }
             finally
             {
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
                 if (_wifiAP != null)
                 {
                     _wifiAP.Dispose();
@@ -849,7 +858,10 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 // POSTCONDITION
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
 
                 if (_wifiAP != null)
                 {
@@ -905,7 +917,10 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 // POSTCONDITION
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
             }
         }
 
index 956f87b..82f84d8 100755 (executable)
@@ -381,8 +381,11 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 /* POSTCONDITION */
-                await networkSetup.ForgetCurrentAP();
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await networkSetup.ForgetCurrentAP();
+                    await setUp();
+                }
 
                 if (_connectionProfile != null)
                 {
@@ -451,8 +454,11 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 /* POSTCONDITION */
-                await networkSetup.ForgetCurrentAP();
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await networkSetup.ForgetCurrentAP();
+                    await setUp();
+                }
 
                 if (_connectionProfile != null)
                 {
@@ -501,8 +507,11 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                  /* POSTCONDITION */
-                await networkSetup.ForgetCurrentAP();
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await networkSetup.ForgetCurrentAP();
+                    await setUp();
+                }
 
                 if (_connectionProfile != null)
                 {
@@ -552,8 +561,11 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 /* POSTCONDITION */
-                await networkSetup.ForgetCurrentAP();
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await networkSetup.ForgetCurrentAP();
+                    await setUp();
+                }
 
                 if (_connectionProfile != null)
                 {
@@ -620,7 +632,10 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 // POSTCONDITION
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
 
                 if (_connectionProfile != null)
                 {
index b5a7fe6..3e0eb3c 100755 (executable)
@@ -514,7 +514,10 @@ namespace Tizen.Network.Connection.Tests
             }
             finally
             {
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
                 if (_wifiAP != null)
                 {
                     _wifiAP.Dispose();
@@ -675,7 +678,10 @@ namespace Tizen.Network.Connection.Tests
             }
             finally
             {
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
 
                 if (_profile != null)
                 {
@@ -759,7 +765,10 @@ namespace Tizen.Network.Connection.Tests
             }
             finally
             {
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
 
                 if (_currCP != null)
                 {
@@ -828,7 +837,10 @@ namespace Tizen.Network.Connection.Tests
             }
             finally
             {
-                await setUp();
+                if (isWiFiSupported)
+                {
+                    await setUp();
+                }
                 if (_profile != null)
                 {
                     _profile.Dispose();
index 756cb8b..a2fdd1a 100755 (executable)
@@ -95,7 +95,10 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 // POSTCONDITION
-                await setUp();
+                if (isWiFiSupported == true)
+                {
+                    await setUp();
+                }
 
                 if (_connectionProfile != null)
                 {
index c8bb21e..9fbbf81 100755 (executable)
@@ -94,7 +94,10 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 // POSTCONDITION
-                await setUp();
+                if (isWiFiSupported == true)
+                {
+                    await setUp();
+                }
             }
         }
 
index 76c5155..00efb83 100755 (executable)
@@ -105,7 +105,10 @@ namespace Tizen.Network.Connection.Tests
             finally
             {
                 // POSTCONDITION
-                await setUp();
+                if (isWiFiSupported == true)
+                {
+                    await setUp();
+                }
 
                 if (_connectionProfile != null)
                 {
index f404d38..be83189 100755 (executable)
@@ -331,7 +331,10 @@ namespace Tizen.Network.WiFi.Tests
             finally
             {
                 Log.Info(Globals.LogTag, "Postcondition: Connect to AP again");
-                await setUp();
+                if (isWiFiSupported == true)
+                {
+                    await setUp();
+                }
             }
         }