Method |
Description |
|
executeResizeHookCallback ( object $imageObj ) : string |
Returns a custom image path. |
|
getCacheName ( ) : array |
Provides the data for the testGetCacheName() method. |
|
getComputeResizeDataWithImportantPart ( ) : array |
Provides the data for the testComputeResizeWithImportantPart() method. |
|
getComputeResizeDataWithoutImportantPart ( ) : array |
Provides the data for the testComputeResizeWithoutImportantPart() method. |
|
getGetPixelValueData ( ) : array |
Provides the data for the testGetPixelValue() method. |
|
getImageHookCallback ( string $originalPath, integer $targetWidth, integer $targetHeight, string $resizeMode, string $cacheName, object $fileObj, string $targetPath, object $imageObj ) : string |
Returns a custom image path. |
|
getLegacyGet ( ) : array |
Provides the data for the testLegacyGet() method. |
|
getLegacyResize ( ) : array |
Provides the data for the testLegacyGet() method. |
|
setUpBeforeClass ( ) |
|
|
tearDownAfterClass ( ) |
|
|
testComputeResizeWithImportantPart ( array $arguments, array $expectedResult ) |
Tests resizing with an important part. |
|
testComputeResizeWithoutImportantPart ( array $arguments, array $expectedResult ) |
Tests resizing without an important part. |
|
testConstruct ( ) |
Tests the object instantiation. |
|
testConstructWithInvalidExtension ( ) |
Tests the object instantiation with an invalid extension. |
|
testConstructWithNonexistentFile ( ) |
Tests the object instantiation with a non-existent file. |
|
testExecuteResizeHook ( ) |
Tests the executeResize hook. |
|
testExecuteResizeNoResizeNeeded ( ) |
Tests resizing an image which already matches the given dimensions. |
|
testExecuteResizeStandardCropResize ( ) |
Tests resizing an image which has to be cropped. |
|
testExecuteResizeStandardCropResizeAndFileExistsAlready ( ) |
Tests resizing an image which has to be cropped and has an existing target defined. |
|
testExecuteResizeStandardCropResizeAndTarget ( ) |
Tests resizing an image which has to be cropped and has a target defined. |
|
testExecuteResizeSvg ( ) |
Tests resizing an SVG image. |
|
testExecuteResizeSvgPercentageDimensions ( ) |
Tests resizing an SVG image with percentage based dimensions. |
|
testExecuteResizeSvgWithoutDimensions ( ) |
Tests resizing an SVG image without dimensions. |
|
testExecuteResizeSvgWithoutViewBox ( ) |
Tests resizing an SVG image without a view box. |
|
testExecuteResizeSvgWithoutViewBoxAndDimensions ( ) |
Tests resizing an SVG image without a view box and dimensions. |
|
testExecuteResizeSvgz ( ) |
Tests resizing an SVGZ image. |
|
testGetCacheName ( array $arguments, string $expectedCacheName ) |
Tests the getCacheName() method. |
|
testGetDeprecatedInvalidImages ( ) |
Tests the deprecated methods of the Image class. |
|
testGetImageHook ( ) |
Tests the getImage hook. |
|
testGetPixelValue ( string $value, integer $expected ) |
Tests the getPixelValue() method. |
|
testLegacyGet ( array $arguments, array $expectedResult ) |
Tests the legacy get() method. |
|
testLegacyResize ( array $arguments, array $expectedResult ) |
Tests the legacy resize() method. |
|
testSetZoomOutOfBoundsNegative ( ) |
Tests the setZoomLevel() with a negative out of bounds value. |
|
testSetZoomOutOfBoundsPositive ( ) |
Tests the setZoomLevel() method with a positive out of bounds value. |
|
testSettersAndGetters ( ) |
Tests the setters and getters. |
|