You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace yiiunit\extensions\imagine;
|
|
|
|
|
|
|
|
use yii\imagine\Image;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @group vendor
|
|
|
|
* @group imagine
|
|
|
|
*/
|
|
|
|
class ImageGmagickTest extends AbstractImageTest
|
|
|
|
{
|
|
|
|
|
|
|
|
protected function setUp()
|
|
|
|
{
|
|
|
|
if (!class_exists('Gmagick')) {
|
|
|
|
$this->markTestSkipped('Skipping ImageGmagickTest, Gmagick is not installed');
|
|
|
|
} else {
|
|
|
|
Image::setImagine(null);
|
|
|
|
Image::$driver = Image::DRIVER_GMAGICK;
|
|
|
|
parent::setUp();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
protected function isFontTestSupported()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|