ImageTest.php |
file |
core/tests/Drupal/Tests/Component/Utility/ImageTest.php |
|
ImageTest::$fileUrlGenerator |
property |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
The file URL generator. |
ImageTest::$image |
property |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Image object. |
ImageTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
Modules to install. |
ImageTest::$source |
property |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Image source path. |
ImageTest::$testImages |
property |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
The images to test with. |
ImageTest::$toolkit |
property |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Mocked image toolkit. |
ImageTest::$toolkitOperation |
property |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Mocked image toolkit operation. |
ImageTest::getTestImage |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Get an image with a mocked toolkit, for testing. |
ImageTest::getTestImageForOperation |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Get an image with mocked toolkit and operation, for operation testing. |
ImageTest::getToolkitMock |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Mocks a toolkit. |
ImageTest::getToolkitOperationMock |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Mocks a toolkit operation. |
ImageTest::providerTestGetKeywordOffset |
function |
core/tests/Drupal/Tests/Component/Utility/ImageTest.php |
Provides data for testGetKeywordOffset(). |
ImageTest::providerTestScaleDimensions |
function |
core/tests/Drupal/Tests/Component/Utility/ImageTest.php |
Provides data for image dimension scale tests. |
ImageTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
|
ImageTest::setUp |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
|
ImageTest::testCanUploadSvg |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTest.php |
Tests that it's possible to upload SVG image, with the test module enabled. |
ImageTest::testChmodFails |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::save(). |
ImageTest::testConvert |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::convert(). |
ImageTest::testCrop |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::crop(). |
ImageTest::testCropHeight |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::crop(). |
ImageTest::testCropWidth |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::crop(). |
ImageTest::testDesaturate |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::desaturate(). |
ImageTest::testFloatResize |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::resize(). |
ImageTest::testGetFileSize |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::getFileSize. |
ImageTest::testGetHeight |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::getHeight(). |
ImageTest::testGetKeywordOffset |
function |
core/tests/Drupal/Tests/Component/Utility/ImageTest.php |
@covers ::getKeywordOffset |
ImageTest::testGetMimeType |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::getMimeType(). |
ImageTest::testGetToolkitId |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::getToolkitId(). |
ImageTest::testGetType |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::getToolkit()->getType(). |
ImageTest::testGetWidth |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::getWidth(). |
ImageTest::testImageSettingsForm |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTest.php |
Tests the ckeditor5_imageResize and ckeditor5_imageUpload settings forms. |
ImageTest::testInvalidGetKeywordOffset |
function |
core/tests/Drupal/Tests/Component/Utility/ImageTest.php |
@covers ::getKeywordOffset |
ImageTest::testIsValid |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::isValid(). |
ImageTest::testParseFileFails |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::parseFile(). |
ImageTest::testResize |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::resize(). |
ImageTest::testRotate |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::rotate(). |
ImageTest::testSave |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::save(). |
ImageTest::testSaveFails |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::save(). |
ImageTest::testScaleAndCropFails |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::scaleAndCrop(). |
ImageTest::testScaleAndCropHeight |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::scaleAndCrop(). |
ImageTest::testScaleAndCropWidth |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::scaleAndCrop(). |
ImageTest::testScaleDimensions |
function |
core/tests/Drupal/Tests/Component/Utility/ImageTest.php |
Tests all control flow branches in image_dimensions_scale(). |
ImageTest::testScaleHeight |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::scale(). |
ImageTest::testScaleSame |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::scale(). |
ImageTest::testScaleWidth |
function |
core/tests/Drupal/Tests/Core/Image/ImageTest.php |
Tests \Drupal\Core\Image\Image::scale(). |
ImageTest::testThemeImageWithSizes |
function |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
Tests that an image with the sizes attribute is output correctly. |
ImageTest::testThemeImageWithSrc |
function |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
Tests that an image with the src attribute is output correctly. |
ImageTest::testThemeImageWithSrcsetMultiplier |
function |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
Tests that an image with the srcset and multipliers is output correctly. |
ImageTest::testThemeImageWithSrcsetWidth |
function |
core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php |
Tests that an image with the srcset and widths is output correctly. |