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/taxonomy/taxonomy.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/taxonomy/taxonomy.test')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index a32a48cfc..2679da3e7 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -43,7 +43,7 @@ class TaxonomyWebTestCase extends DrupalWebTestCase { */ class TaxonomyVocabularyFunctionalTest extends TaxonomyWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Taxonomy vocabulary interface'), 'description' => t('Test the taxonomy vocabulary interface.'), @@ -173,7 +173,7 @@ class TaxonomyVocabularyFunctionalTest extends TaxonomyWebTestCase { */ class TaxonomyVocabularyUnitTest extends TaxonomyWebTestCase { -function getInfo() { +public static function getInfo() { return array( 'name' => t('Taxonomy vocabularies'), 'description' => t('Test loading, saving and deleting vocabularies.'), @@ -282,7 +282,7 @@ function getInfo() { */ class TaxonomyTermUnitTest extends TaxonomyWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Taxonomy term unit tests'), 'description' => t('Unit tests for taxonomy term functions.'), @@ -357,7 +357,7 @@ class TaxonomyTermUnitTest extends TaxonomyWebTestCase { */ class TaxonomyTermTestCase extends TaxonomyWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Taxonomy term functions and forms.'), 'description' => t('Test load, save and delete for taxonomy terms.'), @@ -563,7 +563,7 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { */ class TaxonomyLoadMultipleUnitTest extends TaxonomyWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Taxonomy term multiple loading'), 'description' => t('Test the loading of multiple taxonomy terms at once'), @@ -629,7 +629,7 @@ class TaxonomyLoadMultipleUnitTest extends TaxonomyWebTestCase { * Tests for taxonomy hook invocation. */ class TaxonomyHooksTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Taxonomy term hooks'), 'description' => t('Hooks for taxonomy term load/save/delete.'), |