PHP 클래스 Contao\CoreBundle\Test\Contao\GdImageTest

파일 보기 프로젝트 열기: contao/core-bundle

공개 메소드들

메소드 설명
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