public static StopTaskForId ( string id, TaskType type ) : void | ||
id | string | |
type | TaskType | |
Результат | void |
public void StopTaskForIdYieldsStopTimeGreaterThanStartTime() { Scheduler.InitTaskForId(testid, test_task_type); Scheduler.StartTaskForId(testid, test_task_type); Utils.Wait(3); Scheduler.StopTaskForId(testid, test_task_type); var task = Scheduler.FetchTaskForId(testid, test_task_type); Assert.Greater(task.stop, task.start); }