コード例 #1
0
        public void GetScheduledTaskInvalid()
        {
            ITaskSchedulerConfiguration configuration = AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("TaskScheduler");

            if (configuration.ScheduledTasks[typeof(object)] == null)
            {
            }
        }
コード例 #2
0
        public void GetScheduledTaskNull()
        {
            ITaskSchedulerConfiguration configuration = AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("TaskScheduler");

            if (configuration.ScheduledTasks[null] == null)
            {
            }
        }
コード例 #3
0
 public void TaskSchedulerEmptyScheduledTaskType()
 {
     AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("EmptyScheduledTaskType");
 }
コード例 #4
0
 public void InvalidScheduledTaskType()
 {
     AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("InvalidScheduledTaskType");
 }
コード例 #5
0
        public void TaskSchedulerWaitTrue()
        {
            ITaskSchedulerConfiguration configuration = AppConfigConfigurationUnitTests.GetTaskSchedulerConfiguration("WaitTrue");

            Assert.IsTrue(configuration.ScheduledTasks[typeof(FakeScheduledTask)].WaitForPreviousSubmittedTaskToComplete);
        }