public void GetScheduledTaskInvalid() { ITaskSchedulerConfiguration configuration = AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("TaskScheduler"); if (configuration.ScheduledTasks[typeof(object)] == null) { } }
public void GetScheduledTaskNull() { ITaskSchedulerConfiguration configuration = AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("TaskScheduler"); if (configuration.ScheduledTasks[null] == null) { } }
public void TaskSchedulerEmptyScheduledTaskType() { AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("EmptyScheduledTaskType"); }
public void InvalidScheduledTaskType() { AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("InvalidScheduledTaskType"); }
public void TaskSchedulerWaitTrue() { ITaskSchedulerConfiguration configuration = AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("WaitTrue"); Assert.IsTrue(configuration.ScheduledTasks[typeof(FakeScheduledTask)].WaitForPreviousSubmittedTaskToComplete); }