Change-Id: Ibf322892030aed6049e0ef143adca188930980fc
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
};
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();