PHP Класс Contao\CoreBundle\Test\Contao\GdImageTest

Наследование: extends Contao\CoreBundle\Test\TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
getImageTypes ( ) : array Provides the image types for the tests.
setUpBeforeClass ( )
tearDownAfterClass ( )
testConvertToPaletteImage ( ) Tests the convertToPaletteImage() method.
testConvertToPaletteImageFromTrueColor ( ) Tests the convertToPaletteImage() method from a true color image.
testCopyTo ( ) Tests the copyTo() method.
testCountColors ( ) Tests the countColors() method.
testFromDimension ( ) Tests the fromDimensions() method.
testFromFile ( string $type ) Tests the fromFile() method.
testFromFileInvalidType ( ) Tests the fromFile() method with an invalid type.
testInstantiation ( ) Tests the object instantiation.
testIsSemitransparent ( ) Tests the isSemitransparent() method.
testSaveToFile ( string $type ) Tests the saveToFile() method.

Защищенные методы

Метод Описание
setUp ( )

Описание методов

getImageTypes() публичный Метод

Provides the image types for the tests.
public getImageTypes ( ) : array
Результат array

setUp() защищенный Метод

protected setUp ( )

setUpBeforeClass() публичный статический Метод

public static setUpBeforeClass ( )

tearDownAfterClass() публичный статический Метод

public static tearDownAfterClass ( )

testConvertToPaletteImage() публичный Метод

Tests the convertToPaletteImage() method.

testConvertToPaletteImageFromTrueColor() публичный Метод

Tests the convertToPaletteImage() method from a true color image.

testCopyTo() публичный Метод

Tests the copyTo() method.
public testCopyTo ( )

testCountColors() публичный Метод

Tests the countColors() method.
public testCountColors ( )

testFromDimension() публичный Метод

Tests the fromDimensions() method.
public testFromDimension ( )

testFromFile() публичный Метод

Tests the fromFile() method.
public testFromFile ( string $type )
$type string

testFromFileInvalidType() публичный Метод

Tests the fromFile() method with an invalid type.

testInstantiation() публичный Метод

Tests the object instantiation.
public testInstantiation ( )

testIsSemitransparent() публичный Метод

Tests the isSemitransparent() method.

testSaveToFile() публичный Метод

Tests the saveToFile() method.
public testSaveToFile ( string $type )
$type string