[ElmSharp][Non-ACR] Fixed wrong TC 92/177292/1
authorJeonghyun Yun <jh0506.yun@samsung.com>
Fri, 27 Apr 2018 01:45:24 +0000 (10:45 +0900)
committerJeonghyun Yun <jh0506.yun@samsung.com>
Fri, 27 Apr 2018 01:46:02 +0000 (10:46 +0900)
Change-Id: I32f3945a391c21c81672a4006e8092f50000b32e
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntry.cs
tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItem.cs
tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItemEventArgs.cs

index cb5d915..1833706 100755 (executable)
@@ -39,7 +39,7 @@ namespace ElmSharp.Tests {
             }
             else
             {
-                Assert.Pass("Calendar not supported");
+                Assert.Pass("Not supported");
             }
         }
 
index e148d26..7001e4f 100755 (executable)
@@ -41,7 +41,7 @@ namespace ElmSharp.Tests {
             }
             else
             {
-                Assert.Pass("Calendar not supported");
+                Assert.Pass("Not supported");
             }
         }
 
index c9b11aa..c4ea0bb 100755 (executable)
@@ -33,8 +33,15 @@ namespace ElmSharp.Tests {
         public static void Init()
         {
             LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
-            _mButtonEntryItemEventArgs = new MultiButtonEntryItemEventArgs();
-            _mButtonEntryItem = new MultiButtonEntryItem("Item");
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
+            {
+                _mButtonEntryItemEventArgs = new MultiButtonEntryItemEventArgs();
+                _mButtonEntryItem = new MultiButtonEntryItem("Item");
+            }
+            else
+            {
+                Assert.Pass("Not supported");
+            }
         }
 
         [TearDown]