3 using NUnit.Framework.TUnit;
4 using Tizen.NUI.Components;
5 using Tizen.NUI.BaseComponents;
6 using System.Reflection;
7 using System.Collections.Generic;
8 using Tizen.NUI.Binding;
10 namespace Tizen.NUI.Devel.Tests
12 using tlog = Tizen.Log;
15 [Description("internal/XamlBinding/Device")]
16 public class InternalDeviceTest
18 private const string tag = "NUITEST";
23 tlog.Info(tag, "Init() is called!");
29 tlog.Info(tag, "Destroy() is called!");
34 [Description("Device SetIdiom")]
35 [Property("SPEC", "Device SetIdiom M")]
36 [Property("SPEC_URL", "-")]
37 [Property("CRITERIA", "MR")]
38 public void DeviceSetIdiom()
40 tlog.Debug(tag, $"DeviceSetIdiom START");
42 tlog.Debug(tag, "OS : " + Device.OS);
43 tlog.Debug(tag, "Info : " + Device.Info);
44 tlog.Debug(tag, "RuntimePlatform : " + Device.RuntimePlatform);
46 Device.SetIdiom(TargetIdiom.TV);
47 tlog.Debug(tag, "Idiom : " + Device.Idiom);
49 tlog.Debug(tag, $"DeviceSetIdiom END");