function ToolkitTestBase::imageTestGetAllCalls

Gets an array of calls to the test toolkit.

Return value

array An array keyed by operation name ('load', 'save', 'settings', 'resize', 'rotate', 'crop', 'desaturate') with values being arrays of parameters passed to each call.

13 calls to ToolkitTestBase::imageTestGetAllCalls()
ImageEffectsTest::testCropEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
Test the image_crop_effect() function.
ImageEffectsTest::testDesaturateEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
Test the image_desaturate_effect() function.
ImageEffectsTest::testResizeEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
Test the image_resize_effect() function.
ImageEffectsTest::testRotateEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
Test the image_rotate_effect() function.
ImageEffectsTest::testScaleAndCropEffect in drupal/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php
Test the image_scale_and_crop_effect() function.

... See full list

File

drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTestBase.php, line 108
Definition of Drupal\system\Tests\Image\ToolkitTestBase.

Class

ToolkitTestBase
Base class for image manipulation testing.

Namespace

Drupal\system\Tests\Image

Code

function imageTestGetAllCalls() {
  return \Drupal::state()
    ->get('image_test.results') ?: array();
}