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/EXaml/Block/GatherPropertiesBlock")]
13 internal class PublicGatherPropertiesBlockTest
15 private const string tag = "NUITEST";
20 tlog.Info(tag, "Init() is called!");
26 tlog.Info(tag, "Destroy() is called!");
31 [Description("GatherPropertiesBlock constructor.")]
32 [Property("SPEC", "Tizen.NUI.EXaml.GatherPropertiesBlock.GatherPropertiesBlock C")]
33 [Property("SPEC_URL", "-")]
34 [Property("CRITERIA", "CONSTR")]
35 [Property("AUTHOR", "guowei.wang@samsung.com")]
36 public void EXamlGatherPropertiesBlockConstructor()
38 tlog.Debug(tag, $"EXamlGatherPropertiesBlockConstructor START");
40 var testingTarget = new Tizen.NUI.EXaml.GatherPropertiesBlock(new Tizen.NUI.EXaml.GlobalDataList(), null);
41 Assert.IsNotNull(testingTarget, "Can't create success object GatherPropertiesBlock");
42 Assert.IsInstanceOf<Tizen.NUI.EXaml.GatherPropertiesBlock>(testingTarget, "Should be an instance of GatherPropertiesBlock type.");
44 tlog.Debug(tag, $"EXamlGatherPropertiesBlockConstructor END (OK)");
49 [Description("GatherPropertiesBlock Init.")]
50 [Property("SPEC", "Tizen.NUI.EXaml.GatherPropertiesBlock.Init M")]
51 [Property("SPEC_URL", "-")]
52 [Property("CRITERIA", "MR")]
53 [Property("AUTHOR", "guowei.wang@samsung.com")]
54 public void EXamlGatherPropertiesBlockInit()
56 tlog.Debug(tag, $"EXamlGatherPropertiesBlockInit START");
58 var testingTarget = new Tizen.NUI.EXaml.GatherPropertiesBlock(new Tizen.NUI.EXaml.GlobalDataList(), null);
59 Assert.IsNotNull(testingTarget, "Can't create success object GatherPropertiesBlock");
60 Assert.IsInstanceOf<Tizen.NUI.EXaml.GatherPropertiesBlock>(testingTarget, "Should be an instance of GatherPropertiesBlock type.");
68 tlog.Debug(tag, e.Message.ToString());
69 Assert.Fail("Caught Exception : Failed!");
72 tlog.Debug(tag, $"EXamlGatherPropertiesBlockInit END (OK)");