summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/image_test.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-01 17:49:11 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-01 17:49:11 +0000
commit18b7e4254bde471e4c2060a430b3f219f917c4b9 (patch)
tree893a4cdabfd4c3b5f43424a203ea4094797a6b7f /modules/simpletest/tests/image_test.module
parentc4a548f64d3c941a36edd03903ba388c6c32c1ae (diff)
downloadbrdo-18b7e4254bde471e4c2060a430b3f219f917c4b9.tar.gz
brdo-18b7e4254bde471e4c2060a430b3f219f917c4b9.tar.bz2
#269337 by egfrith and wrunt: Added support for more image types (PDF, TIFF, EPS, etc.).
Diffstat (limited to 'modules/simpletest/tests/image_test.module')
-rw-r--r--modules/simpletest/tests/image_test.module12
1 files changed, 10 insertions, 2 deletions
diff --git a/modules/simpletest/tests/image_test.module b/modules/simpletest/tests/image_test.module
index 1428d303c..695485730 100644
--- a/modules/simpletest/tests/image_test.module
+++ b/modules/simpletest/tests/image_test.module
@@ -58,8 +58,8 @@ function image_test_get_all_calls() {
* Store the values passed to a toolkit call.
*
* @param $op
- * One of the image toolkit operations: 'load', 'save', 'settings', 'resize',
- * 'rotate', 'crop', 'desaturate'.
+ * One of the image toolkit operations: 'get_info', 'load', 'save',
+ * 'settings', 'resize', 'rotate', 'crop', 'desaturate'.
* @param $args
* Values passed to hook.
* @see image_test_get_all_calls()
@@ -80,6 +80,14 @@ function image_test_settings() {
}
/**
+ * Image toolkit's get_info operation.
+ */
+function image_test_get_info(stdClass $image) {
+ _image_test_log_call('get_info', array($image));
+ return array();
+}
+
+/**
* Image tookit's load operation.
*/
function image_test_load(stdClass $image) {