[NUI][Non-ACR] Fix TCT fail issue on VD target 95/192295/3 5.0_branch_out
authorhuiyu.eun <huiyu.eun@samsung.com>
Fri, 2 Nov 2018 05:21:14 +0000 (14:21 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Tue, 6 Nov 2018 00:18:32 +0000 (09:18 +0900)
Change-Id: Ibf322892030aed6049e0ef143adca188930980fc
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs

index d216400..0c52c91 100755 (executable)
@@ -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();