3 using NUnit.Framework.TUnit;
4 using Tizen.NUI.Components;
5 using Tizen.NUI.BaseComponents;
6 using System.Reflection;
8 namespace Tizen.NUI.Devel.Tests
10 using tlog = Tizen.Log;
13 [Description("internal/Common/Extensions")]
14 public class InternalExtensionsTest
16 private const string tag = "NUITEST";
21 tlog.Info(tag, "Init() is called!");
27 tlog.Info(tag, "Destroy() is called!");
32 [Description("Extensions GetValueString.")]
33 [Property("SPEC", "Tizen.NUI.Extensions.GetValueString M")]
34 [Property("SPEC_URL", "-")]
35 [Property("CRITERIA", "MR")]
36 [Property("AUTHOR", "guowei.wang@samsung.com")]
37 public void ExtensionsGetValueString()
39 tlog.Debug(tag, $"ExtensionsGetValueString START");
41 using (View view = new View())
44 global::System.Reflection.PropertyInfo propertyInfo = view.GetType().GetProperty("Name");
46 var result = propertyInfo.GetValueString(view, propertyInfo.PropertyType);
47 tlog.Debug(tag, "GetValueString : " + result);
50 tlog.Debug(tag, $"ExtensionsGetValueString END (OK)");