示例#1
0
 public function WillFire()
 {
     global $test;
     parent::WillFire();
     $test->assertSame($this, $test->pump->GetCurrentTask());
     $test->assertEquals(TaskPump::TASK_WILL_FIRE, $test->pump->GetCurrentTaskState());
 }
示例#2
0
文件: tasks.php 项目: rsesek/phalanx
 public function WillFire()
 {
     parent::WillFire();
     $this->Cancel();
 }