public void TestInitialize() { this.serviceProvider = new ConfigurableServiceProvider(); this.threadingService = new SingleThreadedTaskSchedulerService(); this.serviceProvider.RegisterService(typeof(SVsTaskSchedulerService), this.threadingService); this.testSubject = new SequentialProgressController(this.serviceProvider); }
public void TestCleanup() { this.errorNotifier = null; this.serviceProvider = null; this.testSubject = null; this.threadingService = null; }
public void TestCleanup() { this.errorNotifier = null; this.serviceProvider = null; this.testSubject = null; this.threadingService = null; }
public void TestInitialize() { this.serviceProvider = new ConfigurableServiceProvider(); this.threadingService = new SingleThreadedTaskSchedulerService(); this.serviceProvider.RegisterService(typeof(SVsTaskSchedulerService), this.threadingService); this.testSubject = new SequentialProgressController(this.serviceProvider); }
public VsTask(SingleThreadedTaskSchedulerService owner, VsTaskRunContext context, Func <object> action) { owner.Should().NotBeNull(); context.Should().NotBeNull(); action.Should().NotBeNull(); this.owner = owner; this.context = context; this.action = action; }
public VsTask(SingleThreadedTaskSchedulerService owner, VsTaskRunContext context, Func <object> action) { Assert.IsNotNull(owner); Assert.IsNotNull(context); Assert.IsNotNull(action); this.owner = owner; this.context = context; this.action = action; }
public void TestInitialize() { this.testServiceProvider = new ConfigurableServiceProvider(); this.testVisualizer = new ConfigurableProgressVisualizer(); this.progressEvents = new ConfigurableProgressEvents(); this.testController = new ConfigurableProgressController(this.testServiceProvider); this.testController.Events = this.progressEvents; this.threadService = new SingleThreadedTaskSchedulerService(); this.testServiceProvider.RegisterService(typeof(SVsTaskSchedulerService), this.threadService); }
public void TestInitialize() { this.testServiceProvider = new ConfigurableServiceProvider(); this.testVisualizer = new ConfigurableProgressVisualizer(); this.progressEvents = new ConfigurableProgressEvents(); this.testController = new ConfigurableProgressController(this.testServiceProvider); this.testController.Events = this.progressEvents; this.threadService = new SingleThreadedTaskSchedulerService(); this.testServiceProvider.RegisterService(typeof(SVsTaskSchedulerService), this.threadService); }
public void TestCleanup() { if (this.testSubject != null) { ((IDisposable)this.testSubject).Dispose(); this.testSubject = null; } this.testVisualizer = null; this.testServiceProvider = null; this.progressEvents = null; this.threadService = null; this.testController = null; }
public void TestCleanup() { if (this.testSubject != null) { ((IDisposable)this.testSubject).Dispose(); this.testSubject = null; } this.testVisualizer = null; this.testServiceProvider = null; this.progressEvents = null; this.threadService = null; this.testController = null; }
public VsTask(SingleThreadedTaskSchedulerService owner, VsTaskRunContext context, Func<object> action) { Assert.IsNotNull(owner); Assert.IsNotNull(context); Assert.IsNotNull(action); this.owner = owner; this.context = context; this.action = action; }