function image_test_get_all_calls

7.x image_test.module image_test_get_all_calls()

Get an array with the all the calls to the toolkits since image_test_reset() was called.

Return value

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 image_test_get_all_calls()
ImageEffectsUnitTest::testCropEffect in drupal-7.x/modules/image/image.test
Test the image_crop_effect() function.
ImageEffectsUnitTest::testDesaturateEffect in drupal-7.x/modules/image/image.test
Test the image_desaturate_effect() function.
ImageEffectsUnitTest::testResizeEffect in drupal-7.x/modules/image/image.test
Test the image_resize_effect() function.
ImageEffectsUnitTest::testRotateEffect in drupal-7.x/modules/image/image.test
Test the image_rotate_effect() function.
ImageEffectsUnitTest::testScaleAndCropEffect in drupal-7.x/modules/image/image.test
Test the image_scale_and_crop_effect() function.

... See full list

File

drupal-7.x/modules/simpletest/tests/image_test.module, line 52
Helper module for the image tests.

Code

function image_test_get_all_calls() {
  return variable_get('image_test_results', array());
}