PHP Class Gc\Media\ImageTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: gotcms/gotcms

Protected Properties

Свойство Type Description
$directory string
$object Image

Méthodes publiques

Méthode Description
testConstructor ( ) : void Test
testHex2rgbWith3Chars ( ) : void Test
testHex2rgbWith6Chars ( ) : void Test
testHex2rgbWithWrongValue ( ) : void Test
testOpen ( ) : void Test
testResizeWithCropOption ( ) : void Test
testResizeWithNoImage ( ) : void Test
testResizeWithUndefinedColor ( ) : void Test
testResizeWithUndefinedOption ( ) : void Test
testSaveInBmp ( ) : void Test
testSaveWithGif ( ) : void Test
testSaveWithJpg ( ) : void Test
testSaveWithNoImage ( ) : void Test
testSaveWithPng ( ) : void Test

Méthodes protégées

Méthode Description
setUp ( ) : void Sets up the fixture, for example, opens a network connection.
tearDown ( ) : void Tears down the fixture, for example, closes a network connection.

Method Details

setUp() protected méthode

This method is called before a test is executed.
protected setUp ( ) : void
Résultat void

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( ) : void
Résultat void

testConstructor() public méthode

Test
public testConstructor ( ) : void
Résultat void

testHex2rgbWith3Chars() public méthode

Test
public testHex2rgbWith3Chars ( ) : void
Résultat void

testHex2rgbWith6Chars() public méthode

Test
public testHex2rgbWith6Chars ( ) : void
Résultat void

testHex2rgbWithWrongValue() public méthode

Test
public testHex2rgbWithWrongValue ( ) : void
Résultat void

testOpen() public méthode

Test
public testOpen ( ) : void
Résultat void

testResizeWithCropOption() public méthode

Test
public testResizeWithCropOption ( ) : void
Résultat void

testResizeWithNoImage() public méthode

Test
public testResizeWithNoImage ( ) : void
Résultat void

testResizeWithUndefinedColor() public méthode

Test
public testResizeWithUndefinedColor ( ) : void
Résultat void

testResizeWithUndefinedOption() public méthode

Test
public testResizeWithUndefinedOption ( ) : void
Résultat void

testSaveInBmp() public méthode

Test
public testSaveInBmp ( ) : void
Résultat void

testSaveWithGif() public méthode

Test
public testSaveWithGif ( ) : void
Résultat void

testSaveWithJpg() public méthode

Test
public testSaveWithJpg ( ) : void
Résultat void

testSaveWithNoImage() public méthode

Test
public testSaveWithNoImage ( ) : void
Résultat void

testSaveWithPng() public méthode

Test
public testSaveWithPng ( ) : void
Résultat void

Property Details

$directory protected_oe property

protected string $directory
Résultat string

$object protected_oe property

protected Image,Gc\Media $object
Résultat Image