コード例 #1
0
ファイル: SVGTest.php プロジェクト: claudinec/galan-wiki
 protected function setUp()
 {
     parent::setUp();
     $this->filePath = __DIR__ . '/../../data/media/';
     $this->setMwGlobals('wgShowEXIF', true);
     $this->handler = new SvgHandler();
 }
コード例 #2
0
ファイル: JpegTest.php プロジェクト: MediaWiki-stable/1.26.1
 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
ファイル: DjVuTest.php プロジェクト: claudinec/galan-wiki
 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();
 }