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