示例#1
0
文件: Program.cs 项目: sbambach/ATF
        static int Main(string[] args)
        {
            ServiceManager.Services.AddService(new SettingsService());
            ServiceManager.Services.AddService(new DomainManager());
            ServiceManager.Services.AddService(new ProjectService());
            ServiceManager.Services.AddService(new AddinRegistry());
            ServiceManager.Services.AddService(new AddinManager());
            ServiceManager.Services.AddService(new TestAgency());

            string assemblyName = Assembly.GetExecutingAssembly().Location;

            DesktopRecorderLauncher recorder = new DesktopRecorderLauncher();
            recorder.Start();
            int ret = RunAllTests(assemblyName);
            recorder.Stop();

            return ret;
        }
示例#2
0
文件: Program.cs 项目: zparr/ATF
        static int Main(string[] args)
        {
            ServiceManager.Services.AddService(new SettingsService());
            ServiceManager.Services.AddService(new DomainManager());
            ServiceManager.Services.AddService(new ProjectService());
            ServiceManager.Services.AddService(new AddinRegistry());
            ServiceManager.Services.AddService(new AddinManager());
            ServiceManager.Services.AddService(new TestAgency());

            string assemblyName = Assembly.GetExecutingAssembly().Location;

            DesktopRecorderLauncher recorder = new DesktopRecorderLauncher();

            recorder.Start();
            int ret = RunAllTests(assemblyName);

            recorder.Stop();

            return(ret);
        }