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/Utility/GetBaseType")]
13 public class InternalGetBaseTypeTest
15 private const string tag = "NUITEST";
20 tlog.Info(tag, "Init() is called!");
26 tlog.Info(tag, "Destroy() is called!");
31 [Description("GetBaseType GetBaseTypeByIndex.")]
32 [Property("SPEC", "Tizen.NUI.EXaml.GetBaseType.GetBaseTypeByIndex C")]
33 [Property("SPEC_URL", "-")]
34 [Property("CRITERIA", "CONSTR")]
35 [Property("AUTHOR", "guowei.wang@samsung.com")]
36 public void EXamlGetBaseTypeGetBaseTypeByIndex()
38 tlog.Debug(tag, $"EXamlGetBaseTypeGetBaseTypeByIndex START");
42 var result = Tizen.NUI.EXaml.GetBaseType.GetBaseTypeByIndex(-3);
43 tlog.Debug(tag, result.ToString());
47 tlog.Debug(tag, e.Message.ToString());
48 Assert.Fail("Caught Exception : Failed!");
51 tlog.Debug(tag, $"EXamlGetBaseTypeGetBaseTypeByIndex END (OK)");