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; }
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); }