[Inputmethod][TCSACR-161] Add a new API to hide IME 27/185827/3
authorInHong Han <inhong1.han@samsung.com>
Mon, 23 Jul 2018 02:20:53 +0000 (11:20 +0900)
committerInHong Han <inhong1.han@samsung.com>
Mon, 6 Aug 2018 06:55:12 +0000 (15:55 +0900)
Change-Id: Ia320b3cf44c1978e294ec8fa08382c6601195bb9

tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs

index 6f6ee93..6ed2f97 100755 (executable)
@@ -844,6 +844,34 @@ namespace Tizen.Uix.InputMethod.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Check the working of RequestHide method for No Exception")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.RequestHide M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        public static void RequestHide_NO_EXCEPTION()
+        {
+            /*
+             * TEST CODE
+             */
+            flag = false;
+            try
+            {
+                Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: RequestHide_NO_EXCEPTION");
+                InputMethodEditor.RequestHide();
+                flag = true;
+                Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: RequestHide_NO_EXCEPTION");
+            }
+            catch (Exception e)
+            {
+                Helper.PrintLog(Type.DLogAndlogUtil, "Caught Exception" + e.ToString());
+                Assert.IsTrue(false, "Caught Exception" + e.ToString());
+            }
+            Assert.IsTrue(flag, "Failed test");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Initialize the BoolAction delegate")]
         [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.BoolAction M")]
         [Property("SPEC_URL", "-")]