3 using NUnit.Framework.TUnit;
4 using Tizen.NUI.Components;
5 using Tizen.NUI.BaseComponents;
7 namespace Tizen.NUI.Devel.Tests
9 using tlog = Tizen.Log;
12 [Description("internal/EXaml/Action/Action")]
13 public class InternalEXamlActionTest
15 private const string tag = "NUITEST";
20 tlog.Info(tag, "Init() is called!");
26 tlog.Info(tag, "Destroy() is called!");
31 [Description("Action Instance.")]
32 [Property("SPEC", "Tizen.NUI.EXaml.Action.Instance C")]
33 [Property("SPEC_URL", "-")]
34 [Property("CRITERIA", "CONSTR")]
35 [Property("AUTHOR", "guowei.wang@samsung.com")]
36 public void EXamlActionInstance()
38 tlog.Debug(tag, $"EXamlActionInstance START");
40 var testingTarget = new Tizen.NUI.EXaml.Instance(1);
41 Assert.IsNotNull(testingTarget, "Can't create success object Instance");
42 Assert.IsInstanceOf<Tizen.NUI.EXaml.Instance>(testingTarget, "Should be an instance of Instance type.");
44 var result = testingTarget.Index;
45 Assert.AreEqual(1, result, "Should be equal!");
47 tlog.Debug(tag, $"EXamlActionInstance END (OK)");