SilverStripe\Assets\Tests\GDImageTest
Synopsis
class GDImageTest
extends ImageTest
{
- // Inherited members from ImageTest
- protected static string $fixture_file;
- // methods
- protected void setUp()
- public void testDriverType()
- public void testGetTagWithTitle()
- // Inherited methods from ImageTest
- protected void setUp()
- protected void tearDown()
- public void testGetTagWithTitle()
- public void testAutoOrientateOnEXIFData()
- public void testExifOrientationOnManipulatedImage()
- public void testGetTagWithoutTitle()
- public void testGetTagWithoutTitleContainingDots()
- public void testMultipleGenerateManipulationCalls()
- public void testQualityAdjustsImageFilesize()
- public void testReluctanceToResampling()
- public void testForceResample()
- public void testImageResize()
- public void testImageResizeValidate()
- public void testImageResizeInvalid()
- public void providerTestImageResizeInvalid()
- public void testGenerateImageWithInvalidParameters()
- public void testCacheFilename()
- public void testGenerateImageInSameFolderAsOriginal()
- public void testCacheDimensions()
- public void testVariantParts()
- public void testVariantPartsThrowsOnInvalidName()
- protected void getDimensionCacheKey()
- protected void getErrorCacheKey()
- public void testCacheErrorLoading()
- public void testCacheErrorInvalid()
- public void testPropertyInheritance()
- public void testGetSetImageBackend()
- protected MockObject getMockAssetBackend()
- public void testGetLazyLoadingEnabled()
Hierarchy
Members
protected
- $fixture_file
Methods
protected
public
Inherited from SilverStripe\Assets\Tests\ImageTest
protected
public
- providerTestImageResizeInvalid()
- testAutoOrientateOnEXIFData()
- testCacheDimensions() — Ensure dimensions are cached
- testCacheErrorInvalid()
- testCacheErrorLoading() — Test loading of errors
- testCacheFilename()
- testExifOrientationOnManipulatedImage()
- testForceResample() — Tests that a URL to a resampled image is provided when force_resample is set to true, if the resampled file is smaller than the original.
- testGenerateImageInSameFolderAsOriginal()
- testGenerateImageWithInvalidParameters()
- testGetLazyLoadingEnabled()
- testGetSetImageBackend()
- testGetTagWithTitle()
- testGetTagWithoutTitle()
- testGetTagWithoutTitleContainingDots()
- testImageResize()
- testImageResizeInvalid()
- testImageResizeValidate() — Test input arg validation
- testMultipleGenerateManipulationCalls() — Tests that multiple image manipulations may be performed on a single Image
- testPropertyInheritance() — Test that propertes from the source Image are inherited by resampled images
- testQualityAdjustsImageFilesize() — Tests that calls to ->Quality() affect the resulting image's file size.
- testReluctanceToResampling() — Tests that image manipulations that do not affect the resulting dimensions of the output image do not resample the file.
- testVariantParts()
- testVariantPartsThrowsOnInvalidName()