summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-31 01:49:55 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-31 01:49:55 +0000
commitf40532da769cd1dd551a42bec64dbb1aff240099 (patch)
tree988da5abd5f1604ea59cccea4747dc124cccfb95 /modules/comment
parent5cc1704a3f23cdef051fbd74bb6532f4dc3800d4 (diff)
downloadbrdo-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/comment')
-rw-r--r--modules/comment/comment.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test
index 2e4b6c4da..95956119f 100644
--- a/modules/comment/comment.test
+++ b/modules/comment/comment.test
@@ -229,7 +229,7 @@ class CommentHelperCase extends DrupalWebTestCase {
}
class CommentInterfaceTest extends CommentHelperCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Comment interface'),
'description' => t('Test comment user interfaces.'),
@@ -359,7 +359,7 @@ class CommentInterfaceTest extends CommentHelperCase {
}
class CommentAnonymous extends CommentHelperCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Anonymous comments'),
'description' => t('Test anonymous comments.'),
@@ -455,7 +455,7 @@ class CommentAnonymous extends CommentHelperCase {
}
class CommentApprovalTest extends CommentHelperCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Comment approval'),
'description' => t('Test comment approval functionality.'),
@@ -537,7 +537,7 @@ class CommentApprovalTest extends CommentHelperCase {
* Functional tests for the comment module blocks.
*/
class CommentBlockFunctionalTest extends CommentHelperCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Comment blocks'),
'description' => t('Test comment block functionality.'),
@@ -606,7 +606,7 @@ class CommentBlockFunctionalTest extends CommentHelperCase {
* Unit tests for comment module integration with RSS feeds.
*/
class CommentRSSUnitTest extends CommentHelperCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Comment RSS'),
'description' => t('Test comments as part of an RSS feed.'),