[NUI] Update NUI.Devel to fix block and crash issues.
[platform/core/csapi/tizenfx.git] / test / Tizen.NUI.Tests / Tizen.NUI.Devel.Tests / testcase / internal / EXaml / TSLoadEXaml.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
7 namespace Tizen.NUI.Devel.Tests
8 {
9     using tlog = Tizen.Log;
10
11     [TestFixture]
12     [Description("Internal/EXaml/LoadEXaml")]
13     public class InternalLoadEXamlTest
14     {
15         private const string tag = "NUITEST";
16         private string eXamlString = "<?xml?><?xml-stylesheet?>";
17
18         [SetUp]
19         public void Init()
20         {
21             tlog.Info(tag, "Init() is called!");
22         }
23
24         [TearDown]
25         public void Destroy()
26         {
27             tlog.Info(tag, "Destroy() is called!");
28         }
29
30         [Test]
31         [Category("P1")]
32         [Description("LoadEXaml GatherDataList.")]
33         [Property("SPEC", "Tizen.NUI.LoadEXaml.GatherDataList M")]
34         [Property("SPEC_URL", "-")]
35         [Property("CRITERIA", "MR")]
36         [Property("AUTHOR", "guowei.wang@samsung.com")]
37         public void LoadEXamlGatherDataList()
38         {
39             tlog.Debug(tag, $"LoadEXamlGatherDataList START");
40
41             try
42             {
43                 Tizen.NUI.EXaml.LoadEXaml.GatherDataList(eXamlString);
44             }
45             catch (Exception e)
46             {
47                 tlog.Debug(tag, e.Message.ToString());
48                 Assert.Fail("Caught Exception : Failed!");
49             }
50
51             tlog.Debug(tag, $"LoadEXamlGatherDataList END (OK)");
52         }
53     }
54 }