1.20.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.

File

modules/simpletest/tests/image_test.module, line 52
Helper module for the image tests.

Code

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