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/Utility/ItemFactory")]
13 public class InternalItemFactoryTest
15 private const string tag = "NUITEST";
17 internal class MyItemFactory : ItemFactory
19 public MyItemFactory() : base()
26 tlog.Info(tag, "Init() is called!");
32 tlog.Info(tag, "Destroy() is called!");
37 [Description("ItemFactory constructor.")]
38 [Property("SPEC", "Tizen.NUI.ItemFactory.ItemFactory C")]
39 [Property("SPEC_URL", "-")]
40 [Property("CRITERIA", "CONSTR")]
41 [Property("AUTHOR", "guowei.wang@samsung.com")]
42 public void ItemFactoryConstructor()
44 tlog.Debug(tag, $"ItemFactoryConstructor START");
46 var testingTarget = new ItemFactory();
47 Assert.IsNotNull(testingTarget, "Should be not null!");
48 Assert.IsInstanceOf<ItemFactory>(testingTarget, "Should be an Instance of ItemFactory!");
50 testingTarget.Dispose();
52 tlog.Debug(tag, $"ItemFactoryConstructor END (OK)");