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/ViewWrapperImpl")]
13 public class InternalViewWrapperImplTest
15 private const string tag = "NUITEST";
20 tlog.Info(tag, "Init() is called!");
26 tlog.Info(tag, "Destroy() is called!");
31 [Description("ViewWrapperImpl constructor.")]
32 [Property("SPEC", "Tizen.NUI.ViewWrapperImpl.ViewWrapperImpl M")]
33 [Property("SPEC_URL", "-")]
34 [Property("CRITERIA", "MR")]
35 [Property("COVPARAM", "")]
36 [Property("AUTHOR", "guowei.wang@samsung.com")]
37 public void ViewWrapperImplConstructor()
39 tlog.Debug(tag, $"ViewWrapperImplConstructor START");
41 var testingTarget = new ViewWrapperImpl(CustomViewBehaviour.ViewBehaviourDefault);
42 Assert.IsNotNull(testingTarget, "should be not null");
43 Assert.IsInstanceOf<ViewWrapperImpl>(testingTarget, "should be an instance of testing target class!");
45 testingTarget.Dispose();
46 tlog.Debug(tag, $"ViewWrapperImplConstructor END (OK)");
51 [Description("ViewWrapperImpl ViewBehaviourFlagCount.")]
52 [Property("SPEC", "Tizen.NUI.ViewWrapperImpl.ViewBehaviourFlagCount A")]
53 [Property("SPEC_URL", "-")]
54 [Property("CRITERIA", "PRO")]
55 [Property("COVPARAM", "")]
56 [Property("AUTHOR", "guowei.wang@samsung.com")]
57 public void ViewWrapperImplViewBehaviourFlagCount()
59 tlog.Debug(tag, $"ViewWrapperImplViewBehaviourFlagCount START");
61 var result = ViewWrapperImpl.ViewBehaviourFlagCount;
62 tlog.Debug(tag, "ViewBehaviourFlagCount : " + result);
64 tlog.Debug(tag, $"ViewWrapperImplViewBehaviourFlagCount END (OK)");