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.
30 lines
498 B
30 lines
498 B
11 years ago
|
<?php
|
||
|
|
||
|
namespace yiiunit\extensions\imagine;
|
||
|
|
||
|
use yii\imagine\Image;
|
||
|
|
||
|
/**
|
||
|
* @group vendor
|
||
|
* @group imagine
|
||
|
*/
|
||
|
class ImageImagickTest extends AbstractImageTest
|
||
|
{
|
||
|
|
||
|
protected function setUp()
|
||
|
{
|
||
|
if (!class_exists('Imagick')) {
|
||
|
$this->markTestSkipped('Skipping ImageImagickTest, Imagick is not installed');
|
||
|
} else {
|
||
|
$this->image = new Image();
|
||
|
$this->image->setDriver(Image::DRIVER_IMAGICK);
|
||
|
parent::setUp();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
protected function isFontTestSupported()
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
}
|