Commit eda100b8 authored by Dries's avatar Dries

- Patch #338403 by drewish: code comments clean-up.

parent 66df6025
......@@ -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'),
......
......@@ -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'),
......
......@@ -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'),
......
......@@ -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');
}
......
......@@ -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');
}
......
......@@ -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'),
......
......@@ -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');
}
......
......@@ -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'),
......
......@@ -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();
......
......@@ -11,9 +11,6 @@ class ForumTestCase extends DrupalWebTestCase {
protected $root_forum;
protected $nids;
/**
* Implementation of getInfo().
*/
function getInfo() {
return array(
'name' => t('Forum functionality'),
......
......@@ -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'),
......
......@@ -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'),
......
......@@ -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.
......
......@@ -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'),
......
......@@ -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'),
......
......@@ -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'));
}
......
......@@ -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'),
......
......@@ -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'),
......
......@@ -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');
......
......@@ -2,9 +2,6 @@
// $Id$
class ActionsConfigurationTestCase extends DrupalWebTestCase {
/**
* Implementation of getInfo().
*/
function getInfo() {
return array(
'name' => t('Actions configuration'),
......
......@@ -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);
......
......@@ -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() {