summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-25 13:14:29 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-25 13:14:29 +0000
commiteda100b83da4d71bf0bfa6c614e08327ef0d292b (patch)
treeac11fb0aae0e68aee34b4aeffb7f32778bcf809d
parent66df602593230a2483d6538927fd66310c28c3f8 (diff)
downloadbrdo-eda100b83da4d71bf0bfa6c614e08327ef0d292b.tar.gz
brdo-eda100b83da4d71bf0bfa6c614e08327ef0d292b.tar.bz2
- Patch #338403 by drewish: code comments clean-up.
-rw-r--r--modules/aggregator/aggregator.test25
-rw-r--r--modules/block/block.test9
-rw-r--r--modules/blog/blog.test3
-rw-r--r--modules/blogapi/blogapi.test6
-rw-r--r--modules/book/book.test6
-rw-r--r--modules/comment/comment.test19
-rw-r--r--modules/contact/contact.test14
-rw-r--r--modules/dblog/dblog.test3
-rw-r--r--modules/filter/filter.test9
-rw-r--r--modules/forum/forum.test3
-rw-r--r--modules/help/help.test3
-rw-r--r--modules/locale/locale.test4
-rw-r--r--modules/menu/menu.test6
-rw-r--r--modules/node/node.test33
-rw-r--r--modules/php/php.test10
-rw-r--r--modules/poll/poll.test7
-rw-r--r--modules/profile/profile.test19
-rw-r--r--modules/search/search.test19
-rw-r--r--modules/simpletest/simpletest.test6
-rw-r--r--modules/simpletest/tests/actions.test3
-rw-r--r--modules/simpletest/tests/cache.test9
-rw-r--r--modules/simpletest/tests/common.test33
-rw-r--r--modules/simpletest/tests/database_test.test14
-rw-r--r--modules/simpletest/tests/file.test51
-rw-r--r--modules/simpletest/tests/registry.test14
-rw-r--r--modules/simpletest/tests/session.test8
-rw-r--r--modules/simpletest/tests/taxonomy_test.test6
-rw-r--r--modules/simpletest/tests/xmlrpc.test12
-rw-r--r--modules/statistics/statistics.test6
-rw-r--r--modules/syslog/syslog.test6
-rw-r--r--modules/tracker/tracker.test6
-rw-r--r--modules/translation/translation.test6
-rw-r--r--modules/trigger/trigger.test3
-rw-r--r--modules/upload/upload.test3
-rw-r--r--modules/user/user.test23
35 files changed, 3 insertions, 404 deletions
diff --git a/modules/aggregator/aggregator.test b/modules/aggregator/aggregator.test
index f59576113..e8e4f0875 100644
--- a/modules/aggregator/aggregator.test
+++ b/modules/aggregator/aggregator.test
@@ -4,9 +4,6 @@
class AggregatorTestCase extends DrupalWebTestCase {
private static $prefix = 'simpletest_aggregator_';
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('aggregator');
$web_user = $this->drupalCreateUser(array('administer news feeds', 'access news feeds'));
@@ -229,9 +226,6 @@ EOT;
}
class AddFeedTestCase extends AggregatorTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Add feed functionality'),
@@ -261,9 +255,6 @@ class AddFeedTestCase extends AggregatorTestCase {
}
class UpdateFeedTestCase extends AggregatorTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Update feed functionality'),
@@ -306,9 +297,6 @@ class UpdateFeedTestCase extends AggregatorTestCase {
}
class RemoveFeedTestCase extends AggregatorTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Remove feed functionality'),
@@ -337,9 +325,6 @@ class RemoveFeedTestCase extends AggregatorTestCase {
}
class UpdateFeedItemTestCase extends AggregatorTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Update feed item functionality'),
@@ -398,9 +383,6 @@ class UpdateFeedItemTestCase extends AggregatorTestCase {
}
class RemoveFeedItemTestCase extends AggregatorTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Remove feed item functionality'),
@@ -428,9 +410,7 @@ class RemoveFeedItemTestCase extends AggregatorTestCase {
class CategorizeFeedItemTestCase extends AggregatorTestCase {
private static $prefix = 'simpletest_aggregator_';
- /**
- * Implementation of getInfo().
- */
+
function getInfo() {
return array(
'name' => t('Categorize feed item functionality'),
@@ -482,9 +462,6 @@ class CategorizeFeedItemTestCase extends AggregatorTestCase {
class ImportOPMLTestCase extends AggregatorTestCase {
private static $prefix = 'simpletest_aggregator_';
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Import feeds from OPML functionality'),
diff --git a/modules/block/block.test b/modules/block/block.test
index c54e13213..0a203338c 100644
--- a/modules/block/block.test
+++ b/modules/block/block.test
@@ -2,9 +2,6 @@
// $Id$
class BlockTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Block functionality'),
@@ -13,9 +10,6 @@ class BlockTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
@@ -134,9 +128,6 @@ class BlockTestCase extends DrupalWebTestCase {
}
class NonDefaultBlockAdmin extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Non default theme admin'),
diff --git a/modules/blog/blog.test b/modules/blog/blog.test
index f4cc5285a..5086e001b 100644
--- a/modules/blog/blog.test
+++ b/modules/blog/blog.test
@@ -6,9 +6,6 @@ class BlogTestCase extends DrupalWebTestCase {
protected $own_user;
protected $any_user;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Blog functionality'),
diff --git a/modules/blogapi/blogapi.test b/modules/blogapi/blogapi.test
index eb77f5061..f0156ce16 100644
--- a/modules/blogapi/blogapi.test
+++ b/modules/blogapi/blogapi.test
@@ -2,9 +2,6 @@
// $Id$
class BlogAPITestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Blog API functionality'),
@@ -13,9 +10,6 @@ class BlogAPITestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('blog', 'blogapi', 'taxonomy');
}
diff --git a/modules/book/book.test b/modules/book/book.test
index c041f9be2..5843957fd 100644
--- a/modules/book/book.test
+++ b/modules/book/book.test
@@ -4,9 +4,6 @@
class BookTestCase extends DrupalWebTestCase {
protected $book;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Book functionality'),
@@ -15,9 +12,6 @@ class BookTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('book');
}
diff --git a/modules/comment/comment.test b/modules/comment/comment.test
index a552adc01..98e425244 100644
--- a/modules/comment/comment.test
+++ b/modules/comment/comment.test
@@ -6,9 +6,6 @@ class CommentHelperCase extends DrupalWebTestCase {
protected $web_user;
protected $node;
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('comment');
// Create users.
@@ -230,10 +227,6 @@ class CommentHelperCase extends DrupalWebTestCase {
}
class CommentInterfaceTest extends CommentHelperCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Comment interface'),
@@ -348,10 +341,6 @@ class CommentInterfaceTest extends CommentHelperCase {
}
class CommentNodePage extends CommentHelperCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Comment on a node page'),
@@ -384,10 +373,6 @@ class CommentNodePage extends CommentHelperCase {
}
class CommentAnonymous extends CommentHelperCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Comment on a node page'),
@@ -484,10 +469,6 @@ class CommentAnonymous extends CommentHelperCase {
}
class CommentApprovalTest extends CommentHelperCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Comment approval'),
diff --git a/modules/contact/contact.test b/modules/contact/contact.test
index f6e570eca..b99f9030c 100644
--- a/modules/contact/contact.test
+++ b/modules/contact/contact.test
@@ -5,10 +5,6 @@
* Test the sitewide contact form.
*/
class ContactSitewideTestCase extends DrupalWebTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Site-wide contact form'),
@@ -17,9 +13,6 @@ class ContactSitewideTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('contact');
}
@@ -263,10 +256,6 @@ class ContactSitewideTestCase extends DrupalWebTestCase {
* Test the personal contact form.
*/
class ContactPersonalTestCase extends DrupalWebTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Personal contact form'),
@@ -275,9 +264,6 @@ class ContactPersonalTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('contact');
}
diff --git a/modules/dblog/dblog.test b/modules/dblog/dblog.test
index ef4730176..c95ae6552 100644
--- a/modules/dblog/dblog.test
+++ b/modules/dblog/dblog.test
@@ -5,9 +5,6 @@ class DBLogTestCase extends DrupalWebTestCase {
protected $big_user;
protected $any_user;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('DBLog functionality'),
diff --git a/modules/filter/filter.test b/modules/filter/filter.test
index cd6dc1a7e..5a0883ad3 100644
--- a/modules/filter/filter.test
+++ b/modules/filter/filter.test
@@ -2,9 +2,6 @@
// $Id$
class FilterAdminTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Filter administration functionality'),
@@ -184,9 +181,6 @@ class FilterAdminTestCase extends DrupalWebTestCase {
class FilterTestCase extends DrupalWebTestCase {
protected $format;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Core filters'),
@@ -195,9 +189,6 @@ class FilterTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
diff --git a/modules/forum/forum.test b/modules/forum/forum.test
index 2dfb55f7b..4aaf18cad 100644
--- a/modules/forum/forum.test
+++ b/modules/forum/forum.test
@@ -11,9 +11,6 @@ class ForumTestCase extends DrupalWebTestCase {
protected $root_forum;
protected $nids;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Forum functionality'),
diff --git a/modules/help/help.test b/modules/help/help.test
index 4cc79c46f..0a988d6c9 100644
--- a/modules/help/help.test
+++ b/modules/help/help.test
@@ -5,9 +5,6 @@ class HelpTestCase extends DrupalWebTestCase {
protected $big_user;
protected $any_user;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Help functionality'),
diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 3daf79f5e..45a014755 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -2,9 +2,6 @@
// $Id$
class LocaleTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo() for information
- */
function getInfo() {
return array(
'name' => t('String translate'),
@@ -119,7 +116,6 @@ class LocaleTestCase extends DrupalWebTestCase {
* Functional tests for the import of translation files.
*/
class LocaleImportFunctionalTest extends DrupalWebTestCase {
-
function getInfo() {
return array(
'name' => t('Translation import'),
diff --git a/modules/menu/menu.test b/modules/menu/menu.test
index 68d79964e..bd453a097 100644
--- a/modules/menu/menu.test
+++ b/modules/menu/menu.test
@@ -7,9 +7,6 @@ class MenuTestCase extends DrupalWebTestCase {
protected $menu;
protected $items;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Menu item creation/deletion'),
@@ -18,9 +15,6 @@ class MenuTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('menu');
// Create users.
diff --git a/modules/node/node.test b/modules/node/node.test
index 13753ea53..546e99151 100644
--- a/modules/node/node.test
+++ b/modules/node/node.test
@@ -5,9 +5,6 @@ class NodeRevisionsTestCase extends DrupalWebTestCase {
protected $nodes;
protected $logs;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Node revisions'),
@@ -16,9 +13,6 @@ class NodeRevisionsTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
@@ -93,9 +87,6 @@ class NodeRevisionsTestCase extends DrupalWebTestCase {
}
class NodeTeaserTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Node teaser'),
@@ -241,9 +232,6 @@ class NodeTeaserTestCase extends DrupalWebTestCase {
}
class PageEditTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Node edit'),
@@ -252,9 +240,6 @@ class PageEditTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
@@ -301,9 +286,6 @@ class PageEditTestCase extends DrupalWebTestCase {
}
class PagePreviewTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Node preview'),
@@ -312,9 +294,6 @@ class PagePreviewTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
@@ -344,9 +323,6 @@ class PagePreviewTestCase extends DrupalWebTestCase {
}
class PageCreationTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Node creation'),
@@ -355,9 +331,6 @@ class PageCreationTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
@@ -385,9 +358,6 @@ class PageCreationTestCase extends DrupalWebTestCase {
}
class PageViewTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Node edit permissions'),
@@ -427,9 +397,6 @@ class PageViewTestCase extends DrupalWebTestCase {
}
class NodeTitleXSSTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Node title XSS filtering'),
diff --git a/modules/php/php.test b/modules/php/php.test
index e51e14497..6ee4f3a59 100644
--- a/modules/php/php.test
+++ b/modules/php/php.test
@@ -5,10 +5,6 @@
* Base PHP test case class.
*/
class PHPTestCase extends DrupalWebTestCase {
-
- /**
- * Implementation of getInfo().
- */
function setUp() {
parent::setUp('php');
@@ -41,9 +37,6 @@ class PHPTestCase extends DrupalWebTestCase {
* Tests to make sure the PHP filter actually evaluates PHP code when used.
*/
class PHPFilterTestCase extends PHPTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('PHP filter functionality'),
@@ -87,9 +80,6 @@ class PHPFilterTestCase extends PHPTestCase {
* Tests to make sure access to the PHP filter is properly restricted.
*/
class PHPAccessTestCase extends PHPTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('PHP filter access check'),
diff --git a/modules/poll/poll.test b/modules/poll/poll.test
index 6c190a4e3..0806d4720 100644
--- a/modules/poll/poll.test
+++ b/modules/poll/poll.test
@@ -74,10 +74,6 @@ class PollTestCase extends DrupalWebTestCase {
}
class PollCreateTestCase extends PollTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array('name' => t('Poll create'), 'description' => 'Adds "more choices", previews and creates a poll.', 'group' => t('Poll'));
}
@@ -94,9 +90,6 @@ class PollCreateTestCase extends PollTestCase {
}
class PollVoteTestCase extends PollTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array('name' => t('Poll vote'), 'description' => 'Vote on a poll', 'group' => t('Poll'));
}
diff --git a/modules/profile/profile.test b/modules/profile/profile.test
index 485b79336..4ffa92130 100644
--- a/modules/profile/profile.test
+++ b/modules/profile/profile.test
@@ -114,9 +114,6 @@ class ProfileTestCase extends DrupalWebTestCase {
}
class ProfileTestFields extends ProfileTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => 'Test single fields',
@@ -150,10 +147,6 @@ class ProfileTestFields extends ProfileTestCase {
}
class ProfileTestSelect extends ProfileTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => 'Test select field',
@@ -179,10 +172,6 @@ class ProfileTestSelect extends ProfileTestCase {
}
class ProfileTestDate extends ProfileTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => 'Test date field',
@@ -219,10 +208,6 @@ class ProfileTestDate extends ProfileTestCase {
}
class ProfileTestWeights extends ProfileTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => 'Test field weights',
@@ -252,10 +237,6 @@ class ProfileTestWeights extends ProfileTestCase {
* Test profile field autocompletion and access.
*/
class ProfileTestAutocomplete extends ProfileTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Autocompletion'),
diff --git a/modules/search/search.test b/modules/search/search.test
index cf3081df3..849964dbc 100644
--- a/modules/search/search.test
+++ b/modules/search/search.test
@@ -4,9 +4,6 @@
define('SEARCH_TYPE', '_test_');
class SearchMatchTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Search engine queries'),
@@ -163,9 +160,7 @@ class SearchMatchTestCase extends DrupalWebTestCase {
class SearchBikeShed extends DrupalWebTestCase {
protected $searching_user;
- /**
- * Implementation of getInfo().
- */
+
function getInfo() {
return array(
'name' => t('Bike shed'),
@@ -174,9 +169,6 @@ class SearchBikeShed extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('search');
@@ -199,9 +191,6 @@ class SearchBikeShed extends DrupalWebTestCase {
class SearchAdvancedSearchForm extends DrupalWebTestCase {
protected $node;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Advanced search form'),
@@ -210,9 +199,6 @@ class SearchAdvancedSearchForm extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('search');
// Create and login user.
@@ -266,9 +252,6 @@ class SearchAdvancedSearchForm extends DrupalWebTestCase {
}
class SearchRankingTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Search engine ranking'),
diff --git a/modules/simpletest/simpletest.test b/modules/simpletest/simpletest.test
index e319d3334..19278f23c 100644
--- a/modules/simpletest/simpletest.test
+++ b/modules/simpletest/simpletest.test
@@ -13,9 +13,6 @@ class SimpleTestTestCase extends DrupalWebTestCase {
*/
protected $test_ids = array();
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('SimpleTest functionality'),
@@ -27,9 +24,6 @@ class SimpleTestTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
if (!$this->inCURL()) {
parent::setUp('simpletest');
diff --git a/modules/simpletest/tests/actions.test b/modules/simpletest/tests/actions.test
index 68b7a1b98..3965500ef 100644
--- a/modules/simpletest/tests/actions.test
+++ b/modules/simpletest/tests/actions.test
@@ -2,9 +2,6 @@
// $Id$
class ActionsConfigurationTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Actions configuration'),
diff --git a/modules/simpletest/tests/cache.test b/modules/simpletest/tests/cache.test
index e082da3fd..61acfa8e6 100644
--- a/modules/simpletest/tests/cache.test
+++ b/modules/simpletest/tests/cache.test
@@ -102,9 +102,6 @@ class CacheTestCase extends DrupalWebTestCase {
}
class CacheSavingCase extends CacheTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Cache saving test'),
@@ -166,9 +163,6 @@ class CacheSavingCase extends CacheTestCase {
}
class CacheClearCase extends CacheTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Cache clear test'),
@@ -177,9 +171,6 @@ class CacheClearCase extends CacheTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
$this->default_table = 'cache_page';
$this->default_value = $this->randomName(10);
diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test
index ec04641e1..60b397ebf 100644
--- a/modules/simpletest/tests/common.test
+++ b/modules/simpletest/tests/common.test
@@ -5,9 +5,6 @@ class CommonSizeTestCase extends DrupalWebTestCase {
protected $exact_test_cases;
protected $rounded_test_cases;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Size parsing test'),
@@ -16,9 +13,6 @@ class CommonSizeTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
$kb = DRUPAL_KILOBYTE;
$this->exact_test_cases = array(
@@ -115,9 +109,6 @@ class DrupalTagsHandlingTestCase extends DrupalWebTestCase {
'"Drupal, although it rhymes with sloopal, is as awesome as a troopal!"' => 'Drupal, although it rhymes with sloopal, is as awesome as a troopal!',
);
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Drupal tags handling'),
@@ -168,9 +159,6 @@ class DrupalTagsHandlingTestCase extends DrupalWebTestCase {
* Test the Drupal CSS system.
*/
class CascadingStylesheetsTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Cascading stylesheets'),
@@ -179,9 +167,6 @@ class CascadingStylesheetsTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
// Reset drupal_add_css() before each test.
@@ -218,9 +203,6 @@ class CascadingStylesheetsTestCase extends DrupalWebTestCase {
* Test drupal_http_request().
*/
class DrupalHTTPRequestTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Drupal HTTP request'),
@@ -229,9 +211,6 @@ class DrupalHTTPRequestTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('system_test');
}
@@ -307,9 +286,6 @@ class DrupalHTTPRequestTestCase extends DrupalWebTestCase {
* Testing drupal_set_content and drupal_get_content.
*/
class DrupalSetContentTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Drupal set/get content'),
@@ -361,9 +337,6 @@ class JavaScriptTestCase extends DrupalWebTestCase {
*/
var $preprocess_js = NULL;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('JavaScript'),
@@ -372,9 +345,6 @@ class JavaScriptTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
// Enable Locale and SimpleTest in the test environment.
parent::setUp('locale', 'simpletest');
@@ -387,9 +357,6 @@ class JavaScriptTestCase extends DrupalWebTestCase {
drupal_add_js(NULL, NULL, TRUE);
}
- /**
- * Implementation of tearDown().
- */
function tearDown() {
// Restore configured value for JavaScript preprocessing.
variable_set('preprocess_js', $this->preprocess_js);
diff --git a/modules/simpletest/tests/database_test.test b/modules/simpletest/tests/database_test.test
index 377baa2e3..88b5f36d2 100644
--- a/modules/simpletest/tests/database_test.test
+++ b/modules/simpletest/tests/database_test.test
@@ -1978,10 +1978,6 @@ class DatabaseLoggingTestCase extends DatabaseTestCase {
* Range query tests.
*/
class DatabaseRangeQueryTestCase extends DrupalWebTestCase {
-
- /**
- * Define metadata for this test subclass.
- */
function getInfo() {
return array(
'name' => t('Range query test'),
@@ -1990,9 +1986,6 @@ class DatabaseRangeQueryTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('database_test');
}
@@ -2016,10 +2009,6 @@ class DatabaseRangeQueryTestCase extends DrupalWebTestCase {
* Temporary query tests.
*/
class DatabaseTemporaryQueryTestCase extends DrupalWebTestCase {
-
- /**
- * Define metadata for this test subclass.
- */
function getInfo() {
return array(
'name' => t('Temporary query test'),
@@ -2028,9 +2017,6 @@ class DatabaseTemporaryQueryTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('database_test');
}
diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test
index 5da57ee5a..d27718cb9 100644
--- a/modules/simpletest/tests/file.test
+++ b/modules/simpletest/tests/file.test
@@ -98,9 +98,6 @@ class FileTestCase extends DrupalWebTestCase {
* hooks.
*/
class FileHookTestCase extends FileTestCase {
- /**
- * Implementation of setUp().
- */
function setUp() {
// Install file_test module
parent::setUp('file_test');
@@ -137,9 +134,6 @@ class FileHookTestCase extends FileTestCase {
* This will run tests against the file validation functions (file_validate_*).
*/
class FileValidatorTest extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File validator tests'),
@@ -148,9 +142,6 @@ class FileValidatorTest extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
@@ -301,9 +292,6 @@ class FileValidatorTest extends DrupalWebTestCase {
* Tests the file_unmanaged_save_data() function.
*/
class FileUnmanagedSaveDataTest extends FileTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Unmanaged file save data'),
@@ -338,9 +326,6 @@ class FileUnmanagedSaveDataTest extends FileTestCase {
* Test the file_save_upload() function.
*/
class FileSaveUploadTest extends FileHookTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File uploading'),
@@ -377,9 +362,6 @@ class FileSaveUploadTest extends FileHookTestCase {
* Directory related tests.
*/
class FileDirectoryTest extends FileTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File paths and directories'),
@@ -545,9 +527,6 @@ class FileDirectoryTest extends FileTestCase {
* Tests the file_scan_directory() function.
*/
class FileScanDirectoryTest extends FileTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File scan directory'),
@@ -577,9 +556,6 @@ class FileScanDirectoryTest extends FileTestCase {
* Deletion related tests.
*/
class FileUnmanagedDeleteTest extends FileTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Unmanaged file delete'),
@@ -626,9 +602,6 @@ class FileUnmanagedDeleteTest extends FileTestCase {
* Unmanaged move related tests.
*/
class FileUnmanagedMoveTest extends FileTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Unmanaged file moving'),
@@ -701,9 +674,6 @@ class FileUnmanagedMoveTest extends FileTestCase {
* Unmanaged copy related tests.
*/
class FileUnmanagedCopyTest extends FileTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Unmanaged file copying'),
@@ -791,9 +761,6 @@ class FileUnmanagedCopyTest extends FileTestCase {
* Deletion related tests.
*/
class FileDeleteTest extends FileHookTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File delete'),
@@ -826,9 +793,6 @@ class FileDeleteTest extends FileHookTestCase {
* Move related tests
*/
class FileMoveTest extends FileHookTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File moving'),
@@ -862,9 +826,6 @@ class FileMoveTest extends FileHookTestCase {
* Copy related tests.
*/
class FileCopyTest extends FileHookTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File copying'),
@@ -903,9 +864,6 @@ class FileCopyTest extends FileHookTestCase {
* Tests the file_load() function.
*/
class FileLoadTest extends FileHookTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File loading'),
@@ -978,9 +936,6 @@ class FileLoadTest extends FileHookTestCase {
* Tests the file_save() function.
*/
class FileSaveTest extends FileHookTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File saving'),
@@ -1030,9 +985,6 @@ class FileSaveTest extends FileHookTestCase {
* Tests the file_validate() function..
*/
class FileValidateTest extends FileHookTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File validate'),
@@ -1072,9 +1024,6 @@ class FileValidateTest extends FileHookTestCase {
* Tests the file_save_data() function.
*/
class FileSaveDataTest extends FileHookTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('File save data'),
diff --git a/modules/simpletest/tests/registry.test b/modules/simpletest/tests/registry.test
index 794403dac..82d33b51b 100644
--- a/modules/simpletest/tests/registry.test
+++ b/modules/simpletest/tests/registry.test
@@ -2,10 +2,6 @@
// $Id$
class RegistryParseFileTestCase extends DrupalWebTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Registry parse file test'),
@@ -14,9 +10,6 @@ class RegistryParseFileTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
$this->fileName = 'registry_test_' . md5(rand());
$this->functionName = 'registry_test_function' . md5(rand());
@@ -56,12 +49,8 @@ CONTENTS;
}
class RegistryParseFilesTestCase extends DrupalWebTestCase {
-
protected $fileTypes = array('new', 'existing_changed');
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Registry parse files test'),
@@ -70,9 +59,6 @@ class RegistryParseFilesTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
// Create files with some php to parse - one 'new', one 'existing' so
diff --git a/modules/simpletest/tests/session.test b/modules/simpletest/tests/session.test
index 751917f12..4512d9cd4 100644
--- a/modules/simpletest/tests/session.test
+++ b/modules/simpletest/tests/session.test
@@ -7,12 +7,8 @@
*/
class SessionTestCase extends DrupalWebTestCase {
-
protected $saved_cookie;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Session tests'),
@@ -21,12 +17,10 @@ class SessionTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('session_test');
}
+
/**
* Implementation of curlHeaderCallback().
*/
diff --git a/modules/simpletest/tests/taxonomy_test.test b/modules/simpletest/tests/taxonomy_test.test
index 27dfe308b..9d51e328f 100644
--- a/modules/simpletest/tests/taxonomy_test.test
+++ b/modules/simpletest/tests/taxonomy_test.test
@@ -2,9 +2,6 @@
// $Id$
class TaxonomyHooksTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Taxonomy term hooks'),
@@ -13,9 +10,6 @@ class TaxonomyHooksTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('taxonomy', 'taxonomy_test');
$taxonomy_admin = $this->drupalCreateUser(array('administer taxonomy'));
diff --git a/modules/simpletest/tests/xmlrpc.test b/modules/simpletest/tests/xmlrpc.test
index db35c79ed..814c65f8e 100644
--- a/modules/simpletest/tests/xmlrpc.test
+++ b/modules/simpletest/tests/xmlrpc.test
@@ -2,9 +2,6 @@
// $Id$
class XMLRPCValidator1IncTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('XML-RPC validator'),
@@ -13,9 +10,6 @@ class XMLRPCValidator1IncTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('xmlrpc_test');
}
@@ -128,9 +122,6 @@ class XMLRPCValidator1IncTestCase extends DrupalWebTestCase {
}
class XMLRPCMessagesTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('XML-RPC message'),
@@ -139,9 +130,6 @@ class XMLRPCMessagesTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('xmlrpc_test');
}
diff --git a/modules/statistics/statistics.test b/modules/statistics/statistics.test
index 508134372..2f7602103 100644
--- a/modules/statistics/statistics.test
+++ b/modules/statistics/statistics.test
@@ -2,9 +2,6 @@
// $Id$
class StatisticsBlockVisitorsTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Top visitor blocking'),
@@ -13,9 +10,6 @@ class StatisticsBlockVisitorsTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('statistics');
diff --git a/modules/syslog/syslog.test b/modules/syslog/syslog.test
index a9693d676..61a7affda 100644
--- a/modules/syslog/syslog.test
+++ b/modules/syslog/syslog.test
@@ -2,9 +2,6 @@
// $Id$
class SyslogTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Syslog functionality'),
@@ -13,9 +10,6 @@ class SyslogTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('syslog');
}
diff --git a/modules/tracker/tracker.test b/modules/tracker/tracker.test
index 045191be1..e696d24a8 100644
--- a/modules/tracker/tracker.test
+++ b/modules/tracker/tracker.test
@@ -6,9 +6,6 @@ class TrackerTest extends DrupalWebTestCase {
protected $other_user;
protected $new_node;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Tracker'),
@@ -17,9 +14,6 @@ class TrackerTest extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('comment', 'tracker');
diff --git a/modules/translation/translation.test b/modules/translation/translation.test
index 6e92e4200..e7a97790a 100644
--- a/modules/translation/translation.test
+++ b/modules/translation/translation.test
@@ -4,9 +4,6 @@
class TranslationTestCase extends DrupalWebTestCase {
protected $book;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Translation functionality'),
@@ -15,9 +12,6 @@ class TranslationTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp('locale', 'translation');
}
diff --git a/modules/trigger/trigger.test b/modules/trigger/trigger.test
index 566d252d9..fab53e5f4 100644
--- a/modules/trigger/trigger.test
+++ b/modules/trigger/trigger.test
@@ -5,9 +5,6 @@ class TriggerContentTestCase extends DrupalWebTestCase {
var $_cleanup_roles = array();
var $_cleanup_users = array();
- /**
- * Implementation of getInfo() for information
- */
function getInfo() {
return array(
'name' => t('Trigger content (node) actions'),
diff --git a/modules/upload/upload.test b/modules/upload/upload.test
index c143e486d..1a3438844 100644
--- a/modules/upload/upload.test
+++ b/modules/upload/upload.test
@@ -2,9 +2,6 @@
// $Id$
class UploadTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Upload functionality'),
diff --git a/modules/user/user.test b/modules/user/user.test
index 7bb2d915b..981539b87 100644
--- a/modules/user/user.test
+++ b/modules/user/user.test
@@ -2,9 +2,6 @@
// $Id$
class UserRegistrationTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('User registration'),
@@ -104,9 +101,6 @@ class UserRegistrationTestCase extends DrupalWebTestCase {
class UserValidationTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Username/e-mail validation'),
@@ -159,9 +153,6 @@ class UserValidationTestCase extends DrupalWebTestCase {
class UserDeleteTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('User delete'),
@@ -422,9 +413,6 @@ class UserPermissionsTestCase extends DrupalWebTestCase {
protected $admin_user;
protected $rid;
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('Role permissions'),
@@ -472,9 +460,6 @@ class UserPermissionsTestCase extends DrupalWebTestCase {
}
class UserAdminTestCase extends DrupalWebTestCase {
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('User admininstration'),
@@ -588,10 +573,6 @@ class UserTimeZoneFunctionalTest extends DrupalWebTestCase {
* Test user autocompletion.
*/
class UserAutocompleteTestCase extends DrupalWebTestCase {
-
- /**
- * Implementation of getInfo().
- */
function getInfo() {
return array(
'name' => t('User autocompletion'),
@@ -600,9 +581,6 @@ class UserAutocompleteTestCase extends DrupalWebTestCase {
);
}
- /**
- * Implementation of setUp().
- */
function setUp() {
parent::setUp();
@@ -635,7 +613,6 @@ class UserAutocompleteTestCase extends DrupalWebTestCase {
* Test user blocks.
*/
class UserBlocksUnitTests extends DrupalWebTestCase {
-
function getInfo() {
return array(
'name' => t('User blocks'),