--- /dev/null
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using System;
+using Tizen.NUI;
+using Tizen.NUI.BaseComponents;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Input/TSAutofillContainer")]
+ internal class PublicAutofillContainerTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Create a AutofillContainer object.")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.AutofillContainer C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("COVPARAM", "")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerConstructor()
+ {
+ tlog.Debug(tag, $"AutofillContainerConstructor START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+ AutofillContainer b1 = new AutofillContainer(a1);
+
+ b1.Dispose();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerConstructor END (OK)");
+ Assert.Pass("AutofillContainerConstructor");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer ServiceEvent")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.ServiceEvent M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerServiceEvent()
+ {
+ tlog.Debug(tag, $"AutofillContainerServiceEvent START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.ServiceEvent += OnServiceEvent;
+ a1.ServiceEvent -= OnServiceEvent;
+ object o1 = new object();
+ AutofillContainer.AuthenticationEventArgs e = new AutofillContainer.AuthenticationEventArgs();
+
+ OnServiceEvent(o1, e);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerServiceEvent END (OK)");
+ Assert.Pass("AutofillContainerServiceEvent");
+ }
+
+ private void OnServiceEvent(object sender, AutofillContainer.AuthenticationEventArgs e)
+ {
+ AutofillContainer a1 = new AutofillContainer("myContent");
+ e.AutofillContainer = a1;
+ a1 = e.AutofillContainer;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer ListEvent")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.ListEvent M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerListEvent()
+ {
+ tlog.Debug(tag, $"AutofillContainerListEvent START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.ListEvent += OnListEvent;
+ a1.ListEvent -= OnListEvent;
+ object o1 = new object();
+ AutofillContainer.AuthenticationEventArgs e = new AutofillContainer.AuthenticationEventArgs();
+
+ OnServiceEvent(o1, e);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerServiceEvent END (OK)");
+ Assert.Pass("AutofillContainerServiceEvent");
+ }
+
+ private void OnListEvent(object sender, AutofillContainer.ListEventArgs e)
+ {
+ BaseComponents.View v1 = new BaseComponents.View();
+ e.Control = v1;
+ v1 = e.Control;
+
+ v1.Dispose();
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer getCPtr")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.getCPtr M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainergetCPtr()
+ {
+ tlog.Debug(tag, $"AutofillContainergetCPtr START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ global::System.Runtime.InteropServices.HandleRef b1 = AutofillContainer.getCPtr(a1);
+ global::System.Runtime.InteropServices.HandleRef c1 = AutofillContainer.getCPtr(null);
+
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainergetCPtr END (OK)");
+ Assert.Pass("AutofillContainergetCPtr");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer Assign")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.Assign M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerAssign()
+ {
+ tlog.Debug(tag, $"AutofillContainerAssign START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+ AutofillContainer b1 = a1;
+
+ b1.Dispose();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerAssign END (OK)");
+ Assert.Pass("AutofillContainerAssign");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer DownCast")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.DownCast M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerDownCast()
+ {
+ tlog.Debug(tag, $"AutofillContainerDownCast START");
+ BaseHandle handle = new BaseHandle();
+ AutofillContainer a1 = AutofillContainer.DownCast(handle);
+
+ handle.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerDownCast END (OK)");
+ Assert.Pass("AutofillContainerDownCast");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer AddAutofillView")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.AddAutofillView M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerAddAutofillView()
+ {
+ tlog.Debug(tag, $"AutofillContainerAddAutofillView START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ BaseComponents.View view = new BaseComponents.View();
+ int propertyIndex = 1;
+ string id = "myContainer";
+ string label = "testLabel";
+
+ AutofillContainer.ItemHint hint = AutofillContainer.ItemHint.CreditCardExpirationData;
+ bool isSensitive = false;
+
+ a1.AddAutofillView(view, propertyIndex, id, label, hint, isSensitive);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerAddAutofillView END (OK)");
+ Assert.Pass("AutofillContainerAddAutofillView");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer RemoveAutofillItem")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.RemoveAutofillItem M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerRemoveAutofillItem()
+ {
+ tlog.Debug(tag, $"AutofillContainerRemoveAutofillItem START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ BaseComponents.View view = new BaseComponents.View();
+ a1.RemoveAutofillItem(view);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerRemoveAutofillItem END (OK)");
+ Assert.Pass("AutofillContainerRemoveAutofillItem");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer SaveAutofillData")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.SaveAutofillData M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerSaveAutofillData()
+ {
+ tlog.Debug(tag, $"AutofillContainerSaveAutofillData START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.SaveAutofillData();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerSaveAutofillData END (OK)");
+ Assert.Pass("AutofillContainerSaveAutofillData");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer RequestFillData")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.RequestFillData M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerRequestFillData()
+ {
+ tlog.Debug(tag, $"AutofillContainerRequestFillData START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.RequestFillData();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerRequestFillData END (OK)");
+ Assert.Pass("AutofillContainerRequestFillData");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer GetAutofillServiceName")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.GetAutofillServiceName M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerGetAutofillServiceName()
+ {
+ tlog.Debug(tag, $"AutofillContainerGetAutofillServiceName START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.GetAutofillServiceName();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerGetAutofillServiceName END (OK)");
+ Assert.Pass("AutofillContainerGetAutofillServiceName");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer GetAutofillServiceMessage")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.GetAutofillServiceMessage M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerGetAutofillServiceMessage()
+ {
+ tlog.Debug(tag, $"AutofillContainerGetAutofillServiceMessage START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.GetAutofillServiceMessage();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerGetAutofillServiceMessage END (OK)");
+ Assert.Pass("AutofillContainerGetAutofillServiceMessage");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer GetAutofillServiceImagePath")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.GetAutofillServiceImagePath M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerGetAutofillServiceImagePath()
+ {
+ tlog.Debug(tag, $"AutofillContainerGetAutofillServiceImagePath START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.GetAutofillServiceImagePath();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerGetAutofillServiceImagePath END (OK)");
+ Assert.Pass("AutofillContainerGetAutofillServiceImagePath");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer GetListItemCount")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.GetListItemCount M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerGetListItemCount()
+ {
+ tlog.Debug(tag, $"AutofillContainerGetListItemCount START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.GetListItemCount();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerGetListItemCount END (OK)");
+ Assert.Pass("AutofillContainerGetListItemCount");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer GetListItem")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.GetListItem M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerGetListItem()
+ {
+ tlog.Debug(tag, $"AutofillContainerGetListItem START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.GetListItem(0);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerGetListItem END (OK)");
+ Assert.Pass("AutofillContainerGetListItem");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer SetSelectedItem")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.SetSelectedItem M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerSetSelectedItem()
+ {
+ tlog.Debug(tag, $"AutofillContainerSetSelectedItem START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.SetSelectedItem("testContent");
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerSetSelectedItem END (OK)");
+ Assert.Pass("AutofillContainerSetSelectedItem");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer AutofillServiceEventSignal")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.AutofillServiceEventSignal M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerAutofillServiceEventSignal()
+ {
+ tlog.Debug(tag, $"AutofillContainerAutofillServiceEventSignal START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.AutofillServiceEventSignal();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerAutofillServiceEventSignal END (OK)");
+ Assert.Pass("AutofillContainerAutofillServiceEventSignal");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("AutofillContainer AutofillListEventSignal")]
+ [Property("SPEC", "Tizen.NUI.AutofillContainer.AutofillListEventSignal M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void AutofillContainerAutofillListEventSignal()
+ {
+ tlog.Debug(tag, $"AutofillContainerAutofillListEventSignal START");
+ AutofillContainer a1 = new AutofillContainer("myContainer");
+
+ a1.AutofillListEventSignal();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"AutofillContainerAutofillListEventSignal END (OK)");
+ Assert.Pass("AutofillContainerAutofillListEventSignal");
+ }
+ }
+
+}
\ No newline at end of file
--- /dev/null
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using System;
+using Tizen.NUI;
+using Tizen.NUI.BaseComponents;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Input/FocusManager")]
+ internal class PublicFocusManagerTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Create a FocusManager object.")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.FocusManager C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("COVPARAM", "")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerConstructor()
+ {
+ tlog.Debug(tag, $"FocusManagerConstructor START");
+ FocusManager a1 = new FocusManager();
+
+ a1.Dispose();
+
+ tlog.Debug(tag, $"FocusManagerConstructor END (OK)");
+ Assert.Pass("FocusManagerConstructor");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager PreFocusChange")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.PreFocusChange A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerPreFocusChange()
+ {
+ tlog.Debug(tag, $"FocusManagerPreFocusChange START");
+ FocusManager a1 = FocusManager.Instance;
+
+ a1.PreFocusChange += A1_PreFocusChange;
+ a1.PreFocusChange -= A1_PreFocusChange;
+
+ tlog.Debug(tag, $"112");
+ object o1 = new object();
+ FocusManager.PreFocusChangeEventArgs e = new FocusManager.PreFocusChangeEventArgs();
+ tlog.Debug(tag, $"113");
+ A1_PreFocusChange(o1, e);
+ tlog.Debug(tag, $"114");
+
+ tlog.Debug(tag, $"FocusManagerPreFocusChange END (OK)");
+ Assert.Pass("FocusManagerPreFocusChange");
+ }
+
+ private View A1_PreFocusChange(object o, FocusManager.PreFocusChangeEventArgs e)
+ {
+ View v1 = e.CurrentView;
+ e.CurrentView = v1;
+
+ View v2 = e.ProposedView;
+ e.ProposedView = v2;
+
+ View.FocusDirection b1 = e.Direction;
+ e.Direction = b1;
+
+ return v1;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager FocusChanged")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.FocusChanged A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerFocusChanged()
+ {
+ tlog.Debug(tag, $"FocusManagerFocusChanged START");
+ FocusManager a1 = FocusManager.Instance;
+
+ a1.FocusChanged += A1_FocusChanged;
+ a1.FocusChanged -= A1_FocusChanged;
+
+ object o1 = new object();
+ FocusManager.FocusChangedEventArgs e = new FocusManager.FocusChangedEventArgs();
+ A1_FocusChanged(o1, e);
+
+ tlog.Debug(tag, $"FocusManagerFocusChanged END (OK)");
+ Assert.Pass("FocusManagerFocusChanged");
+ }
+
+ private void A1_FocusChanged(object sender, FocusManager.FocusChangedEventArgs e)
+ {
+ View v1 = e.CurrentView;
+ e.CurrentView = v1;
+
+ View v2 = e.NextView;
+ e.NextView = v2;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager FocusGroupChanged")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.FocusGroupChanged A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerFocusGroupChanged()
+ {
+ tlog.Debug(tag, $"FocusManagerFocusGroupChanged START");
+ FocusManager a1 = FocusManager.Instance;
+
+ a1.FocusGroupChanged += A1_FocusGroupChanged;
+ a1.FocusGroupChanged -= A1_FocusGroupChanged;
+ object o1 = new object();
+ FocusManager.FocusGroupChangedEventArgs e = new FocusManager.FocusGroupChangedEventArgs();
+ A1_FocusGroupChanged(o1, e);
+
+ tlog.Debug(tag, $"FocusManagerFocusGroupChanged END (OK)");
+ Assert.Pass("FocusManagerFocusGroupChanged");
+ }
+
+ private void A1_FocusGroupChanged(object sender, FocusManager.FocusGroupChangedEventArgs e)
+ {
+ View v1 = e.CurrentView;
+ e.CurrentView = v1;
+
+ bool b1 = e.ForwardDirection;
+ e.ForwardDirection = b1;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager FocusedViewActivated")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.FocusedViewActivated A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerFocusedViewActivated()
+ {
+ tlog.Debug(tag, $"FocusManagerFocusedViewActivated START");
+ FocusManager a1 = FocusManager.Instance;
+
+ a1.FocusedViewActivated += A1_FocusedViewActivated;
+ a1.FocusedViewActivated -= A1_FocusedViewActivated;
+ object o1 = new object();
+ FocusManager.FocusedViewActivatedEventArgs e = new FocusManager.FocusedViewActivatedEventArgs();
+ A1_FocusedViewActivated(o1, e);
+
+ tlog.Debug(tag, $"FocusManagerFocusedViewActivated END (OK)");
+ Assert.Pass("FocusManagerFocusedViewActivated");
+ }
+
+ private void A1_FocusedViewActivated(object sender, FocusManager.FocusedViewActivatedEventArgs e)
+ {
+ View v1 = e.View;
+ e.View = v1;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager FocusedViewEnterKeyPressed")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.FocusedViewEnterKeyPressed A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerFocusedViewEnterKeyPressed()
+ {
+ tlog.Debug(tag, $"FocusManagerFocusedViewEnterKeyPressed START");
+ FocusManager a1 = FocusManager.Instance;
+
+ a1.FocusedViewEnterKeyPressed += A1_FocusedViewEnterKeyPressed;
+ a1.FocusedViewEnterKeyPressed -= A1_FocusedViewEnterKeyPressed;
+
+ object o1 = new object();
+ FocusManager.FocusedViewActivatedEventArgs e = new FocusManager.FocusedViewActivatedEventArgs();
+ A1_FocusedViewEnterKeyPressed(o1, e);
+
+ tlog.Debug(tag, $"FocusManagerFocusedViewEnterKeyPressed END (OK)");
+ Assert.Pass("FocusManagerFocusedViewEnterKeyPressed");
+ }
+
+ private void A1_FocusedViewEnterKeyPressed(object sender, FocusManager.FocusedViewActivatedEventArgs e)
+ {
+ View v1 = e.View;
+ e.View = v1;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager FocusGroupLoop")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.FocusGroupLoop A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerFocusGroupLoop()
+ {
+ tlog.Debug(tag, $"FocusManagerFocusGroupLoop START");
+ FocusManager a1 = FocusManager.Instance;
+
+ a1.FocusGroupLoop = true;
+ bool b1 = a1.FocusGroupLoop;
+
+ tlog.Debug(tag, $"FocusManagerFocusGroupLoop END (OK)");
+ Assert.Pass("FocusManagerFocusGroupLoop");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager FocusIndicator")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.FocusIndicator A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerFocusIndicator()
+ {
+ tlog.Debug(tag, $"FocusManagerFocusIndicator START");
+ View v1 = new View();
+ FocusManager a1 = FocusManager.Instance;
+
+ a1.FocusIndicator = v1;
+ v1 = a1.FocusIndicator;
+ v1.Dispose();
+
+ tlog.Debug(tag, $"FocusManagerFocusIndicator END (OK)");
+ Assert.Pass("FocusManagerFocusIndicator");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager Instance")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.Instance A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerInstance()
+ {
+ tlog.Debug(tag, $"FocusManagerInstance START");
+ FocusManager a1 = FocusManager.Instance;
+ tlog.Debug(tag, $"FocusManagerInstance END (OK)");
+ Assert.Pass("FocusManagerInstance");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager SetCurrentFocusView")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.SetCurrentFocusView M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerSetCurrentFocusView()
+ {
+ tlog.Debug(tag, $"FocusManagerSetCurrentFocusView START");
+
+ FocusManager a1 = FocusManager.Instance;
+ View v1 = new View();
+ a1.SetCurrentFocusView(v1);
+
+ tlog.Debug(tag, $"FocusManagerSetCurrentFocusView END (OK)");
+ Assert.Pass("FocusManagerSetCurrentFocusView");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager GetCurrentFocusView")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.GetCurrentFocusView M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerGetCurrentFocusView()
+ {
+ tlog.Debug(tag, $"FocusManagerGetCurrentFocusView START");
+
+ FocusManager a1 = FocusManager.Instance;
+ View v1 = a1.GetCurrentFocusView();
+
+ tlog.Debug(tag, $"FocusManagerGetCurrentFocusView END (OK)");
+ Assert.Pass("FocusManagerGetCurrentFocusView");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager MoveFocus")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.MoveFocus M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerMoveFocus()
+ {
+ tlog.Debug(tag, $"FocusManagerMoveFocus START");
+ FocusManager a1 = FocusManager.Instance;
+ a1.MoveFocus(View.FocusDirection.Up);
+
+ tlog.Debug(tag, $"FocusManagerMoveFocus END (OK)");
+ Assert.Pass("FocusManagerMoveFocus");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager ClearFocus")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.ClearFocus M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerClearFocus()
+ {
+ tlog.Debug(tag, $"FocusManagerClearFocus START");
+ FocusManager a1 = FocusManager.Instance;
+ a1.ClearFocus();
+
+ tlog.Debug(tag, $"FocusManagerClearFocus END (OK)");
+ Assert.Pass("FocusManagerClearFocus");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager MoveFocusBackward")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.MoveFocusBackward M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerMoveFocusBackward()
+ {
+ tlog.Debug(tag, $"FocusManagerMoveFocusBackward START");
+ FocusManager a1 = FocusManager.Instance;
+ a1.MoveFocusBackward();
+
+ tlog.Debug(tag, $"FocusManagerMoveFocusBackward END (OK)");
+ Assert.Pass("FocusManagerMoveFocusBackward");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager SetAsFocusGroup")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.SetAsFocusGroup M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerSetAsFocusGroup()
+ {
+ tlog.Debug(tag, $"FocusManagerSetAsFocusGroup START");
+ FocusManager a1 = FocusManager.Instance;
+ View v1 = new View();
+ a1.SetAsFocusGroup(v1, true);
+
+ tlog.Debug(tag, $"FocusManagerSetAsFocusGroup END (OK)");
+ Assert.Pass("FocusManagerSetAsFocusGroup");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager IsFocusGroup")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.IsFocusGroup M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerIsFocusGroup()
+ {
+ tlog.Debug(tag, $"FocusManagerIsFocusGroup START");
+ FocusManager a1 = FocusManager.Instance;
+
+ View v1 = new View();
+ a1.IsFocusGroup(v1);
+ v1.Dispose();
+
+ tlog.Debug(tag, $"FocusManagerIsFocusGroup END (OK)");
+ Assert.Pass("FocusManagerIsFocusGroup");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager GetFocusGroup")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.GetFocusGroup M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerGetFocusGroup()
+ {
+ tlog.Debug(tag, $"FocusManagerGetFocusGroup START");
+ FocusManager a1 = FocusManager.Instance;
+
+ View v1 = new View();
+ a1.GetFocusGroup(v1);
+ v1.Dispose();
+
+ tlog.Debug(tag, $"FocusManagerGetFocusGroup END (OK)");
+ Assert.Pass("FocusManagerGetFocusGroup");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager SetCustomAlgorithm")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.SetCustomAlgorithm M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerSetCustomAlgorithm()
+ {
+ tlog.Debug(tag, $"FocusManagerSetCustomAlgorithm START");
+
+ FocusManager a1 = FocusManager.Instance;
+ a1.SetCustomAlgorithm(null);
+
+ tlog.Debug(tag, $"FocusManagerSetCustomAlgorithm END (OK)");
+ Assert.Pass("FocusManagerSetCustomAlgorithm");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("FocusManager Get")]
+ [Property("SPEC", "Tizen.NUI.FocusManager.Get M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void FocusManagerGet()
+ {
+ tlog.Debug(tag, $"FocusManagerGet START");
+ FocusManager a1 = FocusManager.Instance;
+ FocusManager.Get();
+
+ tlog.Debug(tag, $"FocusManagerGet END (OK)");
+ Assert.Pass("FocusManagerGet");
+ }
+ }
+}
--- /dev/null
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using System;
+using Tizen.NUI;
+using Tizen.NUI.BaseComponents;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Input/InputMethod")]
+ internal class PublicInputMethodTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Create a InputMethod object.")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.InputMethod C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("COVPARAM", "")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodConstructor()
+ {
+ tlog.Debug(tag, $"InputMethodConstructor START");
+ InputMethod a1 = new InputMethod();
+
+ tlog.Debug(tag, $"InputMethodConstructor END (OK)");
+ Assert.Pass("InputMethodConstructor");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethod PanelLayout")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.PanelLayout A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodPanelLayout()
+ {
+ tlog.Debug(tag, $"InputMethodPanelLayout START");
+ InputMethod a1 = new InputMethod
+ {
+ PanelLayout = InputMethod.PanelLayoutType.Email
+ };
+
+ InputMethod.PanelLayoutType p1 = a1.PanelLayout;
+
+ tlog.Debug(tag, $"InputMethodPanelLayout END (OK)");
+ Assert.Pass("InputMethodPanelLayout");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethod ActionButton")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.ActionButton A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodActionButton()
+ {
+ tlog.Debug(tag, $"InputMethodActionButton START");
+ InputMethod a1 = new InputMethod
+ {
+ ActionButton = InputMethod.ActionButtonTitleType.Done
+ };
+
+ InputMethod.ActionButtonTitleType p1 = a1.ActionButton;
+
+ tlog.Debug(tag, $"InputMethodActionButton END (OK)");
+ Assert.Pass("InputMethodActionButton");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethod AutoCapital")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.AutoCapital A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodAutoCapital()
+ {
+ tlog.Debug(tag, $"InputMethodAutoCapital START");
+ InputMethod a1 = new InputMethod
+ {
+ AutoCapital = InputMethod.AutoCapitalType.Allcharacter
+ };
+
+ InputMethod.AutoCapitalType p1 = a1.AutoCapital;
+
+ tlog.Debug(tag, $"InputMethodAutoCapital END (OK)");
+ Assert.Pass("InputMethodAutoCapital");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethod Variation")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.Variation A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodVariation()
+ {
+ tlog.Debug(tag, $"InputMethodVariation START");
+ InputMethod a1 = new InputMethod
+ {
+ Variation = 1
+ };
+
+ int p1 = a1.Variation;
+
+ tlog.Debug(tag, $"InputMethodVariation END (OK)");
+ Assert.Pass("InputMethodVariation");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethod NormalVariation")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.NormalVariation A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodNormalVariation()
+ {
+ tlog.Debug(tag, $"InputMethodNormalVariation START");
+ InputMethod a1 = new InputMethod
+ {
+ NormalVariation = InputMethod.NormalLayoutType.Normal
+ };
+
+ InputMethod.NormalLayoutType p1 = a1.NormalVariation;
+
+ tlog.Debug(tag, $"InputMethodNormalVariation END (OK)");
+ Assert.Pass("InputMethodNormalVariation");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethod NumberOnlyVariation")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.NumberOnlyVariation A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodNumberOnlyVariation()
+ {
+ tlog.Debug(tag, $"InputMethodNumberOnlyVariation START");
+ InputMethod a1 = new InputMethod
+ {
+ NumberOnlyVariation = InputMethod.NumberOnlyLayoutType.Normal
+ };
+
+ InputMethod.NumberOnlyLayoutType p1 = a1.NumberOnlyVariation;
+
+ tlog.Debug(tag, $"InputMethodNumberOnlyVariation END (OK)");
+ Assert.Pass("InputMethodNumberOnlyVariation");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethod PasswordVariation")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.PasswordVariation A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodPasswordVariation()
+ {
+ tlog.Debug(tag, $"InputMethodPasswordVariation START");
+ InputMethod a1 = new InputMethod
+ {
+ PasswordVariation = InputMethod.PasswordLayoutType.Normal
+ };
+
+ InputMethod.PasswordLayoutType p1 = a1.PasswordVariation;
+
+ tlog.Debug(tag, $"InputMethodPasswordVariation END (OK)");
+ Assert.Pass("InputMethodPasswordVariation");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethod OutputMap")]
+ [Property("SPEC", "Tizen.NUI.InputMethod.OutputMap A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodOutputMap()
+ {
+ tlog.Debug(tag, $"InputMethodOutputMap START");
+
+ InputMethod a1 = new InputMethod
+ {
+ PanelLayout = InputMethod.PanelLayoutType.Normal,
+ ActionButton = InputMethod.ActionButtonTitleType.Done,
+ AutoCapital = InputMethod.AutoCapitalType.Allcharacter,
+ Variation = 1
+ };
+
+ PropertyMap p1 = a1.OutputMap;
+
+ tlog.Debug(tag, $"InputMethodOutputMap END (OK)");
+ Assert.Pass("InputMethodOutputMap");
+ }
+ }
+
+}
\ No newline at end of file
--- /dev/null
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using System;
+using Tizen.NUI;
+using Tizen.NUI.BaseComponents;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Input/TSInputMethodContext")]
+ internal class PublicInputMethodContextTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Create a InputMethodContext object.")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.InputMethodContext C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("COVPARAM", "")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextConstructor()
+ {
+ tlog.Debug(tag, $"InputMethodContextConstructor START");
+ InputMethodContext a1 = new InputMethodContext();
+ InputMethodContext b1 = new InputMethodContext(a1);
+
+ b1.Dispose();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextConstructor END (OK)");
+ Assert.Pass("InputMethodContextConstructor");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext Activated")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.Activated A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextActivated()
+ {
+ tlog.Debug(tag, $"InputMethodContextActivated START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.Activated += A1_Activated;
+ a1.Activated -= A1_Activated;
+
+ object o1 = new object();
+ InputMethodContext.ActivatedEventArgs e = new InputMethodContext.ActivatedEventArgs();
+
+ A1_Activated(o1, e);
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextActivated END (OK)");
+ Assert.Pass("InputMethodContextActivated");
+ }
+
+ private void A1_Activated(object sender, InputMethodContext.ActivatedEventArgs e)
+ {
+ InputMethodContext a1 = e.InputMethodContext;
+ e.InputMethodContext = a1;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext EventReceived")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.EventReceived A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextEventReceived()
+ {
+ tlog.Debug(tag, $"InputMethodContextEventReceived START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.EventReceived += A1_EventReceived;
+ a1.EventReceived -= A1_EventReceived;
+
+ object o1 = new object();
+ InputMethodContext.EventReceivedEventArgs e = new InputMethodContext.EventReceivedEventArgs();
+
+ A1_EventReceived(o1, e);
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextActivated END (OK)");
+ Assert.Pass("InputMethodContextActivated");
+ }
+
+ private InputMethodContext.CallbackData A1_EventReceived(object source, InputMethodContext.EventReceivedEventArgs e)
+ {
+ InputMethodContext a1 = e.InputMethodContext;
+ e.InputMethodContext = a1;
+
+ InputMethodContext.EventData b1 = e.EventData;
+ e.EventData = b1;
+
+ return null;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext StatusChanged")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.StatusChanged A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextStatusChanged()
+ {
+ tlog.Debug(tag, $"InputMethodContextStatusChanged START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.StatusChanged += A1_StatusChanged;
+ a1.StatusChanged -= A1_StatusChanged;
+
+ object o1 = new object();
+ InputMethodContext.StatusChangedEventArgs e = new InputMethodContext.StatusChangedEventArgs();
+
+ A1_StatusChanged(o1, e);
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextStatusChanged END (OK)");
+ Assert.Pass("InputMethodContextStatusChanged");
+ }
+
+ private void A1_StatusChanged(object sender, InputMethodContext.StatusChangedEventArgs e)
+ {
+ bool a1 = e.StatusChanged;
+ e.StatusChanged = a1;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext Resized")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.Resized A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextResized()
+ {
+ tlog.Debug(tag, $"InputMethodContextResized START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.Resized += A1_Resized;
+ a1.Resized -= A1_Resized;
+
+ object o1 = new object();
+ InputMethodContext.ResizedEventArgs e = new InputMethodContext.ResizedEventArgs();
+
+ A1_Resized(o1, e);
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextResized END (OK)");
+ Assert.Pass("InputMethodContextResized");
+ }
+
+ private void A1_Resized(object sender, InputMethodContext.ResizedEventArgs e)
+ {
+ e.Resized = 5;
+ int i = e.Resized;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext LanguageChanged")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.LanguageChanged A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextLanguageChanged()
+ {
+ tlog.Debug(tag, $"InputMethodContextLanguageChanged START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.LanguageChanged += A1_LanguageChanged;
+ a1.LanguageChanged -= A1_LanguageChanged;
+
+ object o1 = new object();
+ InputMethodContext.LanguageChangedEventArgs e = new InputMethodContext.LanguageChangedEventArgs();
+
+ A1_LanguageChanged(o1, e);
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextLanguageChanged END (OK)");
+ Assert.Pass("InputMethodContextLanguageChanged");
+ }
+
+ private void A1_LanguageChanged(object sender, InputMethodContext.LanguageChangedEventArgs e)
+ {
+ int i = e.LanguageChanged;
+ e.LanguageChanged = i;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext KeyboardTypeChanged")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.KeyboardTypeChanged A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextKeyboardTypeChanged()
+ {
+ tlog.Debug(tag, $"InputMethodContextKeyboardTypeChanged START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.KeyboardTypeChanged += A1_KeyboardTypeChanged;
+ a1.KeyboardTypeChanged -= A1_KeyboardTypeChanged;
+
+ object o1 = new object();
+ InputMethodContext.KeyboardTypeChangedEventArgs e = new InputMethodContext.KeyboardTypeChangedEventArgs();
+
+ A1_KeyboardTypeChanged(o1, e);
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextKeyboardTypeChanged END (OK)");
+ Assert.Pass("InputMethodContextKeyboardTypeChanged");
+ }
+
+ private void A1_KeyboardTypeChanged(object sender, InputMethodContext.KeyboardTypeChangedEventArgs e)
+ {
+ InputMethodContext.KeyboardType b1 = e.KeyboardType;
+ e.KeyboardType = b1;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext ContentReceived")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.ContentReceived A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextContentReceived()
+ {
+ tlog.Debug(tag, $"InputMethodContextContentReceived START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.ContentReceived += A1_ContentReceived;
+ a1.ContentReceived -= A1_ContentReceived;
+
+ object o1 = new object();
+ InputMethodContext.ContentReceivedEventArgs e = new InputMethodContext.ContentReceivedEventArgs();
+
+ A1_ContentReceived(o1, e);
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextContentReceived END (OK)");
+ Assert.Pass("InputMethodContextContentReceived");
+ }
+
+ private void A1_ContentReceived(object sender, InputMethodContext.ContentReceivedEventArgs e)
+ {
+ string s1 = e.Content;
+ e.Content = s1;
+
+ string s2 = e.Description;
+ e.Description = s2;
+
+ string s3 = e.MimeType;
+ e.MimeType = s3;
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext DestroyContext")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.DestroyContext M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextDestroyContext()
+ {
+ tlog.Debug(tag, $"InputMethodContextDestroyContext START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.DestroyContext();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextDestroyContext END (OK)");
+ Assert.Pass("InputMethodContextDestroyContext");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext Activate")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.Activate M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextActivate()
+ {
+ tlog.Debug(tag, $"InputMethodContextActivate START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.Activate();
+ a1.Deactivate();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextActivate END (OK)");
+ Assert.Pass("InputMethodContextActivate");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext Deactivate")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.Deactivate M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextDeactivate()
+ {
+ tlog.Debug(tag, $"InputMethodContextDeactivate START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.Activate();
+ a1.Deactivate();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextDeactivate END (OK)");
+ Assert.Pass("InputMethodContextDeactivate");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext RestoreAfterFocusLost")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.RestoreAfterFocusLost M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextRestoreAfterFocusLost()
+ {
+ tlog.Debug(tag, $"InputMethodContextRestoreAfterFocusLost START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.RestoreAfterFocusLost();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextRestoreAfterFocusLost END (OK)");
+ Assert.Pass("InputMethodContextRestoreAfterFocusLost");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext SetRestoreAfterFocusLost")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.SetRestoreAfterFocusLost M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextSetRestoreAfterFocusLost()
+ {
+ tlog.Debug(tag, $"InputMethodContextSetRestoreAfterFocusLost START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.SetRestoreAfterFocusLost(true);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextSetRestoreAfterFocusLost END (OK)");
+ Assert.Pass("InputMethodContextSetRestoreAfterFocusLost");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext Reset")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.Reset M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextReset()
+ {
+ tlog.Debug(tag, $"InputMethodContextReset START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.Reset();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextReset END (OK)");
+ Assert.Pass("InputMethodContextReset");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext NotifyCursorPosition")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.NotifyCursorPosition M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextNotifyCursorPosition()
+ {
+ tlog.Debug(tag, $"InputMethodContextNotifyCursorPosition START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.NotifyCursorPosition();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextNotifyCursorPosition END (OK)");
+ Assert.Pass("InputMethodContextNotifyCursorPosition");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext SetCursorPosition")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.SetCursorPosition M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextSetCursorPosition()
+ {
+ tlog.Debug(tag, $"InputMethodContextSetCursorPosition START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.SetCursorPosition(5);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextSetCursorPosition END (OK)");
+ Assert.Pass("InputMethodContextSetCursorPosition");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext GetCursorPosition")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.GetCursorPosition M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextGetCursorPosition()
+ {
+ tlog.Debug(tag, $"InputMethodContextGetCursorPosition START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.GetCursorPosition();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextGetCursorPosition END (OK)");
+ Assert.Pass("InputMethodContextGetCursorPosition");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext SetSurroundingText")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.SetSurroundingText M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextSetSurroundingText()
+ {
+ tlog.Debug(tag, $"InputMethodContextSetSurroundingText START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.SetSurroundingText("surrounding text");
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextSetSurroundingText END (OK)");
+ Assert.Pass("InputMethodContextSetSurroundingText");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext GetSurroundingText")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.GetSurroundingText M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextGetSurroundingText()
+ {
+ tlog.Debug(tag, $"InputMethodContextGetSurroundingText START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.GetSurroundingText();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextGetSurroundingText END (OK)");
+ Assert.Pass("InputMethodContextGetSurroundingText");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext NotifyTextInputMultiLine")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.NotifyTextInputMultiLine M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextNotifyTextInputMultiLine()
+ {
+ tlog.Debug(tag, $"InputMethodContextNotifyTextInputMultiLine START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.NotifyTextInputMultiLine(true);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextNotifyTextInputMultiLine END (OK)");
+ Assert.Pass("InputMethodContextNotifyTextInputMultiLine");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext GetTextDirection")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.GetTextDirection M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextGetTextDirection()
+ {
+ tlog.Debug(tag, $"InputMethodContextGetTextDirection START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.GetTextDirection();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextGetTextDirection END (OK)");
+ Assert.Pass("InputMethodContextGetTextDirection");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext GetInputMethodArea")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.GetInputMethodArea M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextGetInputMethodArea()
+ {
+ tlog.Debug(tag, $"InputMethodContextGetInputMethodArea START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.GetInputMethodArea();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextGetInputMethodArea END (OK)");
+ Assert.Pass("InputMethodContextGetInputMethodArea");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext SetInputPanelUserData")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.SetInputPanelUserData M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextSetInputPanelUserData()
+ {
+ tlog.Debug(tag, $"InputMethodContextSetInputPanelUserData START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.SetInputPanelUserData("userdata");
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextSetInputPanelUserData END (OK)");
+ Assert.Pass("InputMethodContextSetInputPanelUserData");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext GetInputPanelUserData")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.GetInputPanelUserData M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextGetInputPanelUserData()
+ {
+ tlog.Debug(tag, $"InputMethodContextGetInputPanelUserData START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.GetInputPanelUserData(out string b1);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextGetInputPanelUserData END (OK)");
+ Assert.Pass("InputMethodContextGetInputPanelUserData");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext GetInputPanelState")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.GetInputPanelState M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextGetInputPanelState()
+ {
+ tlog.Debug(tag, $"InputMethodContextGetInputPanelState START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.GetInputPanelState();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextGetInputPanelState END (OK)");
+ Assert.Pass("InputMethodContextGetInputPanelState");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext SetReturnKeyState")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.SetReturnKeyState M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextSetReturnKeyState()
+ {
+ tlog.Debug(tag, $"InputMethodContextSetReturnKeyState START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.SetReturnKeyState(true);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextSetReturnKeyState END (OK)");
+ Assert.Pass("InputMethodContextSetReturnKeyState");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext AutoEnableInputPanel")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.AutoEnableInputPanel M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextAutoEnableInputPanel()
+ {
+ tlog.Debug(tag, $"InputMethodContextAutoEnableInputPanel START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.AutoEnableInputPanel(true);
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextAutoEnableInputPanel END (OK)");
+ Assert.Pass("InputMethodContextAutoEnableInputPanel");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext ShowInputPanel")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.ShowInputPanel M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextShowInputPanel()
+ {
+ tlog.Debug(tag, $"InputMethodContextShowInputPanel START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.ShowInputPanel();
+ a1.Dispose();
+
+ tlog.Debug(tag, $"InputMethodContextShowInputPanel END (OK)");
+ Assert.Pass("InputMethodContextShowInputPanel");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext getCPtr")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.getCPtr M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextgetCPtr()
+ {
+ tlog.Debug(tag, $"InputMethodContextgetCPtr START");
+ InputMethodContext a1 = new InputMethodContext();
+
+ global::System.Runtime.InteropServices.HandleRef p1 = InputMethodContext.getCPtr(a1);
+ tlog.Debug(tag, $"InputMethodContextgetCPtr END (OK)");
+ Assert.Pass("InputMethodContextgetCPtr");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext Assign")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.Assign M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextAssign()
+ {
+ tlog.Debug(tag, $"InputMethodContextAssign START");
+ InputMethodContext a1 = new InputMethodContext();
+ InputMethodContext b1 = a1;
+
+ tlog.Debug(tag, $"InputMethodContextAssign END (OK)");
+ Assert.Pass("InputMethodContextAssign");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext DownCast")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.DownCast M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextDownCast()
+ {
+ tlog.Debug(tag, $"InputMethodContextDownCast START");
+ BaseHandle handle = new BaseHandle();
+
+ InputMethodContext a1 = InputMethodContext.DownCast(handle);
+
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextDownCast END (OK)");
+ Assert.Pass("InputMethodContextDownCast");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext ApplyOptions")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.ApplyOptions M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextApplyOptions()
+ {
+ tlog.Debug(tag, $"InputMethodContextApplyOptions START");
+
+ InputMethodContext a1 = new InputMethodContext();
+ InputMethodOptions option = new InputMethodOptions();
+
+ a1.ApplyOptions(option);
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextApplyOptions END (OK)");
+ Assert.Pass("InputMethodContextApplyOptions");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext LanguageChangedSignal")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.LanguageChangedSignal M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextLanguageChangedSignal()
+ {
+ tlog.Debug(tag, $"InputMethodContextLanguageChangedSignal START");
+
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.LanguageChangedSignal();
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextLanguageChangedSignal END (OK)");
+ Assert.Pass("InputMethodContextLanguageChangedSignal");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext KeyboardTypeChangedSignal")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.KeyboardTypeChangedSignal M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextKeyboardTypeChangedSignal()
+ {
+ tlog.Debug(tag, $"InputMethodContextKeyboardTypeChangedSignal START");
+
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.KeyboardTypeChangedSignal();
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextKeyboardTypeChangedSignal END (OK)");
+ Assert.Pass("InputMethodContextKeyboardTypeChangedSignal");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("InputMethodContext ContentReceivedSignal")]
+ [Property("SPEC", "Tizen.NUI.InputMethodContext.ContentReceivedSignal M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void InputMethodContextContentReceivedSignal()
+ {
+ tlog.Debug(tag, $"InputMethodContextContentReceivedSignal START");
+
+ InputMethodContext a1 = new InputMethodContext();
+
+ a1.ContentReceivedSignal();
+ a1.Dispose();
+ tlog.Debug(tag, $"InputMethodContextContentReceivedSignal END (OK)");
+ Assert.Pass("InputMethodContextContentReceivedSignal");
+ }
+ }
+
+}
\ No newline at end of file
--- /dev/null
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using System;
+using Tizen.NUI;
+using Tizen.NUI.BaseComponents;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Input/Key")]
+ internal class PublicKeyTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Create a Key object.")]
+ [Property("SPEC", "Tizen.NUI.Key.Key C")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "CONSTR")]
+ [Property("COVPARAM", "")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyConstructor()
+ {
+ tlog.Debug(tag, $"KeyConstructor START");
+ Key a1 = new Key("keyName", "keyString", 97, 90, 100000, Key.StateType.Down);
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyConstructor END (OK)");
+ Assert.Pass("KeyConstructor");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Key LogicalKey")]
+ [Property("SPEC", "Tizen.NUI.Key.LogicalKey A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyLogicalKey()
+ {
+ tlog.Debug(tag, $"KeyLogicalKey START");
+ Key a1 = new Key();
+ string b1 = a1.LogicalKey;
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyLogicalKey END (OK)");
+ Assert.Pass("KeyLogicalKey");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Key KeyPressed")]
+ [Property("SPEC", "Tizen.NUI.Key.KeyPressed A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyKeyPressed()
+ {
+ tlog.Debug(tag, $"KeyKeyPressed START");
+ Key a1 = new Key();
+ string b1 = a1.KeyPressed;
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyKeyPressed END (OK)");
+ Assert.Pass("KeyKeyPressed");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Key KeyString")]
+ [Property("SPEC", "Tizen.NUI.Key.KeyString A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyKeyString()
+ {
+ tlog.Debug(tag, $"KeyKeyString START");
+ Key a1 = new Key();
+ string b1 = a1.KeyString;
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyKeyString END (OK)");
+ Assert.Pass("KeyKeyString");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Key KeyModifier")]
+ [Property("SPEC", "Tizen.NUI.Key.KeyModifier A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyKeyModifier()
+ {
+ tlog.Debug(tag, $"KeyKeyModifier START");
+ Key a1 = new Key();
+ int b1 = a1.KeyModifier;
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyKeyModifier END (OK)");
+ Assert.Pass("KeyKeyModifier");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Key Time")]
+ [Property("SPEC", "Tizen.NUI.Key.Time A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyTime()
+ {
+ tlog.Debug(tag, $"KeyTime START");
+ Key a1 = new Key
+ {
+ Time = 1000
+ };
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyTime END (OK)");
+ Assert.Pass("KeyTime");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Key GetKeyFromPtr")]
+ [Property("SPEC", "Tizen.NUI.Key.GetKeyFromPtr M")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "MR")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyGetKeyFromPtr()
+ {
+ tlog.Debug(tag, $"KeyGetKeyFromPtr START");
+ Key a1 = new Key();
+
+ Key b1 = Key.GetKeyFromPtr(Key.getCPtr(a1).Handle);
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyGetKeyFromPtr END (OK)");
+ Assert.Pass("KeyGetKeyFromPtr");
+ }
+ }
+
+}
\ No newline at end of file
--- /dev/null
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using System;
+using Tizen.NUI;
+using Tizen.NUI.BaseComponents;
+
+namespace Tizen.NUI.Devel.Tests
+{
+ using tlog = Tizen.Log;
+
+ [TestFixture]
+ [Description("public/Input/KeyValue")]
+ internal class PublicKeyValueTest
+ {
+ private const string tag = "NUITEST";
+
+ [SetUp]
+ public void Init()
+ {
+ tlog.Info(tag, "Init() is called!");
+ }
+
+ [TearDown]
+ public void Destroy()
+ {
+ tlog.Info(tag, "Destroy() is called!");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue OriginalKey")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.OriginalKey A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueOriginalKey()
+ {
+ tlog.Debug(tag, $"KeyValueOriginalKey START");
+ KeyValue a1 = new KeyValue
+ {
+ OriginalKey = null
+ };
+ a1.OriginalKey = 10;
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueOriginalKey END (OK)");
+ Assert.Pass("KeyValueOriginalKey");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue IntegerKey")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.IntegerKey A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueIntegerKey()
+ {
+ tlog.Debug(tag, $"KeyValueIntegerKey START");
+ KeyValue a1 = new KeyValue
+ {
+ IntegerKey = 10
+ };
+
+ int? b1 = a1.IntegerKey;
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueIntegerKey END (OK)");
+ Assert.Pass("KeyValueIntegerKey");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue StringKey")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.StringKey A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueStringKey()
+ {
+ tlog.Debug(tag, $"KeyValueStringKey START");
+ KeyValue a1 = new KeyValue
+ {
+ StringKey = "keyvalue"
+ };
+
+ string b1 = a1.StringKey;
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueStringKey END (OK)");
+ Assert.Pass("KeyValueStringKey");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue PropertyValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.PropertyValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValuePropertyValue()
+ {
+ tlog.Debug(tag, $"KeyValuePropertyValue START");
+
+ PropertyValue p1 = new PropertyValue();
+ KeyValue a1 = new KeyValue
+ {
+ PropertyValue = p1
+ };
+
+ p1 = a1.PropertyValue;
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValuePropertyValue END (OK)");
+ Assert.Pass("KeyValuePropertyValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue IntergerValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.IntergerValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueIntergerValue()
+ {
+ tlog.Debug(tag, $"KeyValueIntergerValue START");
+
+ KeyValue a1 = new KeyValue
+ {
+ IntergerValue = 10
+ };
+
+ int b1 = a1.IntergerValue;
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueIntergerValue END (OK)");
+ Assert.Pass("KeyValueIntergerValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue BooleanValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.BooleanValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueBooleanValue()
+ {
+ tlog.Debug(tag, $"KeyValueBooleanValue START");
+
+ KeyValue a1 = new KeyValue
+ {
+ BooleanValue = true
+ };
+
+ bool b1 = a1.BooleanValue;
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueBooleanValue END (OK)");
+ Assert.Pass("KeyValueBooleanValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue SingleValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.SingleValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueSingleValue()
+ {
+ tlog.Debug(tag, $"KeyValueSingleValue START");
+
+ KeyValue a1 = new KeyValue
+ {
+ SingleValue = 10
+ };
+
+ float b1 = a1.SingleValue;
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueSingleValue END (OK)");
+ Assert.Pass("KeyValueSingleValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue StringValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.StringValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueStringValue()
+ {
+ tlog.Debug(tag, $"KeyValueStringValue START");
+
+ KeyValue a1 = new KeyValue
+ {
+ StringValue = "stringvalue"
+ };
+
+ string b1 = a1.StringValue;
+
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueStringValue END (OK)");
+ Assert.Pass("KeyValueStringValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue Vector2Value")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.Vector2Value A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueVector2Value()
+ {
+ tlog.Debug(tag, $"KeyValueVector2Value START");
+
+ Vector2 b1 = new Vector2(1, 1);
+ KeyValue a1 = new KeyValue
+ {
+ Vector2Value = b1
+ };
+
+ b1 = a1.Vector2Value;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueVector2Value END (OK)");
+ Assert.Pass("KeyValueVector2Value");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue Vector3Value")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.Vector3Value A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueVector3Value()
+ {
+ tlog.Debug(tag, $"KeyValueVector3Value START");
+
+ Vector3 b1 = new Vector3(1, 1, 1);
+ KeyValue a1 = new KeyValue
+ {
+ Vector3Value = b1
+ };
+
+ b1 = a1.Vector3Value;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueVector3Value END (OK)");
+ Assert.Pass("KeyValueVector3Value");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue Vector4Value")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.Vector4Value A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueVector4Value()
+ {
+ tlog.Debug(tag, $"KeyValueVector4Value START");
+
+ Vector4 b1 = new Vector4(1, 1, 1, 0);
+ KeyValue a1 = new KeyValue
+ {
+ Vector4Value = b1
+ };
+
+ b1 = a1.Vector4Value;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueVector4Value END (OK)");
+ Assert.Pass("KeyValueVector4Value");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue PositionValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.PositionValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValuePositionValue()
+ {
+ tlog.Debug(tag, $"KeyValuePositionValue START");
+
+ Position b1 = new Position(1, 1, 0);
+ KeyValue a1 = new KeyValue
+ {
+ PositionValue = b1
+ };
+
+ b1 = a1.PositionValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValuePositionValue END (OK)");
+ Assert.Pass("KeyValuePositionValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue Position2DValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.Position2DValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValuePosition2DValue()
+ {
+ tlog.Debug(tag, $"KeyValuePosition2DValue START");
+
+ Position2D b1 = new Position2D(1, 1);
+ KeyValue a1 = new KeyValue
+ {
+ Position2DValue = b1
+ };
+
+ b1 = a1.Position2DValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValuePosition2DValue END (OK)");
+ Assert.Pass("KeyValuePosition2DValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue SizeValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.SizeValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueSizeValue()
+ {
+ tlog.Debug(tag, $"KeyValueSizeValue START");
+
+ Size b1 = new Size(1, 1, 0);
+ KeyValue a1 = new KeyValue
+ {
+ SizeValue = b1
+ };
+
+ b1 = a1.SizeValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueSizeValue END (OK)");
+ Assert.Pass("KeyValueSizeValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue Size2DValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.Size2DValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueSize2DValue()
+ {
+ tlog.Debug(tag, $"KeyValueSize2DValue START");
+
+ Size2D b1 = new Size2D(0, 0);
+ KeyValue a1 = new KeyValue
+ {
+ Size2DValue = b1
+ };
+
+ b1 = a1.Size2DValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueSize2DValue END (OK)");
+ Assert.Pass("KeyValueSize2DValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue ColorValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.ColorValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueColorValue()
+ {
+ tlog.Debug(tag, $"KeyValueColorValue START");
+
+ Color b1 = new Color(0, 0, 0, 0);
+ KeyValue a1 = new KeyValue
+ {
+ ColorValue = b1
+ };
+
+ b1 = a1.ColorValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueColorValue END (OK)");
+ Assert.Pass("KeyValueColorValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue RectangleValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.RectangleValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueRectangleValue()
+ {
+ tlog.Debug(tag, $"KeyValueRectangleValue START");
+
+ Rectangle b1 = new Rectangle(0, 0, 0, 0);
+ KeyValue a1 = new KeyValue
+ {
+ RectangleValue = b1
+ };
+
+ b1 = a1.RectangleValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueRectangleValue END (OK)");
+ Assert.Pass("KeyValueRectangleValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue RotationValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.RotationValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueRotationValue()
+ {
+ tlog.Debug(tag, $"KeyValueRotationValue START");
+
+ Rotation b1 = new Rotation();
+ KeyValue a1 = new KeyValue
+ {
+ RotationValue = b1
+ };
+
+ b1 = a1.RotationValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueRotationValue END (OK)");
+ Assert.Pass("KeyValueRotationValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue RelativeVector2Value")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.RelativeVector2Value A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueRelativeVector2Value()
+ {
+ tlog.Debug(tag, $"KeyValueRelativeVector2Value START");
+
+ RelativeVector2 b1 = new RelativeVector2(0, 0);
+ KeyValue a1 = new KeyValue
+ {
+ RelativeVector2Value = b1
+ };
+
+ b1 = a1.RelativeVector2Value;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueRelativeVector2Value END (OK)");
+ Assert.Pass("KeyValueRelativeVector2Value");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue RelativeVector3Value")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.RelativeVector3Value A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueRelativeVector3Value()
+ {
+ tlog.Debug(tag, $"KeyValueRelativeVector3Value START");
+
+ RelativeVector3 b1 = new RelativeVector3(0, 0, 0);
+ KeyValue a1 = new KeyValue
+ {
+ RelativeVector3Value = b1
+ };
+
+ b1 = a1.RelativeVector3Value;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueRelativeVector3Value END (OK)");
+ Assert.Pass("KeyValueRelativeVector3Value");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue RelativeVector4Value")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.RelativeVector4Value A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueRelativeVector4Value()
+ {
+ tlog.Debug(tag, $"KeyValueRelativeVector4Value START");
+
+ RelativeVector4 b1 = new RelativeVector4(0, 0, 0, 0);
+ KeyValue a1 = new KeyValue
+ {
+ RelativeVector4Value = b1
+ };
+
+ b1 = a1.RelativeVector4Value;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueRelativeVector4Value END (OK)");
+ Assert.Pass("KeyValueRelativeVector4Value");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue ExtentsValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.ExtentsValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValueExtentsValue()
+ {
+ tlog.Debug(tag, $"KeyValueExtentsValue START");
+
+ Extents b1 = new Extents(0, 0, 0, 0);
+ KeyValue a1 = new KeyValue
+ {
+ ExtentsValue = b1
+ };
+
+ b1 = a1.ExtentsValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValueExtentsValue END (OK)");
+ Assert.Pass("KeyValueExtentsValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue PropertyArrayValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.PropertyArrayValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValuePropertyArrayValue()
+ {
+ tlog.Debug(tag, $"KeyValuePropertyArrayValue START");
+
+ PropertyArray b1 = new PropertyArray();
+ KeyValue a1 = new KeyValue
+ {
+ PropertyArrayValue = b1
+ };
+
+ b1 = a1.PropertyArrayValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValuePropertyArrayValue END (OK)");
+ Assert.Pass("KeyValuePropertyArrayValue");
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("KeyValue PropertyMapValue")]
+ [Property("SPEC", "Tizen.NUI.KeyValue.PropertyMapValue A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRW")]
+ [Property("AUTHOR", "guowei.wang@samsung.com")]
+ public void KeyValuePropertyMapValue()
+ {
+ tlog.Debug(tag, $"KeyValuePropertyMapValue START");
+
+ PropertyMap b1 = new PropertyMap();
+ KeyValue a1 = new KeyValue
+ {
+ PropertyMapValue = b1
+ };
+
+ b1 = a1.PropertyMapValue;
+
+ b1.Dispose();
+ a1.Dispose();
+ tlog.Debug(tag, $"KeyValuePropertyMapValue END (OK)");
+ Assert.Pass("KeyValuePropertyMapValue");
+ }
+ }
+
+}
\ No newline at end of file