PHP Class ImboUnitTest\EventListener\ImageTransformationCacheTest

Inheritance: extends ImboUnitTest\EventListener\ListenerTests
Afficher le fichier Open project: imbo/imbo

Méthodes publiques

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

Méthodes protégées

Méthode Description
getListener ( )

Method Details

getListener() protected méthode

protected getListener ( )

setUp() public méthode

Set up the listener
public setUp ( )

tearDown() public méthode

Tear down the listener
public tearDown ( )

testAddsCorrectResponseHeaderOnCacheMiss() public méthode

testCanDeleteAllImageVariationsFromCache() public méthode

testChangesTheImageInstanceOnCacheHit() public méthode

testDoesNotStoreIfCachedVersionAlreadyExists() public méthode

testDoesNotStoreNonImageModelsInTheCache() public méthode

testDoesNotTriggerWarningIfCachePathDoesNotExistAndParentIsWritable() public méthode

testRemovesCorruptCachedDataOnCacheHit() public méthode

testStoresImageInCache() public méthode

testThrowsAnExceptionWhenPathIsMissingFromTheParameters() public méthode

testThrowsExceptionWhenCacheDirIsNotWritable() public méthode