1 using NUnit.Framework;
5 namespace Tizen.NUI.Devel.Tests
7 using tlog = Tizen.Log;
10 [Description("public/xaml/ProvideCompiledAttribute")]
11 internal class PublicProvideCompiledAttributeTest
13 private const string tag = "NUITEST";
14 private static ProvideCompiledAttribute p1;
19 p1 = new ProvideCompiledAttribute("mytestAttribute");
20 tlog.Info(tag, "Init() is called!");
27 tlog.Info(tag, "Destroy() is called!");
32 [Description("ProvideCompiledAttribute ProvideCompiledAttribute")]
33 [Property("SPEC", "Tizen.NUI.ProvideCompiledAttribute.ProvideCompiledAttribute C")]
34 [Property("SPEC_URL", "-")]
35 [Property("CRITERIA", "CONSTR")]
36 public void ProvideCompiledAttributeConstructor()
38 tlog.Debug(tag, $"ProvideCompiledAttributeConstructor START");
39 ProvideCompiledAttribute p2 = new ProvideCompiledAttribute("testAttribute");
42 tlog.Debug(tag, $"ProvideCompiledAttributeConstructor END (OK)");
43 Assert.Pass("ProvideCompiledAttributeConstructor");
48 [Description("ProvideCompiledAttribute CompiledVersion")]
49 [Property("SPEC", "Tizen.NUI.ProvideCompiledAttribute.CompiledVersion A")]
50 [Property("SPEC_URL", "-")]
51 [Property("CRITERIA", "PRW")]
52 public void ProvideCompiledAttributeCompiledVersion()
54 tlog.Debug(tag, $"ProvideCompiledAttributeCompiledVersion START");
57 string attribute = p1.CompiledVersion;
61 Tizen.Log.Error(tag, "Caught Exception" + e.ToString());
62 Assert.Fail("Caught Exception" + e.ToString());
64 tlog.Debug(tag, $"ProvideCompiledAttributeCompiledVersion END (OK)");
65 Assert.Pass("ProvideCompiledAttributeCompiledVersion");