Merge remote-tracking branch 'mediacodec/tizen'
[platform/core/csapi/tizenfx.git] / test / ElmSharp.Test / TC / AccessibilityRoleTest.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 using System;
18 using System.Linq;
19 using ElmSharp;
20 using ElmSharp.Accessible;
21
22 namespace ElmSharp.Test
23 {
24     class AccessibilityRoleTest : TestCaseBase
25     {
26         public override string TestName => "AccessibilityRoleTest";
27         public override string TestDescription => "Accessibility Role API test";
28
29         public override void Run(Window win)
30         {
31             Conformant conformant = new Conformant(win);
32             conformant.Show();
33
34             Box box = new Box(win);
35             box.Show();
36
37             // AcceleratorLabel
38             Label acceleratorLabel = new Label(win)
39             {
40                 Text = "AcceleratorLabel"
41             };
42
43             Label alertLabel = new Label(win)
44             {
45                 Text = "Alert"
46             };
47
48             Label Animation = new Label(win)
49             {
50             };
51
52             conformant.SetContent(conformant);
53         }
54     }
55 }
56