From 2fbdef278a12e2f77ae083e2be725ea818a7cae7 Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Fri, 2 Nov 2018 14:21:14 +0900 Subject: [PATCH] [NUI][Non-ACR] Fix TCT fail issue on VD target Change-Id: Ibf322892030aed6049e0ef143adca188930980fc Signed-off-by: huiyu.eun --- tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs index d2164001e..0c52c911b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs @@ -591,12 +591,14 @@ namespace Tizen.NUI.Tests }; InputMethodContext inputMethodContext = _editor.GetInputMethodContext(); + Assert.IsNotNull(inputMethodContext, "InputMethodContext should not be null after using GetInputMethodContext"); + inputMethodContext.Activate(); inputMethodContext.ShowInputPanel(); await Task.Delay(300); if (inputMethodContext) { - Assert.AreEqual("en_US", inputMethodContext.GetInputPanelLocale(), "Should be equal"); + Assert.IsTrue(inputMethodContext.GetInputPanelLocale().Contains("en_US"), "Default value is not en_US"); } inputMethodContext.Dispose(); -- 2.34.1