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/profile/profile.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/profile/profile.test')
-rw-r--r-- | modules/profile/profile.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/profile/profile.test b/modules/profile/profile.test index 58193d40e..4a211c31d 100644 --- a/modules/profile/profile.test +++ b/modules/profile/profile.test @@ -114,7 +114,7 @@ class ProfileTestCase extends DrupalWebTestCase { } class ProfileTestFields extends ProfileTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => 'Test single fields', 'description' => t('Testing profile module with add/edit/delete textfield, textarea, list, checkbox, and url fields into profile page') , @@ -149,7 +149,7 @@ class ProfileTestFields extends ProfileTestCase { } class ProfileTestSelect extends ProfileTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => 'Test select field', 'description' => t('Testing profile module with add/edit/delete a select field') , @@ -174,7 +174,7 @@ class ProfileTestSelect extends ProfileTestCase { } class ProfileTestDate extends ProfileTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => 'Test date field', 'description' => t('Testing profile module with add/edit/delete a date field') , @@ -210,7 +210,7 @@ class ProfileTestDate extends ProfileTestCase { } class ProfileTestWeights extends ProfileTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => 'Test field weights', 'description' => t('Testing profile modules weigting of fields') , @@ -239,7 +239,7 @@ class ProfileTestWeights extends ProfileTestCase { * Test profile field autocompletion and access. */ class ProfileTestAutocomplete extends ProfileTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Autocompletion'), 'description' => t('Test profile fields with autocompletion.'), @@ -292,7 +292,7 @@ class ProfileTestAutocomplete extends ProfileTestCase { } class ProfileBlockTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Block availability'), 'description' => t('Check if the author-information block is available.'), |