1 using NUnit.Framework;
6 namespace Tizen.NUI.Devel.Tests
8 using tlog = Tizen.Log;
11 [Description("public/xaml/StaticResourceExtension")]
12 public class PublicStaticResourceExtensionTest
14 private const string tag = "NUITEST";
15 private StaticResourceExtension staticRes;
19 tlog.Info(tag, "Init() is called!");
20 staticRes = new StaticResourceExtension();
27 tlog.Info(tag, "Destroy() is called!");
32 [Description("StaticResourceExtension Key")]
33 [Property("SPEC", "Tizen.NUI.StaticResourceExtension.Key A")]
34 [Property("SPEC_URL", "-")]
35 [Property("CRITERIA", "PRW")]
36 public void StaticResourceExtensionKey()
38 tlog.Debug(tag, $"StaticResourceExtensionKey START");
41 string key = staticRes.Key;
43 Assert.AreEqual(key, staticRes.Key, "Should be equal");
47 tlog.Debug(tag, e.Message.ToString());
48 Assert.Fail("Caught Exception : Failed!");
50 tlog.Debug(tag, $"StaticResourceExtensionKey END");