PHP Class ImboUnitTest\EventListener\ImageTransformationCacheTest

Inheritance: extends ImboUnitTest\EventListener\ListenerTests
Show file Open project: imbo/imbo

Public Methods

Method Description
setUp ( ) Set up the listener
tearDown ( ) Tear down the listener
testAddsCorrectResponseHeaderOnCacheMiss ( )
testCanDeleteAllImageVariationsFromCache ( )
testChangesTheImageInstanceOnCacheHit ( )
testDoesNotStoreIfCachedVersionAlreadyExists ( )
testDoesNotStoreNonImageModelsInTheCache ( )
testDoesNotTriggerWarningIfCachePathDoesNotExistAndParentIsWritable ( )
testRemovesCorruptCachedDataOnCacheHit ( )
testStoresImageInCache ( )
testThrowsAnExceptionWhenPathIsMissingFromTheParameters ( )
testThrowsExceptionWhenCacheDirIsNotWritable ( )

Protected Methods

Method Description
getListener ( )

Method Details

getListener() protected method

protected getListener ( )

setUp() public method

Set up the listener
public setUp ( )

tearDown() public method

Tear down the listener
public tearDown ( )

testAddsCorrectResponseHeaderOnCacheMiss() public method

testCanDeleteAllImageVariationsFromCache() public method

testChangesTheImageInstanceOnCacheHit() public method

testDoesNotStoreIfCachedVersionAlreadyExists() public method

testDoesNotStoreNonImageModelsInTheCache() public method

testDoesNotTriggerWarningIfCachePathDoesNotExistAndParentIsWritable() public method

testRemovesCorruptCachedDataOnCacheHit() public method

testStoresImageInCache() public method

testThrowsAnExceptionWhenPathIsMissingFromTheParameters() public method

testThrowsExceptionWhenCacheDirIsNotWritable() public method