[NUI][XamlBuild] Fix issues of xamlbuild.
[platform/core/csapi/tizenfx.git] / test / Tizen.NUI.Tests / Tizen.NUI.Devel.Tests / testcase / public / Xaml / TotalSample / DuplicateXArgumentsElements.xaml.cs
1 using NUnit.Framework;
2 using System;
3 using Tizen.NUI.Binding;
4 using Tizen.NUI.Xaml;
5
6 [assembly: global::Tizen.NUI.Xaml.XamlResourceIdAttribute("Tizen.NUI.Devel.Tests.testcase.public.Xaml.TotalSample.DuplicateXArgumentsElements.xaml",
7     "testcase.public.Xaml.TotalSample.DuplicateXArgumentsElements.xaml",
8     typeof(global::Tizen.NUI.Devel.Tests.DuplicateXArgumentsElements))]
9
10 namespace Tizen.NUI.Devel.Tests
11 {
12     [XamlFilePath("testcase\\public\\Xaml\\TotalSample\\DuplicateXArgumentsElements.xaml")]
13     [XamlCompilation(XamlCompilationOptions.Skip)]
14         public partial class DuplicateXArgumentsElements : BindableObject
15         {
16                 public DuplicateXArgumentsElements()
17                 {
18             global::Tizen.NUI.Xaml.Extensions.LoadFromXaml(this, typeof(DuplicateXArgumentsElements));
19         }
20
21                 
22         }
23
24         [TestFixture]
25         public class DuplicateXArgumentsElementsTests
26         {
27                 [SetUp]
28                 public void Setup()
29                 {
30                 }
31
32                 [TearDown]
33                 public void TearDown()
34                 {
35                 }
36
37                 [Test]
38                 [Category("P1")]
39                 [Description("Extensions LoadFromXaml.")]
40                 [Property("SPEC", "Tizen.NUI.Xaml.Extensions.LoadFromXaml M")]
41                 [Property("SPEC_URL", "-")]
42                 [Property("CRITERIA", "MR")]
43                 public void DuplicateXArgumentsElementsTest()
44                 {
45                         Assert.Throws<ArgumentException>(() => new DuplicateXArgumentsElements());
46                 }
47         }
48 }