[AudioManager] Changed handle type to marshal from unmanaged (#1027)
[platform/core/csapi/tizenfx.git] / test / ElmSharp.Test / TestCaseBase.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
19 namespace ElmSharp.Test
20 {
21     [Flags]
22     public enum TargetProfile
23     {
24         Mobile = 1,
25         Tv = 2,
26         Wearable = 4
27     }
28     public abstract class TestCaseBase
29     {
30         public abstract string TestName { get; }
31         public abstract string TestDescription { get; }
32         public virtual TargetProfile TargetProfile => TargetProfile.Mobile | TargetProfile.Tv;
33         public abstract void Run(Window window);
34     }
35
36     public abstract class WearableTestCase : TestCaseBase
37     {
38         public override TargetProfile TargetProfile => TargetProfile.Wearable;
39     }
40 }