[Applications.Tests][Non-ACR][Fix a wrong exception] 54/193454/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 21 Nov 2018 00:06:55 +0000 (09:06 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Wed, 21 Nov 2018 00:08:46 +0000 (00:08 +0000)
Change-Id: I72a7ef100e77965a8318ca33081625eef84af141
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationLaunchedEventArgs.cs

index e3c13fd..9660a12 100755 (executable)
@@ -46,10 +46,12 @@ namespace Tizen.Applications.Tests
 
         public static void Eventlaunched(object sender, ApplicationLaunchedEventArgs Args)
         {
-            _argAppId = Args.ApplicationRunningContext.ApplicationId;
-            _processId = Args.ApplicationRunningContext.ProcessId;
             if (string.Equals(Args.ApplicationRunningContext.ApplicationId, AppId))
+            {
+                _argAppId = Args.ApplicationRunningContext.ApplicationId;
+                _processId = Args.ApplicationRunningContext.ProcessId;
                 _isLaunched = true;
+            }
         }
 
         [Test]