[Non-ACR] Change preconditionUntil file 12/206312/4
authornguyen.vtan <nguyen.vtan@samsung.com>
Thu, 16 May 2019 07:47:36 +0000 (14:47 +0700)
committernguyen.vtan <nguyen.vtan@samsung.com>
Thu, 16 May 2019 07:59:13 +0000 (14:59 +0700)
Change-Id: I1c097da9cd1895ea1f2173054b45a4e81c4479a3

tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/PreconditionUtils.cs
tct-suite-vs/Tizen.Bluetooth.Tests/testcase/PreconditionUtils.cs
tct-suite-vs/Tizen.Connection.Tests/testcase/support/networkParameter.cs
tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/support/PreconditionUtils.cs
tct-suite-vs/Tizen.Maps.Tests/testcase/support/PreconditionUtils.cs
tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/support/PreconditionUtil.cs
tct-suite-vs/Tizen.WiFi.Manual.Tests/testcase/support/PreconditionUtils.cs
tct-suite-vs/Tizen.WiFi.Tests/testcase/support/networkParameter.cs

index 9e14081..a5be3af 100755 (executable)
@@ -128,6 +128,11 @@ namespace BluetoothNetworkUtils
         }
         private static string[] StringParser(string TCID)
         {
+            TCID = TCID.Replace(": \"", ":\"");
+            TCID = TCID.Replace("    ", "");
+            TCID = TCID.Replace("\n", "");
+            TCID = TCID.Replace("\n", "");
+
             string[] delimiter = { "[{\"", "\":\"", "\",\"", "\":", ",\"", "\"}]", "}" };
             string[] stringPieces = null;
 
index a5df294..1ce848c 100755 (executable)
@@ -80,6 +80,10 @@ namespace BluetoothNetworkUtils
         }
         private static string[] StringParser(string TCID)
         {
+            TCID = TCID.Replace(": \"", ":\"");
+            TCID = TCID.Replace("    ", "");
+            TCID = TCID.Replace("\n", "");
+            TCID = TCID.Replace("\n", "");
             string[] delimiter = { "[{\"", "\":\"", "\",\"", "\":", ",\"", "\"}]", "}" };
             string[] stringPieces = null;
 
index 2b36edf..44ddc0a 100755 (executable)
@@ -97,6 +97,11 @@ namespace networkUtils
         }
         private static string[] ResultParser(string TCID)
         {
+            TCID = TCID.Replace(": \"", ":\"");
+            TCID = TCID.Replace("    ", "");
+            TCID = TCID.Replace("\n", "");
+            TCID = TCID.Replace("\n", "");
+
             string[] delimiter = { "[{\"", "\":\"", "\",\"", "\":", ",\"", "\"}]", "}" };
             string[] stringPieces = null;
 
index 03b08c8..2d6e67e 100755 (executable)
@@ -63,6 +63,11 @@ namespace Tizen.Maps.Tests
         }
         private static string[] StringParser(string TCID)
         {
+            TCID = TCID.Replace(": \"", ":\"");
+            TCID = TCID.Replace("    ", "");
+            TCID = TCID.Replace("\n", "");
+            TCID = TCID.Replace("\n", "");
+
             string[] delimiter = { "[{\"", "\":\"", "\",\"", "\":", ",\"", "\"}]", "}" };
             string[] stringPieces = null;
 
index 03b08c8..2d6e67e 100755 (executable)
@@ -63,6 +63,11 @@ namespace Tizen.Maps.Tests
         }
         private static string[] StringParser(string TCID)
         {
+            TCID = TCID.Replace(": \"", ":\"");
+            TCID = TCID.Replace("    ", "");
+            TCID = TCID.Replace("\n", "");
+            TCID = TCID.Replace("\n", "");
+
             string[] delimiter = { "[{\"", "\":\"", "\",\"", "\":", ",\"", "\"}]", "}" };
             string[] stringPieces = null;
 
index 8d0a439..91bb63e 100755 (executable)
@@ -83,6 +83,11 @@ namespace Tizen.Multimedia.Tests
         }
         private static string[] StringParser(string TCID)
         {
+            TCID = TCID.Replace(": \"", ":\"");
+            TCID = TCID.Replace("    ", "");
+            TCID = TCID.Replace("\n", "");
+            TCID = TCID.Replace("\n", "");
+
             string[] delimiter = { "[{\"", "\":\"", "\",\"", "\":", ",\"", "\"}]", "}" };
             string[] stringPieces = null;
 
index 4a6d867..e9cf9f8 100755 (executable)
@@ -98,6 +98,11 @@ namespace networkUtils
         }
         private static string[] StringParser(string TCID)
         {
+            TCID = TCID.Replace(": \"", ":\"");\r
+            TCID = TCID.Replace("    ", "");\r
+            TCID = TCID.Replace("\n", "");\r
+            TCID = TCID.Replace("\n", "");
+
             string[] delimiter = { "[{\"", "\":\"", "\",\"", "\":", ",\"", "\"}]", "}" };
             string[] stringPieces = null;
 
@@ -113,4 +118,4 @@ namespace networkUtils
             return stringPieces;
         }
     }
-}
+}
\ No newline at end of file
index 9b1ced8..1144099 100755 (executable)
@@ -105,6 +105,11 @@ namespace networkUtils
         }
         private static string[] ResultParser(string TCID)
         {
+            TCID = TCID.Replace(": \"", ":\"");
+            TCID = TCID.Replace("    ", "");
+            TCID = TCID.Replace("\n", "");
+            TCID = TCID.Replace("\n", "");
+
             string[] delimiter = { "[{\"", "\":\"", "\",\"", "\":", ",\"", "\"}]", "}" };
             string[] stringPieces = null;