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

... See full list

File

modules/simpletest/tests/image_test.module, line 52

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.