Fix code for building with corefx
[platform/core/csapi/system-settings.git] / tct-system-settings-tizen-tests / src / Program.cs
1 using Tizen.Applications;
2
3 namespace TestFramework
4 {
5     public class MyApplication : UIApplication
6     {
7         protected override void OnCreate()
8         {
9             Assert.Init();
10             TestManager manager = new TestManager();
11             manager.RunTestFromTCList();
12         }
13
14         protected override void OnResume()
15         {
16             LogUtils.write(LogUtils.DEBUG, LogUtils.INFO, "Resumed!");
17         }
18
19         protected override void OnPause()
20         {
21             LogUtils.write(LogUtils.DEBUG, LogUtils.INFO, "Paused!");
22         }
23
24         protected override void OnTerminate()
25         {
26             LogUtils.write(LogUtils.DEBUG, LogUtils.INFO, "Terminated!");
27         }
28     }
29     internal class Program
30     {
31         private static void Main(string[] args)
32         {
33             MyApplication app = new MyApplication();
34             app.Run(args);
35         }
36     }
37 }