1 using NUnit.Framework;
5 namespace Tizen.NUI.Devel.Tests
7 using tlog = Tizen.Log;
10 [Description("public/xaml/MarkupExtensions/TypeExtension")]
11 public class PublicTypeExtensionTest
13 private const string tag = "NUITEST";
14 private TypeExtension tExtension;
18 tlog.Info(tag, "Init() is called!");
19 tExtension = new TypeExtension();
26 tlog.Info(tag, "Destroy() is called!");
31 [Description("TypeExtension TypeName")]
32 [Property("SPEC", "Tizen.NUI.TypeExtension.TypeName A")]
33 [Property("SPEC_URL", "-")]
34 [Property("CRITERIA", "PRW")]
35 public void TypeExtensionTypeName()
37 tlog.Debug(tag, $"TypeExtensionTypeName START");
41 var name = tExtension.TypeName;
42 tExtension.TypeName = name;
43 Assert.AreEqual(name, tExtension.TypeName, "Should be equal");
47 tlog.Debug(tag, e.Message.ToString());
48 Assert.Fail("Caught Exception : Failed!");
51 tlog.Debug(tag, $"TypeExtensionTypeName END");