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/Common/ObjectRegistry")]
13 public class InternalObjectRegistryTest
15 private const string tag = "NUITEST";
16 private ObjectRegistry registry = null;
21 tlog.Info(tag, "Init() is called!");
27 tlog.Info(tag, "Destroy() is called!");
32 [Description("ObjectRegistry constructor.")]
33 [Property("SPEC", "Tizen.NUI.ObjectRegistry.ObjectRegistry C")]
34 [Property("SPEC_URL", "-")]
35 [Property("CRITERIA", "CONSTR")]
36 [Property("COVPARAM", "")]
37 [Property("AUTHOR", "guowei.wang@samsung.com")]
38 public void ObjectRegistryConstructor()
40 tlog.Debug(tag, $"ObjectRegistryConstructor START");
42 var testingTarget = new ObjectRegistry();
43 Assert.IsNotNull(testingTarget, "null handle");
44 Assert.IsInstanceOf<ObjectRegistry>(testingTarget, "Should return ObjectRegistry instance.");
46 testingTarget.Dispose();
47 tlog.Debug(tag, $"ObjectRegistryConstructor END (OK)");