예제 #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->filePath = __DIR__ . '/../../data/media/';
     $this->setMwGlobals('wgShowEXIF', true);
     $this->handler = new SvgHandler();
 }
예제 #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->checkPHPExtension('exif');
     $this->setMwGlobals('wgShowEXIF', true);
     $this->handler = new JpegHandler();
 }
예제 #3
0
 protected function setUp()
 {
     parent::setUp();
     $this->checkPHPExtension('exif');
     $this->handler = new BitmapHandler();
     $this->setMwGlobals(['wgShowEXIF' => true, 'wgEnableAutoRotation' => true]);
 }
예제 #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();
 }
예제 #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();
 }
예제 #6
0
 protected function setUp()
 {
     parent::setUp();
     $this->handler = new XCFHandler();
 }
예제 #7
0
 function setUp()
 {
     $this->setMwGlobals('wgImageLimits', [[320, 240], [640, 480], [800, 600], [1024, 768], [1280, 1024]]);
     parent::setUp();
 }
예제 #8
0
 protected function setUp()
 {
     parent::setUp();
 }