Пример #1
0
 /**
  * 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);
 }
Пример #2
0
 /**
  * Creates a new event.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->event = new PreSignEvent($this->builder, Builder::OPENSSL, '/path/to/private.key');
 }
Пример #3
0
 /**
  * Creates a new event for testing.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->event = new PreCompressEvent($this->builder, Builder::BZ2);
 }
Пример #4
0
 /**
  * Creates a new event.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->event = new PreMetadataEvent($this->builder, 123);
 }
Пример #5
0
 /**
  * Creates a new event.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->stub = new Stub();
     $this->event = new PreStubEvent($this->builder, $this->stub);
 }
Пример #6
0
 /**
  * Creates a new event for testing.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->event = new IteratorsEvent($this->builder);
 }
Пример #7
0
 /**
  * Creates a new event for testing.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->event = new PreBuildEvent($this->builder);
 }