[Applications][Non-ACR][Fix wrong precondition & postcondition] 51/221851/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 8 Jan 2020 05:16:11 +0000 (14:16 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Wed, 8 Jan 2020 05:20:22 +0000 (05:20 +0000)
Change-Id: I70467c41f6ae73cff4ec265a6405ca616ca8b98e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.ProxyBase.cs

index 6eb7f6f..4743dbf 100755 (executable)
@@ -101,7 +101,7 @@ namespace Tizen.Applications.Tests
         public void Destroy()
         {
             LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
-            _proxy.Dispose();
+            _proxy?.Dispose();
             _proxy = null;
         }
 
@@ -327,7 +327,7 @@ namespace Tizen.Applications.Tests
             /* PRECONDITION */
             await Task.Delay(4000);
             Assert.True(_proxy.Connected);
-            _proxy.Dispose();
+            _proxy?.Dispose();
 
             /* TEST CODE */
             try