[Messages][Non-ACR][Fixed svace issues] 95/185595/1
authorSanghoon Lee <shooney.lee@samsung.com>
Wed, 1 Aug 2018 04:07:31 +0000 (13:07 +0900)
committerLee Sanghoon <shooney.lee@samsung.com>
Wed, 1 Aug 2018 04:08:18 +0000 (04:08 +0000)
Change-Id: I67666187adc5bb801869f6bfb4f1a5e152b0877d
(cherry picked from commit ded253a04fd1953d648464d2e3ebe09b128a2602)

tct-suite-vs/Tizen.Messages.Tests/testcase/support/PreconditionUtils.cs

index 7a4944a..30e7c21 100755 (executable)
@@ -31,6 +31,12 @@ namespace Tizen.Messaging.Messages.Tests
             int index = 0;
             string[] resultArray = StringParser(result);
 
+            if (resultArray == null)
+            {
+                LogUtils.Write(LogUtils.ERROR, LogUtils.TAG, "StringParser failed " + result);
+                return;
+            }
+
             Assert.Greater(resultArray?.Length, 0, "resultArray can not be null");
             foreach (string item in resultArray)
             {