PHP Class Gc\Media\ImageTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: gotcms/gotcms

Protected Properties

Property Type Description
$directory string
$object Image

Public Methods

Method 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

Protected Methods

Method 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 method

This method is called before a test is executed.
protected setUp ( ) : void
return void

tearDown() protected method

This method is called after a test is executed.
protected tearDown ( ) : void
return void

testConstructor() public method

Test
public testConstructor ( ) : void
return void

testHex2rgbWith3Chars() public method

Test
public testHex2rgbWith3Chars ( ) : void
return void

testHex2rgbWith6Chars() public method

Test
public testHex2rgbWith6Chars ( ) : void
return void

testHex2rgbWithWrongValue() public method

Test
public testHex2rgbWithWrongValue ( ) : void
return void

testOpen() public method

Test
public testOpen ( ) : void
return void

testResizeWithCropOption() public method

Test
public testResizeWithCropOption ( ) : void
return void

testResizeWithNoImage() public method

Test
public testResizeWithNoImage ( ) : void
return void

testResizeWithUndefinedColor() public method

Test
public testResizeWithUndefinedColor ( ) : void
return void

testResizeWithUndefinedOption() public method

Test

testSaveInBmp() public method

Test
public testSaveInBmp ( ) : void
return void

testSaveWithGif() public method

Test
public testSaveWithGif ( ) : void
return void

testSaveWithJpg() public method

Test
public testSaveWithJpg ( ) : void
return void

testSaveWithNoImage() public method

Test
public testSaveWithNoImage ( ) : void
return void

testSaveWithPng() public method

Test
public testSaveWithPng ( ) : void
return void

Property Details

$directory protected_oe property

protected string $directory
return string

$object protected_oe property

protected Image,Gc\Media $object
return Image