Method |
Description |
|
emptyHookCallback ( ) |
Returns null. |
|
executeResizeHookCallback ( object $imageObj ) : string |
Returns a custom image path. |
|
getCreateWithLegacyMode ( ) : array |
Provides the data for the testCreateWithLegacyMode() method. |
|
getImageHookCallback ( string $originalPath, integer $targetWidth, integer $targetHeight, string $resizeMode, string $cacheName, object $fileObj, string $targetPath, object $imageObj ) : string |
Returns a custom image path. |
|
tearDown ( ) |
|
|
testCreate ( ) |
Tests the create() method. |
|
testCreateInvalidExtension ( ) |
Tests the create() method. |
|
testCreateWithImageObjectAndEmptyResizeConfiguration ( ) |
Tests the create() method. |
|
testCreateWithImageObjectAndResizeConfiguration ( ) |
Tests the create() method. |
|
testCreateWithImageSize ( ) |
Tests the create() method. |
|
testCreateWithLegacyMode ( string $mode, array $expected ) |
Tests the create() method. |
|
testCreateWithMissingImageSize ( ) |
Tests the create() method. |
|
testCreateWithoutResize ( ) |
Tests the create() method. |
|
testEmptyHooks ( ) |
Tests empty getImage and executeResize hooks. |
|
testExecuteResizeHook ( ) |
Tests the executeResize hook. |
|
testGetImageHook ( ) |
Tests the getImage hook. |
|
testGetImportantPartFromLegacyMode ( string $mode, string $expected ) |
Tests the getImportantPartFromLegacyMode() method. |
|
testGetImportantPartFromLegacyModeInvalidMode ( ) |
Tests the getImportantPartFromLegacyMode() method throws an exception for invalid resize modes. |
|
testInstantiation ( ) |
Tests the object instantiation. |
|