1 image_test.module image_test_reset()

Reset/initialize the history of calls to the toolkit functions.

See also

image_test_get_all_calls()

File

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

Code

function image_test_reset() {
  // Keep track of calls to these operations
  $results = array(
    'load' => array(),
    'save' => array(),
    'settings' => array(),
    'resize' => array(),
    'rotate' => array(),
    'crop' => array(),
    'desaturate' => array(),
  );
  state_set('image_test_results', $results);
}