PHP Class ImboUnitTest\Image\ImagePreparationTest

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

Public Methods

Method Description
setUp ( ) Set up the image preparation instance
tearDown ( ) Tear down the image prepration instance
testDoesNotInstantiateCallableGenerator ( )
testInstantiatesImageIdentifierGeneratorOnCallable ( )
testPopulatesRequestWhenImageIsValid ( )
testReturnsACorrectDefinition ( )
testThrowsExceptionWhenImageIsBroken ( )
testThrowsExceptionWhenImageIsSlightlyBroken ( )
testThrowsExceptionWhenImageTypeIsNotSupported ( )
testThrowsExceptionWhenItFailsToGenerateUniqueImageIdentifier ( )
testThrowsExceptionWhenNoImageIsAttached ( )

Method Details

setUp() public method

Set up the image preparation instance
public setUp ( )

tearDown() public method

Tear down the image prepration instance
public tearDown ( )

testDoesNotInstantiateCallableGenerator() public method

testInstantiatesImageIdentifierGeneratorOnCallable() public method

testPopulatesRequestWhenImageIsValid() public method

testReturnsACorrectDefinition() public method

testThrowsExceptionWhenImageIsBroken() public method

testThrowsExceptionWhenImageIsSlightlyBroken() public method

testThrowsExceptionWhenImageTypeIsNotSupported() public method

testThrowsExceptionWhenItFailsToGenerateUniqueImageIdentifier() public method

testThrowsExceptionWhenNoImageIsAttached() public method