Ejemplo n.º 1
0
 // Most of the tests in this file were written when task event
 // notification was done synchronously in TaskRunner.  Reproduce that
 // behavior here for simplicity.
 void notify(SchedulableTask task, Schedule.EventType eventType) {
   if (doImmediateNotify) {
     task.callback.taskEvent(task, eventType);
   } else {
     super.notify(task, eventType);
   }
 }
Ejemplo n.º 2
0
 void removeTask(StepTask task) {
   removedTasks.add(task);
   super.removeTask(task);
 }
Ejemplo n.º 3
0
 void removeChunk(Schedule.Chunk chunk) {
   removedChunks.add(chunk);
   super.removeChunk(chunk);
 }