- Patch #338403 by drewish: code comments clean-up.
parent
66df602593
commit
eda100b83d
|
|
@ -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() {
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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().
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -2,9 +2,6 @@
|
|||
// $Id$
|
||||
|
||||
class UploadTestCase extends DrupalWebTestCase {
|
||||
/**
|
||||
* Implementation of getInfo().
|
||||
*/
|
||||
function getInfo() {
|
||||
return array(
|
||||
'name' => t('Upload functionality'),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue