diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-31 01:49:55 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-31 01:49:55 +0000 |
commit | f40532da769cd1dd551a42bec64dbb1aff240099 (patch) | |
tree | 988da5abd5f1604ea59cccea4747dc124cccfb95 /modules/field/field.test | |
parent | 5cc1704a3f23cdef051fbd74bb6532f4dc3800d4 (diff) | |
download | brdo-f40532da769cd1dd551a42bec64dbb1aff240099.tar.gz brdo-f40532da769cd1dd551a42bec64dbb1aff240099.tar.bz2 |
#376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest.
Diffstat (limited to 'modules/field/field.test')
-rw-r--r-- | modules/field/field.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/field/field.test b/modules/field/field.test index 2dabfca5e..adf9c06bf 100644 --- a/modules/field/field.test +++ b/modules/field/field.test @@ -4,7 +4,7 @@ // TODO : use drupalCreateField() / drupalCreateFieldInstance() all over ? class FieldAttachTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field attach tests'), 'description' => t("Test Field Attach API functions."), @@ -606,7 +606,7 @@ class FieldAttachTestCase extends DrupalWebTestCase { class FieldInfoTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field info tests'), 'description' => t("Get information about existing fields, instances and bundles."), @@ -712,7 +712,7 @@ class FieldInfoTestCase extends DrupalWebTestCase { } class FieldFormTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field form tests'), 'description' => t("Test Field form handling."), @@ -919,7 +919,7 @@ class FieldFormTestCase extends DrupalWebTestCase { } class FieldTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field tests'), 'description' => t("Create / read /update a field."), @@ -1063,7 +1063,7 @@ class FieldTestCase extends DrupalWebTestCase { class FieldInstanceTestCase extends DrupalWebTestCase { protected $field; - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field instance tests'), 'description' => t("Create field entities by attaching fields to entities."), |