public void EmptyTaskWorkerConfiguration2() { ITaskWorkersConfiguration configuration = AppConfigConfigurationUnitTests.GetTaskWorkerConfiguration("Empty2"); Assert.IsNotNull(configuration); Assert.IsNull(configuration[typeof(FakeTask)]); }
public void TaskWorker() { ITaskWorkersConfiguration configuration = AppConfigConfigurationUnitTests.GetTaskWorkerConfiguration("TaskWorker"); Assert.AreEqual(typeof(FakeTaskWorker), configuration[typeof(FakeTask)].WorkerType); Assert.AreEqual(typeof(FakeTaskWorker), configuration[typeof(FakePollingQueueTask)].WorkerType); Assert.IsTrue(configuration[typeof(FakeTask)].HasTaskJobSettings); Assert.IsFalse(configuration[typeof(FakePollingQueueTask)].HasTaskJobSettings); }
public void TaskWorkerDuplicateTask() { AppConfigConfigurationUnitTests.GetTaskWorkerConfiguration("DuplicateTask"); }
public void TaskWorkerWorkerTypeNoParameterlessConstructor() { AppConfigConfigurationUnitTests.GetTaskWorkerConfiguration("WorkerTypeNoParameterlessConstructor"); }
public void TaskWorkerInvalidWorkerType() { AppConfigConfigurationUnitTests.GetTaskWorkerConfiguration("InvalidWorkerType"); }
public void TaskWorkerEmptyWorkerType() { AppConfigConfigurationUnitTests.GetTaskWorkerConfiguration("EmptyWorkerType"); }
public void TaskWorkerNoTaskType() { AppConfigConfigurationUnitTests.GetTaskWorkerConfiguration("NoTaskType"); }