UpdateStartTaskForId() публичный статический Метод

public static UpdateStartTaskForId ( string id, TaskType type ) : ElmcityUtils.HttpResponse
id string
type TaskType
Результат ElmcityUtils.HttpResponse
Пример #1
0
        public void UpdateStartTaskForIdYieldsRunning()
        {
            Scheduler.InitTaskForId(testid, test_task_type);
            Scheduler.StartTaskForId(testid, test_task_type);
            Scheduler.UpdateStartTaskForId(testid, test_task_type);
            var task = Scheduler.FetchTaskForId(testid, test_task_type);

            Assert.AreEqual(TaskStatus.running, task.status);
        }