1 using NUnit.Framework;
2 using NUnit.Framework.TUnit;
5 using Tizen.NUI.BaseComponents;
7 namespace Tizen.NUI.Devel.Tests
9 using tlog = Tizen.Log;
12 [Description("public/Input/TSInputMethodContext")]
13 internal class PublicInputMethodContextTest
15 private const string tag = "NUITEST";
20 tlog.Info(tag, "Init() is called!");
26 tlog.Info(tag, "Destroy() is called!");
31 [Description("Create a InputMethodContext object.")]
32 [Property("SPEC", "Tizen.NUI.InputMethodContext.InputMethodContext C")]
33 [Property("SPEC_URL", "-")]
34 [Property("CRITERIA", "CONSTR")]
35 [Property("COVPARAM", "")]
36 [Property("AUTHOR", "guowei.wang@samsung.com")]
37 public void InputMethodContextConstructor()
39 tlog.Debug(tag, $"InputMethodContextConstructor START");
40 InputMethodContext a1 = new InputMethodContext();
41 InputMethodContext b1 = new InputMethodContext(a1);
46 tlog.Debug(tag, $"InputMethodContextConstructor END (OK)");
47 Assert.Pass("InputMethodContextConstructor");
52 [Description("InputMethodContext Activated")]
53 [Property("SPEC", "Tizen.NUI.InputMethodContext.Activated A")]
54 [Property("SPEC_URL", "-")]
55 [Property("CRITERIA", "PRW")]
56 [Property("AUTHOR", "guowei.wang@samsung.com")]
57 public void InputMethodContextActivated()
59 tlog.Debug(tag, $"InputMethodContextActivated START");
60 InputMethodContext a1 = new InputMethodContext();
62 a1.Activated += A1_Activated;
63 a1.Activated -= A1_Activated;
65 object o1 = new object();
66 InputMethodContext.ActivatedEventArgs e = new InputMethodContext.ActivatedEventArgs();
70 tlog.Debug(tag, $"InputMethodContextActivated END (OK)");
71 Assert.Pass("InputMethodContextActivated");
74 private void A1_Activated(object sender, InputMethodContext.ActivatedEventArgs e)
76 InputMethodContext a1 = e.InputMethodContext;
77 e.InputMethodContext = a1;
82 [Description("InputMethodContext EventReceived")]
83 [Property("SPEC", "Tizen.NUI.InputMethodContext.EventReceived A")]
84 [Property("SPEC_URL", "-")]
85 [Property("CRITERIA", "PRW")]
86 [Property("AUTHOR", "guowei.wang@samsung.com")]
87 public void InputMethodContextEventReceived()
89 tlog.Debug(tag, $"InputMethodContextEventReceived START");
90 InputMethodContext a1 = new InputMethodContext();
92 a1.EventReceived += A1_EventReceived;
93 a1.EventReceived -= A1_EventReceived;
95 object o1 = new object();
96 InputMethodContext.EventReceivedEventArgs e = new InputMethodContext.EventReceivedEventArgs();
98 A1_EventReceived(o1, e);
100 tlog.Debug(tag, $"InputMethodContextActivated END (OK)");
101 Assert.Pass("InputMethodContextActivated");
104 private InputMethodContext.CallbackData A1_EventReceived(object source, InputMethodContext.EventReceivedEventArgs e)
106 InputMethodContext a1 = e.InputMethodContext;
107 e.InputMethodContext = a1;
109 InputMethodContext.EventData b1 = e.EventData;
117 [Description("InputMethodContext StatusChanged")]
118 [Property("SPEC", "Tizen.NUI.InputMethodContext.StatusChanged A")]
119 [Property("SPEC_URL", "-")]
120 [Property("CRITERIA", "PRW")]
121 [Property("AUTHOR", "guowei.wang@samsung.com")]
122 public void InputMethodContextStatusChanged()
124 tlog.Debug(tag, $"InputMethodContextStatusChanged START");
125 InputMethodContext a1 = new InputMethodContext();
127 a1.StatusChanged += A1_StatusChanged;
128 a1.StatusChanged -= A1_StatusChanged;
130 object o1 = new object();
131 InputMethodContext.StatusChangedEventArgs e = new InputMethodContext.StatusChangedEventArgs();
133 A1_StatusChanged(o1, e);
135 tlog.Debug(tag, $"InputMethodContextStatusChanged END (OK)");
136 Assert.Pass("InputMethodContextStatusChanged");
139 private void A1_StatusChanged(object sender, InputMethodContext.StatusChangedEventArgs e)
141 bool a1 = e.StatusChanged;
142 e.StatusChanged = a1;
147 [Description("InputMethodContext Resized")]
148 [Property("SPEC", "Tizen.NUI.InputMethodContext.Resized A")]
149 [Property("SPEC_URL", "-")]
150 [Property("CRITERIA", "PRW")]
151 [Property("AUTHOR", "guowei.wang@samsung.com")]
152 public void InputMethodContextResized()
154 tlog.Debug(tag, $"InputMethodContextResized START");
155 InputMethodContext a1 = new InputMethodContext();
157 a1.Resized += A1_Resized;
158 a1.Resized -= A1_Resized;
160 object o1 = new object();
161 InputMethodContext.ResizedEventArgs e = new InputMethodContext.ResizedEventArgs();
165 tlog.Debug(tag, $"InputMethodContextResized END (OK)");
166 Assert.Pass("InputMethodContextResized");
169 private void A1_Resized(object sender, InputMethodContext.ResizedEventArgs e)
177 [Description("InputMethodContext LanguageChanged")]
178 [Property("SPEC", "Tizen.NUI.InputMethodContext.LanguageChanged A")]
179 [Property("SPEC_URL", "-")]
180 [Property("CRITERIA", "PRW")]
181 [Property("AUTHOR", "guowei.wang@samsung.com")]
182 public void InputMethodContextLanguageChanged()
184 tlog.Debug(tag, $"InputMethodContextLanguageChanged START");
185 InputMethodContext a1 = new InputMethodContext();
187 a1.LanguageChanged += A1_LanguageChanged;
188 a1.LanguageChanged -= A1_LanguageChanged;
190 object o1 = new object();
191 InputMethodContext.LanguageChangedEventArgs e = new InputMethodContext.LanguageChangedEventArgs();
193 A1_LanguageChanged(o1, e);
195 tlog.Debug(tag, $"InputMethodContextLanguageChanged END (OK)");
196 Assert.Pass("InputMethodContextLanguageChanged");
199 private void A1_LanguageChanged(object sender, InputMethodContext.LanguageChangedEventArgs e)
201 int i = e.LanguageChanged;
202 e.LanguageChanged = i;
207 [Description("InputMethodContext KeyboardTypeChanged")]
208 [Property("SPEC", "Tizen.NUI.InputMethodContext.KeyboardTypeChanged A")]
209 [Property("SPEC_URL", "-")]
210 [Property("CRITERIA", "PRW")]
211 [Property("AUTHOR", "guowei.wang@samsung.com")]
212 public void InputMethodContextKeyboardTypeChanged()
214 tlog.Debug(tag, $"InputMethodContextKeyboardTypeChanged START");
215 InputMethodContext a1 = new InputMethodContext();
217 a1.KeyboardTypeChanged += A1_KeyboardTypeChanged;
218 a1.KeyboardTypeChanged -= A1_KeyboardTypeChanged;
220 object o1 = new object();
221 InputMethodContext.KeyboardTypeChangedEventArgs e = new InputMethodContext.KeyboardTypeChangedEventArgs();
223 A1_KeyboardTypeChanged(o1, e);
225 tlog.Debug(tag, $"InputMethodContextKeyboardTypeChanged END (OK)");
226 Assert.Pass("InputMethodContextKeyboardTypeChanged");
229 private void A1_KeyboardTypeChanged(object sender, InputMethodContext.KeyboardTypeChangedEventArgs e)
231 InputMethodContext.KeyboardType b1 = e.KeyboardType;
237 [Description("InputMethodContext ContentReceived")]
238 [Property("SPEC", "Tizen.NUI.InputMethodContext.ContentReceived A")]
239 [Property("SPEC_URL", "-")]
240 [Property("CRITERIA", "PRW")]
241 [Property("AUTHOR", "guowei.wang@samsung.com")]
242 public void InputMethodContextContentReceived()
244 tlog.Debug(tag, $"InputMethodContextContentReceived START");
245 InputMethodContext a1 = new InputMethodContext();
247 a1.ContentReceived += A1_ContentReceived;
248 a1.ContentReceived -= A1_ContentReceived;
250 object o1 = new object();
251 InputMethodContext.ContentReceivedEventArgs e = new InputMethodContext.ContentReceivedEventArgs();
253 A1_ContentReceived(o1, e);
255 tlog.Debug(tag, $"InputMethodContextContentReceived END (OK)");
256 Assert.Pass("InputMethodContextContentReceived");
259 private void A1_ContentReceived(object sender, InputMethodContext.ContentReceivedEventArgs e)
261 string s1 = e.Content;
264 string s2 = e.Description;
267 string s3 = e.MimeType;
273 [Description("InputMethodContext DestroyContext")]
274 [Property("SPEC", "Tizen.NUI.InputMethodContext.DestroyContext M")]
275 [Property("SPEC_URL", "-")]
276 [Property("CRITERIA", "MR")]
277 [Property("AUTHOR", "guowei.wang@samsung.com")]
278 public void InputMethodContextDestroyContext()
280 tlog.Debug(tag, $"InputMethodContextDestroyContext START");
281 InputMethodContext a1 = new InputMethodContext();
286 tlog.Debug(tag, $"InputMethodContextDestroyContext END (OK)");
287 Assert.Pass("InputMethodContextDestroyContext");
292 [Description("InputMethodContext Activate")]
293 [Property("SPEC", "Tizen.NUI.InputMethodContext.Activate M")]
294 [Property("SPEC_URL", "-")]
295 [Property("CRITERIA", "MR")]
296 [Property("AUTHOR", "guowei.wang@samsung.com")]
297 public void InputMethodContextActivate()
299 tlog.Debug(tag, $"InputMethodContextActivate START");
300 InputMethodContext a1 = new InputMethodContext();
306 tlog.Debug(tag, $"InputMethodContextActivate END (OK)");
307 Assert.Pass("InputMethodContextActivate");
312 [Description("InputMethodContext Deactivate")]
313 [Property("SPEC", "Tizen.NUI.InputMethodContext.Deactivate M")]
314 [Property("SPEC_URL", "-")]
315 [Property("CRITERIA", "MR")]
316 [Property("AUTHOR", "guowei.wang@samsung.com")]
317 public void InputMethodContextDeactivate()
319 tlog.Debug(tag, $"InputMethodContextDeactivate START");
320 InputMethodContext a1 = new InputMethodContext();
326 tlog.Debug(tag, $"InputMethodContextDeactivate END (OK)");
327 Assert.Pass("InputMethodContextDeactivate");
332 [Description("InputMethodContext RestoreAfterFocusLost")]
333 [Property("SPEC", "Tizen.NUI.InputMethodContext.RestoreAfterFocusLost M")]
334 [Property("SPEC_URL", "-")]
335 [Property("CRITERIA", "MR")]
336 [Property("AUTHOR", "guowei.wang@samsung.com")]
337 public void InputMethodContextRestoreAfterFocusLost()
339 tlog.Debug(tag, $"InputMethodContextRestoreAfterFocusLost START");
340 InputMethodContext a1 = new InputMethodContext();
342 a1.RestoreAfterFocusLost();
345 tlog.Debug(tag, $"InputMethodContextRestoreAfterFocusLost END (OK)");
346 Assert.Pass("InputMethodContextRestoreAfterFocusLost");
351 [Description("InputMethodContext SetRestoreAfterFocusLost")]
352 [Property("SPEC", "Tizen.NUI.InputMethodContext.SetRestoreAfterFocusLost M")]
353 [Property("SPEC_URL", "-")]
354 [Property("CRITERIA", "MR")]
355 [Property("AUTHOR", "guowei.wang@samsung.com")]
356 public void InputMethodContextSetRestoreAfterFocusLost()
358 tlog.Debug(tag, $"InputMethodContextSetRestoreAfterFocusLost START");
359 InputMethodContext a1 = new InputMethodContext();
361 a1.SetRestoreAfterFocusLost(true);
364 tlog.Debug(tag, $"InputMethodContextSetRestoreAfterFocusLost END (OK)");
365 Assert.Pass("InputMethodContextSetRestoreAfterFocusLost");
370 [Description("InputMethodContext Reset")]
371 [Property("SPEC", "Tizen.NUI.InputMethodContext.Reset M")]
372 [Property("SPEC_URL", "-")]
373 [Property("CRITERIA", "MR")]
374 [Property("AUTHOR", "guowei.wang@samsung.com")]
375 public void InputMethodContextReset()
377 tlog.Debug(tag, $"InputMethodContextReset START");
378 InputMethodContext a1 = new InputMethodContext();
383 tlog.Debug(tag, $"InputMethodContextReset END (OK)");
384 Assert.Pass("InputMethodContextReset");
389 [Description("InputMethodContext NotifyCursorPosition")]
390 [Property("SPEC", "Tizen.NUI.InputMethodContext.NotifyCursorPosition M")]
391 [Property("SPEC_URL", "-")]
392 [Property("CRITERIA", "MR")]
393 [Property("AUTHOR", "guowei.wang@samsung.com")]
394 public void InputMethodContextNotifyCursorPosition()
396 tlog.Debug(tag, $"InputMethodContextNotifyCursorPosition START");
397 InputMethodContext a1 = new InputMethodContext();
399 a1.NotifyCursorPosition();
402 tlog.Debug(tag, $"InputMethodContextNotifyCursorPosition END (OK)");
403 Assert.Pass("InputMethodContextNotifyCursorPosition");
408 [Description("InputMethodContext SetCursorPosition")]
409 [Property("SPEC", "Tizen.NUI.InputMethodContext.SetCursorPosition M")]
410 [Property("SPEC_URL", "-")]
411 [Property("CRITERIA", "MR")]
412 [Property("AUTHOR", "guowei.wang@samsung.com")]
413 public void InputMethodContextSetCursorPosition()
415 tlog.Debug(tag, $"InputMethodContextSetCursorPosition START");
416 InputMethodContext a1 = new InputMethodContext();
418 a1.SetCursorPosition(5);
421 tlog.Debug(tag, $"InputMethodContextSetCursorPosition END (OK)");
422 Assert.Pass("InputMethodContextSetCursorPosition");
427 [Description("InputMethodContext GetCursorPosition")]
428 [Property("SPEC", "Tizen.NUI.InputMethodContext.GetCursorPosition M")]
429 [Property("SPEC_URL", "-")]
430 [Property("CRITERIA", "MR")]
431 [Property("AUTHOR", "guowei.wang@samsung.com")]
432 public void InputMethodContextGetCursorPosition()
434 tlog.Debug(tag, $"InputMethodContextGetCursorPosition START");
435 InputMethodContext a1 = new InputMethodContext();
437 a1.GetCursorPosition();
440 tlog.Debug(tag, $"InputMethodContextGetCursorPosition END (OK)");
441 Assert.Pass("InputMethodContextGetCursorPosition");
446 [Description("InputMethodContext SetSurroundingText")]
447 [Property("SPEC", "Tizen.NUI.InputMethodContext.SetSurroundingText M")]
448 [Property("SPEC_URL", "-")]
449 [Property("CRITERIA", "MR")]
450 [Property("AUTHOR", "guowei.wang@samsung.com")]
451 public void InputMethodContextSetSurroundingText()
453 tlog.Debug(tag, $"InputMethodContextSetSurroundingText START");
454 InputMethodContext a1 = new InputMethodContext();
456 a1.SetSurroundingText("surrounding text");
459 tlog.Debug(tag, $"InputMethodContextSetSurroundingText END (OK)");
460 Assert.Pass("InputMethodContextSetSurroundingText");
465 [Description("InputMethodContext GetSurroundingText")]
466 [Property("SPEC", "Tizen.NUI.InputMethodContext.GetSurroundingText M")]
467 [Property("SPEC_URL", "-")]
468 [Property("CRITERIA", "MR")]
469 [Property("AUTHOR", "guowei.wang@samsung.com")]
470 public void InputMethodContextGetSurroundingText()
472 tlog.Debug(tag, $"InputMethodContextGetSurroundingText START");
473 InputMethodContext a1 = new InputMethodContext();
475 a1.GetSurroundingText();
478 tlog.Debug(tag, $"InputMethodContextGetSurroundingText END (OK)");
479 Assert.Pass("InputMethodContextGetSurroundingText");
484 [Description("InputMethodContext NotifyTextInputMultiLine")]
485 [Property("SPEC", "Tizen.NUI.InputMethodContext.NotifyTextInputMultiLine M")]
486 [Property("SPEC_URL", "-")]
487 [Property("CRITERIA", "MR")]
488 [Property("AUTHOR", "guowei.wang@samsung.com")]
489 public void InputMethodContextNotifyTextInputMultiLine()
491 tlog.Debug(tag, $"InputMethodContextNotifyTextInputMultiLine START");
492 InputMethodContext a1 = new InputMethodContext();
494 a1.NotifyTextInputMultiLine(true);
497 tlog.Debug(tag, $"InputMethodContextNotifyTextInputMultiLine END (OK)");
498 Assert.Pass("InputMethodContextNotifyTextInputMultiLine");
503 [Description("InputMethodContext GetTextDirection")]
504 [Property("SPEC", "Tizen.NUI.InputMethodContext.GetTextDirection M")]
505 [Property("SPEC_URL", "-")]
506 [Property("CRITERIA", "MR")]
507 [Property("AUTHOR", "guowei.wang@samsung.com")]
508 public void InputMethodContextGetTextDirection()
510 tlog.Debug(tag, $"InputMethodContextGetTextDirection START");
511 InputMethodContext a1 = new InputMethodContext();
513 a1.GetTextDirection();
516 tlog.Debug(tag, $"InputMethodContextGetTextDirection END (OK)");
517 Assert.Pass("InputMethodContextGetTextDirection");
522 [Description("InputMethodContext GetInputMethodArea")]
523 [Property("SPEC", "Tizen.NUI.InputMethodContext.GetInputMethodArea M")]
524 [Property("SPEC_URL", "-")]
525 [Property("CRITERIA", "MR")]
526 [Property("AUTHOR", "guowei.wang@samsung.com")]
527 public void InputMethodContextGetInputMethodArea()
529 tlog.Debug(tag, $"InputMethodContextGetInputMethodArea START");
530 InputMethodContext a1 = new InputMethodContext();
532 a1.GetInputMethodArea();
535 tlog.Debug(tag, $"InputMethodContextGetInputMethodArea END (OK)");
536 Assert.Pass("InputMethodContextGetInputMethodArea");
541 [Description("InputMethodContext SetInputPanelUserData")]
542 [Property("SPEC", "Tizen.NUI.InputMethodContext.SetInputPanelUserData M")]
543 [Property("SPEC_URL", "-")]
544 [Property("CRITERIA", "MR")]
545 [Property("AUTHOR", "guowei.wang@samsung.com")]
546 public void InputMethodContextSetInputPanelUserData()
548 tlog.Debug(tag, $"InputMethodContextSetInputPanelUserData START");
549 InputMethodContext a1 = new InputMethodContext();
551 a1.SetInputPanelUserData("userdata");
554 tlog.Debug(tag, $"InputMethodContextSetInputPanelUserData END (OK)");
555 Assert.Pass("InputMethodContextSetInputPanelUserData");
560 [Description("InputMethodContext GetInputPanelUserData")]
561 [Property("SPEC", "Tizen.NUI.InputMethodContext.GetInputPanelUserData M")]
562 [Property("SPEC_URL", "-")]
563 [Property("CRITERIA", "MR")]
564 [Property("AUTHOR", "guowei.wang@samsung.com")]
565 public void InputMethodContextGetInputPanelUserData()
567 tlog.Debug(tag, $"InputMethodContextGetInputPanelUserData START");
568 InputMethodContext a1 = new InputMethodContext();
570 a1.GetInputPanelUserData(out string b1);
573 tlog.Debug(tag, $"InputMethodContextGetInputPanelUserData END (OK)");
574 Assert.Pass("InputMethodContextGetInputPanelUserData");
579 [Description("InputMethodContext GetInputPanelState")]
580 [Property("SPEC", "Tizen.NUI.InputMethodContext.GetInputPanelState M")]
581 [Property("SPEC_URL", "-")]
582 [Property("CRITERIA", "MR")]
583 [Property("AUTHOR", "guowei.wang@samsung.com")]
584 public void InputMethodContextGetInputPanelState()
586 tlog.Debug(tag, $"InputMethodContextGetInputPanelState START");
587 InputMethodContext a1 = new InputMethodContext();
589 a1.GetInputPanelState();
592 tlog.Debug(tag, $"InputMethodContextGetInputPanelState END (OK)");
593 Assert.Pass("InputMethodContextGetInputPanelState");
598 [Description("InputMethodContext SetReturnKeyState")]
599 [Property("SPEC", "Tizen.NUI.InputMethodContext.SetReturnKeyState M")]
600 [Property("SPEC_URL", "-")]
601 [Property("CRITERIA", "MR")]
602 [Property("AUTHOR", "guowei.wang@samsung.com")]
603 public void InputMethodContextSetReturnKeyState()
605 tlog.Debug(tag, $"InputMethodContextSetReturnKeyState START");
606 InputMethodContext a1 = new InputMethodContext();
608 a1.SetReturnKeyState(true);
611 tlog.Debug(tag, $"InputMethodContextSetReturnKeyState END (OK)");
612 Assert.Pass("InputMethodContextSetReturnKeyState");
617 [Description("InputMethodContext AutoEnableInputPanel")]
618 [Property("SPEC", "Tizen.NUI.InputMethodContext.AutoEnableInputPanel M")]
619 [Property("SPEC_URL", "-")]
620 [Property("CRITERIA", "MR")]
621 [Property("AUTHOR", "guowei.wang@samsung.com")]
622 public void InputMethodContextAutoEnableInputPanel()
624 tlog.Debug(tag, $"InputMethodContextAutoEnableInputPanel START");
625 InputMethodContext a1 = new InputMethodContext();
627 a1.AutoEnableInputPanel(true);
630 tlog.Debug(tag, $"InputMethodContextAutoEnableInputPanel END (OK)");
631 Assert.Pass("InputMethodContextAutoEnableInputPanel");
636 [Description("InputMethodContext ShowInputPanel")]
637 [Property("SPEC", "Tizen.NUI.InputMethodContext.ShowInputPanel M")]
638 [Property("SPEC_URL", "-")]
639 [Property("CRITERIA", "MR")]
640 [Property("AUTHOR", "guowei.wang@samsung.com")]
641 public void InputMethodContextShowInputPanel()
643 tlog.Debug(tag, $"InputMethodContextShowInputPanel START");
644 InputMethodContext a1 = new InputMethodContext();
649 tlog.Debug(tag, $"InputMethodContextShowInputPanel END (OK)");
650 Assert.Pass("InputMethodContextShowInputPanel");
655 [Description("InputMethodContext getCPtr")]
656 [Property("SPEC", "Tizen.NUI.InputMethodContext.getCPtr M")]
657 [Property("SPEC_URL", "-")]
658 [Property("CRITERIA", "MR")]
659 [Property("AUTHOR", "guowei.wang@samsung.com")]
660 public void InputMethodContextgetCPtr()
662 tlog.Debug(tag, $"InputMethodContextgetCPtr START");
663 InputMethodContext a1 = new InputMethodContext();
665 global::System.Runtime.InteropServices.HandleRef p1 = InputMethodContext.getCPtr(a1);
666 tlog.Debug(tag, $"InputMethodContextgetCPtr END (OK)");
667 Assert.Pass("InputMethodContextgetCPtr");
672 [Description("InputMethodContext Assign")]
673 [Property("SPEC", "Tizen.NUI.InputMethodContext.Assign M")]
674 [Property("SPEC_URL", "-")]
675 [Property("CRITERIA", "MR")]
676 [Property("AUTHOR", "guowei.wang@samsung.com")]
677 public void InputMethodContextAssign()
679 tlog.Debug(tag, $"InputMethodContextAssign START");
680 InputMethodContext a1 = new InputMethodContext();
681 InputMethodContext b1 = a1;
683 tlog.Debug(tag, $"InputMethodContextAssign END (OK)");
684 Assert.Pass("InputMethodContextAssign");
689 [Description("InputMethodContext DownCast")]
690 [Property("SPEC", "Tizen.NUI.InputMethodContext.DownCast M")]
691 [Property("SPEC_URL", "-")]
692 [Property("CRITERIA", "MR")]
693 [Property("AUTHOR", "guowei.wang@samsung.com")]
694 public void InputMethodContextDownCast()
696 tlog.Debug(tag, $"InputMethodContextDownCast START");
698 using (InputMethodContext context = new InputMethodContext())
700 var testingTarget = InputMethodContext.DownCast(context);
701 Assert.IsNotNull(testingTarget, "Can't create success object InputMethodContext");
702 Assert.IsInstanceOf<InputMethodContext>(testingTarget, "Should be an instance of InputMethodContext type.");
704 testingTarget.Dispose();
707 tlog.Debug(tag, $"InputMethodContextDownCast END (OK)");
708 Assert.Pass("InputMethodContextDownCast");
713 [Description("InputMethodContext ApplyOptions")]
714 [Property("SPEC", "Tizen.NUI.InputMethodContext.ApplyOptions M")]
715 [Property("SPEC_URL", "-")]
716 [Property("CRITERIA", "MR")]
717 [Property("AUTHOR", "guowei.wang@samsung.com")]
718 public void InputMethodContextApplyOptions()
720 tlog.Debug(tag, $"InputMethodContextApplyOptions START");
722 InputMethodContext a1 = new InputMethodContext();
723 InputMethodOptions option = new InputMethodOptions();
725 a1.ApplyOptions(option);
727 tlog.Debug(tag, $"InputMethodContextApplyOptions END (OK)");
728 Assert.Pass("InputMethodContextApplyOptions");
733 [Description("InputMethodContext LanguageChangedSignal")]
734 [Property("SPEC", "Tizen.NUI.InputMethodContext.LanguageChangedSignal M")]
735 [Property("SPEC_URL", "-")]
736 [Property("CRITERIA", "MR")]
737 [Property("AUTHOR", "guowei.wang@samsung.com")]
738 public void InputMethodContextLanguageChangedSignal()
740 tlog.Debug(tag, $"InputMethodContextLanguageChangedSignal START");
742 InputMethodContext a1 = new InputMethodContext();
744 a1.LanguageChangedSignal();
746 tlog.Debug(tag, $"InputMethodContextLanguageChangedSignal END (OK)");
747 Assert.Pass("InputMethodContextLanguageChangedSignal");
752 [Description("InputMethodContext KeyboardTypeChangedSignal")]
753 [Property("SPEC", "Tizen.NUI.InputMethodContext.KeyboardTypeChangedSignal M")]
754 [Property("SPEC_URL", "-")]
755 [Property("CRITERIA", "MR")]
756 [Property("AUTHOR", "guowei.wang@samsung.com")]
757 public void InputMethodContextKeyboardTypeChangedSignal()
759 tlog.Debug(tag, $"InputMethodContextKeyboardTypeChangedSignal START");
761 InputMethodContext a1 = new InputMethodContext();
763 a1.KeyboardTypeChangedSignal();
765 tlog.Debug(tag, $"InputMethodContextKeyboardTypeChangedSignal END (OK)");
766 Assert.Pass("InputMethodContextKeyboardTypeChangedSignal");
771 [Description("InputMethodContext ContentReceivedSignal")]
772 [Property("SPEC", "Tizen.NUI.InputMethodContext.ContentReceivedSignal M")]
773 [Property("SPEC_URL", "-")]
774 [Property("CRITERIA", "MR")]
775 [Property("AUTHOR", "guowei.wang@samsung.com")]
776 public void InputMethodContextContentReceivedSignal()
778 tlog.Debug(tag, $"InputMethodContextContentReceivedSignal START");
780 InputMethodContext a1 = new InputMethodContext();
782 a1.ContentReceivedSignal();
784 tlog.Debug(tag, $"InputMethodContextContentReceivedSignal END (OK)");
785 Assert.Pass("InputMethodContextContentReceivedSignal");