From 84e4a3681af77687a03828eb2ffea17ffefeb14a Mon Sep 17 00:00:00 2001 From: InHong Han Date: Mon, 23 Jul 2018 11:20:53 +0900 Subject: [PATCH] [Inputmethod][TCSACR-161] Add a new API to hide IME Change-Id: Ia320b3cf44c1978e294ec8fa08382c6601195bb9 --- .../testcase/TSInputMethodEditor.cs | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs index 6f6ee93..6ed2f97 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs @@ -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", "-")] -- 2.7.4