summaryrefslogtreecommitdiff
path: root/tct-system-settings-tizen-tests/src/Program.cs
blob: 6b832cf67c11e41f02700d354a1573fe79cefc60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using Tizen.Applications;

namespace TestFramework
{
    public class MyApplication : UIApplication
    {
        protected override void OnCreate()
        {
            Assert.Init();
            TestManager manager = new TestManager();
            manager.RunTestFromTCList();
        }

        protected override void OnResume()
        {
            LogUtils.write(LogUtils.DEBUG, LogUtils.INFO, "Resumed!");
        }

        protected override void OnPause()
        {
            LogUtils.write(LogUtils.DEBUG, LogUtils.INFO, "Paused!");
        }

        protected override void OnTerminate()
        {
            LogUtils.write(LogUtils.DEBUG, LogUtils.INFO, "Terminated!");
        }
    }
    internal class Program
    {
        private static void Main(string[] args)
        {
            MyApplication app = new MyApplication();
            app.Run(args);
        }
    }
}