[NUI] Update TCs of NUI.Devel.
[platform/core/csapi/tizenfx.git] / test / Tizen.NUI.Tests / Tizen.NUI.Devel.Tests / testcase / internal / XamlBinding / TSDevice.cs
1 using global::System;
2 using NUnit.Framework;
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;
9
10 namespace Tizen.NUI.Devel.Tests
11 {
12     using tlog = Tizen.Log;
13
14     [TestFixture]
15     [Description("internal/XamlBinding/Device")]
16     public class InternalDeviceTest
17     {
18         private const string tag = "NUITEST";
19
20         [SetUp]
21         public void Init()
22         {
23             tlog.Info(tag, "Init() is called!");
24         }
25
26         [TearDown]
27         public void Destroy()
28         {
29             tlog.Info(tag, "Destroy() is called!");
30         }
31
32         [Test]
33         [Category("P1")]
34         [Description("Device SetIdiom")]
35         [Property("SPEC", "Device SetIdiom M")]
36         [Property("SPEC_URL", "-")]
37         [Property("CRITERIA", "MR")]
38         public void DeviceSetIdiom()
39         {
40             tlog.Debug(tag, $"DeviceSetIdiom START");
41
42             tlog.Debug(tag, "OS : " + Device.OS);
43             tlog.Debug(tag, "Info : " + Device.Info);
44             tlog.Debug(tag, "RuntimePlatform  : " + Device.RuntimePlatform);
45
46             Device.SetIdiom(TargetIdiom.TV);
47             tlog.Debug(tag, "Idiom : " + Device.Idiom);
48
49             tlog.Debug(tag, $"DeviceSetIdiom END");
50         }
51     }
52 }