/** * Creates a new event. */ protected function setUp() { parent::setUp(); $this->directories = array(array('path' => '/path/to/dir', 'filter' => '/filter/')); $this->files = array(array('path' => '/path/to/file', 'local' => 'local/file')); $this->iterators = array(array('iterator' => new ArrayIterator(array()), 'base' => '/base/path')); $this->event = new PreSourcesEvent($this->builder, $this->iterators, $this->directories, $this->files); }
/** * Creates a new event. */ protected function setUp() { parent::setUp(); $this->event = new PreSignEvent($this->builder, Builder::OPENSSL, '/path/to/private.key'); }
/** * Creates a new event for testing. */ protected function setUp() { parent::setUp(); $this->event = new PreCompressEvent($this->builder, Builder::BZ2); }
/** * Creates a new event. */ protected function setUp() { parent::setUp(); $this->event = new PreMetadataEvent($this->builder, 123); }
/** * Creates a new event. */ protected function setUp() { parent::setUp(); $this->stub = new Stub(); $this->event = new PreStubEvent($this->builder, $this->stub); }
/** * Creates a new event for testing. */ protected function setUp() { parent::setUp(); $this->event = new IteratorsEvent($this->builder); }
/** * Creates a new event for testing. */ protected function setUp() { parent::setUp(); $this->event = new PreBuildEvent($this->builder); }