Example #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);
   }
 }
Example #2
0
 void removeTask(StepTask task) {
   removedTasks.add(task);
   super.removeTask(task);
 }
Example #3
0
 void removeChunk(Schedule.Chunk chunk) {
   removedChunks.add(chunk);
   super.removeChunk(chunk);
 }