function image_test_get_all_calls in SimpleTest 7
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.
7 calls to image_test_get_all_calls()
- ImageToolkitTestCase::assertToolkitOperationsCalled in tests/
image.test - Assert that all of the specified image toolkit operations were called exactly once once, other values result in failure.
- ImageToolkitUnitTest::testCrop in tests/
image.test - Test the image_crop() function.
- ImageToolkitUnitTest::testDesaturate in tests/
image.test - Test the image_desaturate() function.
- ImageToolkitUnitTest::testResize in tests/
image.test - Test the image_resize() function.
- ImageToolkitUnitTest::testRotate in tests/
image.test - Test the image_rotate() function.
File
- 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());
}