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/NativeImageInterface")]
13 public class InternalNativeImageInterfaceTest
15 private const string tag = "NUITEST";
20 tlog.Info(tag, "Init() is called!");
26 tlog.Info(tag, "Destroy() is called!");
31 [Description("NativeImageInterface constructor.")]
32 [Property("SPEC", "Tizen.NUI.NativeImageInterface.NativeImageInterface C")]
33 [Property("SPEC_URL", "-")]
34 [Property("CRITERIA", "CONSTR")]
35 [Property("AUTHOR", "guowei.wang@samsung.com")]
36 public void NativeImageInterfaceConstructor()
38 tlog.Debug(tag, $"NativeImageInterfaceConstructor START");
40 using (ImageView view = new ImageView())
42 var testingTarget = new NativeImageInterface(view.SwigCPtr.Handle, false);
43 Assert.IsNotNull(testingTarget, "Should be not null!");
44 Assert.IsInstanceOf<NativeImageInterface>(testingTarget, "Should be an Instance of NativeImageInterface!");
46 testingTarget.Dispose();
49 tlog.Debug(tag, $"NativeImageInterfaceConstructor END (OK)");