Пример #1
0
        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
        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);
        }