3 using NUnit.Framework.TUnit;
5 using Tizen.NUI.Components;
6 using Tizen.NUI.BaseComponents;
7 using Tizen.NUI.Binding;
9 namespace Tizen.NUI.Components.Devel.Tests
11 using tlog = Tizen.Log;
14 [Description("Style/PopupStyle")]
15 public class PopupStyleTest
17 private const string tag = "NUITEST";
22 tlog.Info(tag, "Init() is called!");
28 tlog.Info(tag, "Destroy() is called!");
32 [Description("PopupStyle constructor.")]
33 [Property("SPEC", "Tizen.NUI.Components.PopupStyle.PopupStyle C")]
34 [Property("SPEC_URL", "-")]
35 [Property("CRITERIA", "CONSTR")]
36 [Property("COVPARAM", "")]
37 [Property("AUTHOR", "guowei.wang@samsung.com")]
38 public void PopupStyleConstructor()
40 tlog.Debug(tag, $"PopupStyleConstructor START");
42 PopupStyle style = new PopupStyle()
44 BackgroundColor = Color.Cyan,
46 var testingTarget = new PopupStyle(style);
47 Assert.IsNotNull(testingTarget, "null handle");
48 Assert.IsInstanceOf<PopupStyle>(testingTarget, "Should return PopupStyle instance.");
50 testingTarget.Dispose();
51 tlog.Debug(tag, $"PopupStyleConstructor END (OK)");