Ejemplo n.º 1
0
 protected function setUp()
 {
     parent::setUp();
     $this->filePath = __DIR__ . '/../../data/media/';
     $this->setMwGlobals('wgShowEXIF', true);
     $this->handler = new SvgHandler();
 }
Ejemplo n.º 2
0
 protected function setUp()
 {
     parent::setUp();
     $this->checkPHPExtension('exif');
     $this->setMwGlobals('wgShowEXIF', true);
     $this->handler = new JpegHandler();
 }
Ejemplo n.º 3
0
 protected function setUp()
 {
     parent::setUp();
     $this->checkPHPExtension('exif');
     $this->handler = new BitmapHandler();
     $this->setMwGlobals(['wgShowEXIF' => true, 'wgEnableAutoRotation' => true]);
 }
Ejemplo n.º 4
0
 protected function setUp()
 {
     parent::setUp();
     // cli tool setup
     $djvuSupport = new DjVuSupport();
     if (!$djvuSupport->isEnabled()) {
         $this->markTestSkipped('This test needs the installation of the ddjvu, djvutoxml and djvudump tools');
     }
     $this->handler = new DjVuHandler();
 }
Ejemplo n.º 5
0
 function setUp()
 {
     $this->setMwGlobals('wgImageLimits', array(array(320, 240), array(640, 480), array(800, 600), array(1024, 768), array(1280, 1024)));
     parent::setUp();
 }
Ejemplo n.º 6
0
 protected function setUp()
 {
     parent::setUp();
     $this->handler = new XCFHandler();
 }
Ejemplo n.º 7
0
 function setUp()
 {
     $this->setMwGlobals('wgImageLimits', [[320, 240], [640, 480], [800, 600], [1024, 768], [1280, 1024]]);
     parent::setUp();
 }
Ejemplo n.º 8
0
 protected function setUp()
 {
     parent::setUp();
 }