1 using NUnit.Framework;
5 namespace Tizen.NUI.Devel.Tests
7 using tlog = Tizen.Log;
10 [Description("public/xaml/ProvideCompiledAttribute")]
11 public class PublicProvideCompiledAttributeTest
13 private const string tag = "NUITEST";
18 tlog.Info(tag, "Init() is called!");
24 tlog.Info(tag, "Destroy() is called!");
29 [Description("ProvideCompiledAttribute ProvideCompiledAttribute")]
30 [Property("SPEC", "Tizen.NUI.ProvideCompiledAttribute.ProvideCompiledAttribute C")]
31 [Property("SPEC_URL", "-")]
32 [Property("CRITERIA", "CONSTR")]
33 public void ProvideCompiledAttributeConstructor()
35 tlog.Debug(tag, $"ProvideCompiledAttributeConstructor START");
37 var testingTarget = new ProvideCompiledAttribute("testAttribute");
38 Assert.IsNotNull(testingTarget, "null ProvideCompiledAttribute");
39 Assert.IsInstanceOf<ProvideCompiledAttribute>(testingTarget, "Should return ProvideCompiledAttribute instance.");
42 tlog.Debug(tag, $"ProvideCompiledAttributeConstructor END");
47 [Description("ProvideCompiledAttribute CompiledVersion")]
48 [Property("SPEC", "Tizen.NUI.ProvideCompiledAttribute.CompiledVersion A")]
49 [Property("SPEC_URL", "-")]
50 [Property("CRITERIA", "PRW")]
51 public void ProvideCompiledAttributeCompiledVersion()
53 tlog.Debug(tag, $"ProvideCompiledAttributeCompiledVersion START");
56 var testingTarget = new ProvideCompiledAttribute("testAttribute");
57 Assert.IsNotNull(testingTarget, "null ProvideCompiledAttribute");
58 Assert.IsInstanceOf<ProvideCompiledAttribute>(testingTarget, "Should return ProvideCompiledAttribute instance.");
60 string result = testingTarget.CompiledVersion;
61 tlog.Debug(tag, "CompiledVersion : " + result);
66 tlog.Debug(tag, e.Message.ToString());
67 Assert.Fail("Caught Exception : Failed!");
69 tlog.Debug(tag, $"ProvideCompiledAttributeCompiledVersion END");