#500866 by boombatower: Remove t() from getInfo in tests.

merge-requests/26/head
Angie Byron 2009-07-13 21:51:42 +00:00
parent beadf384f1
commit 735e1d904f
53 changed files with 665 additions and 653 deletions

View File

@ -261,9 +261,9 @@ EOF;
class AddFeedTestCase extends AggregatorTestCase { class AddFeedTestCase extends AggregatorTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Add feed functionality'), 'name' => 'Add feed functionality',
'description' => t('Add feed test.'), 'description' => 'Add feed test.',
'group' => t('Aggregator') 'group' => 'Aggregator'
); );
} }
@ -290,9 +290,9 @@ class AddFeedTestCase extends AggregatorTestCase {
class UpdateFeedTestCase extends AggregatorTestCase { class UpdateFeedTestCase extends AggregatorTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Update feed functionality'), 'name' => 'Update feed functionality',
'description' => t('Update feed test.'), 'description' => 'Update feed test.',
'group' => t('Aggregator') 'group' => 'Aggregator'
); );
} }
@ -332,9 +332,9 @@ class UpdateFeedTestCase extends AggregatorTestCase {
class RemoveFeedTestCase extends AggregatorTestCase { class RemoveFeedTestCase extends AggregatorTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Remove feed functionality'), 'name' => 'Remove feed functionality',
'description' => t('Remove feed test.'), 'description' => 'Remove feed test.',
'group' => t('Aggregator') 'group' => 'Aggregator'
); );
} }
@ -360,9 +360,9 @@ class RemoveFeedTestCase extends AggregatorTestCase {
class UpdateFeedItemTestCase extends AggregatorTestCase { class UpdateFeedItemTestCase extends AggregatorTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Update feed item functionality'), 'name' => 'Update feed item functionality',
'description' => t('Update feed items from a feed.'), 'description' => 'Update feed items from a feed.',
'group' => t('Aggregator') 'group' => 'Aggregator'
); );
} }
@ -421,9 +421,9 @@ class UpdateFeedItemTestCase extends AggregatorTestCase {
class RemoveFeedItemTestCase extends AggregatorTestCase { class RemoveFeedItemTestCase extends AggregatorTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Remove feed item functionality'), 'name' => 'Remove feed item functionality',
'description' => t('Remove feed items from a feed.'), 'description' => 'Remove feed items from a feed.',
'group' => t('Aggregator') 'group' => 'Aggregator'
); );
} }
@ -459,9 +459,9 @@ class RemoveFeedItemTestCase extends AggregatorTestCase {
class CategorizeFeedItemTestCase extends AggregatorTestCase { class CategorizeFeedItemTestCase extends AggregatorTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Categorize feed item functionality'), 'name' => 'Categorize feed item functionality',
'description' => t('Test feed item categorization.'), 'description' => 'Test feed item categorization.',
'group' => t('Aggregator') 'group' => 'Aggregator'
); );
} }
@ -516,9 +516,9 @@ class CategorizeFeedItemTestCase extends AggregatorTestCase {
class ImportOPMLTestCase extends AggregatorTestCase { class ImportOPMLTestCase extends AggregatorTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Import feeds from OPML functionality'), 'name' => 'Import feeds from OPML functionality',
'description' => t('Test OPML import.'), 'description' => 'Test OPML import.',
'group' => t('Aggregator'), 'group' => 'Aggregator',
); );
} }

View File

@ -11,9 +11,9 @@ class BlockTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Block functionality'), 'name' => 'Block functionality',
'description' => t('Add, edit and delete custom block. Configure and move a module-defined block.'), 'description' => 'Add, edit and delete custom block. Configure and move a module-defined block.',
'group' => t('Block'), 'group' => 'Block',
); );
} }
@ -205,9 +205,9 @@ class BlockTestCase extends DrupalWebTestCase {
class NonDefaultBlockAdmin extends DrupalWebTestCase { class NonDefaultBlockAdmin extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Non default theme admin'), 'name' => 'Non default theme admin',
'description' => t('Check the administer page for non default theme.'), 'description' => 'Check the administer page for non default theme.',
'group' => t('Block'), 'group' => 'Block',
); );
} }
@ -229,9 +229,9 @@ class NonDefaultBlockAdmin extends DrupalWebTestCase {
class NewDefaultThemeBlocks extends DrupalWebTestCase { class NewDefaultThemeBlocks extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('New default theme blocks'), 'name' => 'New default theme blocks',
'description' => t('Checks that the new default theme gets blocks.'), 'description' => 'Checks that the new default theme gets blocks.',
'group' => t('Block'), 'group' => 'Block',
); );
} }
@ -273,9 +273,9 @@ class NewDefaultThemeBlocks extends DrupalWebTestCase {
class BlockAdminThemeTestCase extends DrupalWebTestCase { class BlockAdminThemeTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Admin theme block admin accessibility'), 'name' => 'Admin theme block admin accessibility',
'description' => t("Check whether the block administer page for a disabled theme acccessible if and only if it's the admin theme."), 'description' => "Check whether the block administer page for a disabled theme acccessible if and only if it's the admin theme.",
'group' => t('Block'), 'group' => 'Block',
); );
} }

View File

@ -8,9 +8,9 @@ class BlogTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Blog functionality'), 'name' => 'Blog functionality',
'description' => t('Create, view, edit, delete, and change blog entries and verify its consistency in the database.'), 'description' => 'Create, view, edit, delete, and change blog entries and verify its consistency in the database.',
'group' => t('Blog'), 'group' => 'Blog',
); );
} }

View File

@ -4,9 +4,9 @@
class BlogAPITestCase extends DrupalWebTestCase { class BlogAPITestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Blog API functionality'), 'name' => 'Blog API functionality',
'description' => t('Create, edit, and delete post; upload file; and set/get categories.'), 'description' => 'Create, edit, and delete post; upload file; and set/get categories.',
'group' => t('Blog API'), 'group' => 'Blog API',
); );
} }

View File

@ -6,9 +6,9 @@ class BookTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Book functionality'), 'name' => 'Book functionality',
'description' => t('Create a book, add pages, and test book interface.'), 'description' => 'Create a book, add pages, and test book interface.',
'group' => t('Book'), 'group' => 'Book',
); );
} }
@ -198,9 +198,9 @@ class BookTestCase extends DrupalWebTestCase {
class BookBlockTestCase extends DrupalWebTestCase { class BookBlockTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Block availability'), 'name' => 'Block availability',
'description' => t('Check if the book navigation block is available.'), 'description' => 'Check if the book navigation block is available.',
'group' => t('Book'), 'group' => 'Book',
); );
} }

View File

@ -233,9 +233,9 @@ class CommentHelperCase extends DrupalWebTestCase {
class CommentInterfaceTest extends CommentHelperCase { class CommentInterfaceTest extends CommentHelperCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Comment interface'), 'name' => 'Comment interface',
'description' => t('Test comment user interfaces.'), 'description' => 'Test comment user interfaces.',
'group' => t('Comment'), 'group' => 'Comment',
); );
} }
@ -364,9 +364,9 @@ class CommentInterfaceTest extends CommentHelperCase {
class CommentAnonymous extends CommentHelperCase { class CommentAnonymous extends CommentHelperCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Anonymous comments'), 'name' => 'Anonymous comments',
'description' => t('Test anonymous comments.'), 'description' => 'Test anonymous comments.',
'group' => t('Comment'), 'group' => 'Comment',
); );
} }
@ -472,9 +472,9 @@ class CommentPagerTest extends CommentHelperCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Comment paging settings'), 'name' => 'Comment paging settings',
'description' => t('Test paging of comments and their settings.'), 'description' => 'Test paging of comments and their settings.',
'group' => t('Comment'), 'group' => 'Comment',
); );
} }
@ -555,9 +555,9 @@ class CommentPagerTest extends CommentHelperCase {
class CommentApprovalTest extends CommentHelperCase { class CommentApprovalTest extends CommentHelperCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Comment approval'), 'name' => 'Comment approval',
'description' => t('Test comment approval functionality.'), 'description' => 'Test comment approval functionality.',
'group' => t('Comment'), 'group' => 'Comment',
); );
} }
@ -637,9 +637,9 @@ class CommentApprovalTest extends CommentHelperCase {
class CommentBlockFunctionalTest extends CommentHelperCase { class CommentBlockFunctionalTest extends CommentHelperCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Comment blocks'), 'name' => 'Comment blocks',
'description' => t('Test comment block functionality.'), 'description' => 'Test comment block functionality.',
'group' => t('Comment'), 'group' => 'Comment',
); );
} }
@ -724,9 +724,9 @@ class CommentBlockFunctionalTest extends CommentHelperCase {
class CommentRSSUnitTest extends CommentHelperCase { class CommentRSSUnitTest extends CommentHelperCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Comment RSS'), 'name' => 'Comment RSS',
'description' => t('Test comments as part of an RSS feed.'), 'description' => 'Test comments as part of an RSS feed.',
'group' => t('Comment'), 'group' => 'Comment',
); );
} }

View File

@ -7,9 +7,9 @@
class ContactSitewideTestCase extends DrupalWebTestCase { class ContactSitewideTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Site-wide contact form'), 'name' => 'Site-wide contact form',
'description' => t('Tests site-wide contact form functionality.'), 'description' => 'Tests site-wide contact form functionality.',
'group' => t('Contact'), 'group' => 'Contact',
); );
} }
@ -300,9 +300,9 @@ class ContactSitewideTestCase extends DrupalWebTestCase {
class ContactPersonalTestCase extends DrupalWebTestCase { class ContactPersonalTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Personal contact form'), 'name' => 'Personal contact form',
'description' => t('Tests personal contact form functionality.'), 'description' => 'Tests personal contact form functionality.',
'group' => t('Contact'), 'group' => 'Contact',
); );
} }

View File

@ -7,9 +7,9 @@ class DBLogTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('DBLog functionality'), 'name' => 'DBLog functionality',
'description' => t('Generate events and verify dblog entries; verify user access to log reports based on persmissions.'), 'description' => 'Generate events and verify dblog entries; verify user access to log reports based on persmissions.',
'group' => t('DBLog'), 'group' => 'DBLog',
); );
} }

View File

@ -15,9 +15,9 @@
class FieldAttachTestCase extends DrupalWebTestCase { class FieldAttachTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Field attach tests'), 'name' => 'Field attach tests',
'description' => t("Test Field Attach API functions."), 'description' => "Test Field Attach API functions.",
'group' => t('Field') 'group' => 'Field'
); );
} }
@ -813,9 +813,9 @@ class FieldInfoTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Field info tests'), 'name' => 'Field info tests',
'description' => t("Get information about existing fields, instances and bundles."), 'description' => "Get information about existing fields, instances and bundles.",
'group' => t('Field') 'group' => 'Field'
); );
} }
@ -918,9 +918,9 @@ class FieldInfoTestCase extends DrupalWebTestCase {
class FieldFormTestCase extends DrupalWebTestCase { class FieldFormTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Field form tests'), 'name' => 'Field form tests',
'description' => t("Test Field form handling."), 'description' => "Test Field form handling.",
'group' => t('Field') 'group' => 'Field'
); );
} }
@ -1207,9 +1207,9 @@ class FieldFormTestCase extends DrupalWebTestCase {
class FieldCrudTestCase extends DrupalWebTestCase { class FieldCrudTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Field CRUD tests'), 'name' => 'Field CRUD tests',
'description' => t("Create / read /update a field."), 'description' => "Create / read /update a field.",
'group' => t('Field') 'group' => 'Field'
); );
} }
@ -1426,9 +1426,9 @@ class FieldInstanceTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Field instance tests'), 'name' => 'Field instance tests',
'description' => t("Create field entities by attaching fields to entities."), 'description' => "Create field entities by attaching fields to entities.",
'group' => t('Field') 'group' => 'Field'
); );
} }

View File

@ -15,9 +15,9 @@
class FieldSqlStorageTestCase extends DrupalWebTestCase { class FieldSqlStorageTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Field SQL storage tests'), 'name' => 'Field SQL storage tests',
'description' => t("Test field SQL storage module."), 'description' => "Test field SQL storage module.",
'group' => t('Field') 'group' => 'Field'
); );
} }

View File

@ -6,9 +6,9 @@ class TextFieldTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Text Field'), 'name' => 'Text Field',
'description' => t("Test the creation of text fields."), 'description' => "Test the creation of text fields.",
'group' => t('Field') 'group' => 'Field'
); );
} }
@ -200,9 +200,9 @@ class TextFieldTestCase extends DrupalWebTestCase {
class TextSummaryTestCase extends DrupalWebTestCase { class TextSummaryTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Text summary'), 'name' => 'Text summary',
'description' => t('Test text_summary() with different strings and lengths.'), 'description' => 'Test text_summary() with different strings and lengths.',
'group' => t('Field'), 'group' => 'Field',
); );
} }

View File

@ -4,9 +4,9 @@
class FilterAdminTestCase extends DrupalWebTestCase { class FilterAdminTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Filter administration functionality'), 'name' => 'Filter administration functionality',
'description' => t('Thoroughly test the administrative interface of the filter module.'), 'description' => 'Thoroughly test the administrative interface of the filter module.',
'group' => t('Filter'), 'group' => 'Filter',
); );
} }
@ -187,9 +187,9 @@ class FilterTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Core filters'), 'name' => 'Core filters',
'description' => t('Filter each filter individually: Convert URLs into links, Convert line breaks, Correct broken HTML, Escape all HTML, Limit allowed HTML tags.'), 'description' => 'Filter each filter individually: Convert URLs into links, Convert line breaks, Correct broken HTML, Escape all HTML, Limit allowed HTML tags.',
'group' => t('Filter'), 'group' => 'Filter',
); );
} }

View File

@ -13,9 +13,9 @@ class ForumTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Forum functionality'), 'name' => 'Forum functionality',
'description' => t('Create, view, edit, delete, and change forum entries and verify its consistency in the database.'), 'description' => 'Create, view, edit, delete, and change forum entries and verify its consistency in the database.',
'group' => t('Forum'), 'group' => 'Forum',
); );
} }

View File

@ -7,9 +7,9 @@ class HelpTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Help functionality'), 'name' => 'Help functionality',
'description' => t('Verify help display and user access to help based on persmissions.'), 'description' => 'Verify help display and user access to help based on persmissions.',
'group' => t('Help'), 'group' => 'Help',
); );
} }

View File

@ -25,9 +25,9 @@
class LocaleConfigurationTest extends DrupalWebTestCase { class LocaleConfigurationTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Language configuration'), 'name' => 'Language configuration',
'description' => t('Adds a new locale and tests changing its status and the default language.'), 'description' => 'Adds a new locale and tests changing its status and the default language.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -167,9 +167,9 @@ class LocaleConfigurationTest extends DrupalWebTestCase {
class LocaleTranslationFunctionalTest extends DrupalWebTestCase { class LocaleTranslationFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('String translate, search and validate'), 'name' => 'String translate, search and validate',
'description' => t('Adds a new locale and translates its name. Checks the validation of translation strings and search results.'), 'description' => 'Adds a new locale and translates its name. Checks the validation of translation strings and search results.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -530,9 +530,9 @@ class LocaleTranslationFunctionalTest extends DrupalWebTestCase {
class LocaleImportFunctionalTest extends DrupalWebTestCase { class LocaleImportFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Translation import'), 'name' => 'Translation import',
'description' => t('Tests the importation of locale files.'), 'description' => 'Tests the importation of locale files.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -825,9 +825,9 @@ EOF;
class LocaleExportFunctionalTest extends DrupalWebTestCase { class LocaleExportFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Translation export'), 'name' => 'Translation export',
'description' => t('Tests the exportation of locale files.'), 'description' => 'Tests the exportation of locale files.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -907,9 +907,9 @@ EOF;
class LocaleUninstallFunctionalTest extends DrupalWebTestCase { class LocaleUninstallFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Locale uninstall (EN)'), 'name' => 'Locale uninstall (EN)',
'description' => t('Tests the uninstall process using the built-in UI language.'), 'description' => 'Tests the uninstall process using the built-in UI language.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -1016,9 +1016,9 @@ class LocaleUninstallFunctionalTest extends DrupalWebTestCase {
class LocaleUninstallFrenchFunctionalTest extends LocaleUninstallFunctionalTest { class LocaleUninstallFrenchFunctionalTest extends LocaleUninstallFunctionalTest {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Locale uninstall (FR)'), 'name' => 'Locale uninstall (FR)',
'description' => t('Tests the uninstall process using French as UI language.'), 'description' => 'Tests the uninstall process using French as UI language.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -1036,9 +1036,9 @@ class LanguageSwitchingFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Language switching'), 'name' => 'Language switching',
'description' => t('Tests for the language switching feature.'), 'description' => 'Tests for the language switching feature.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -1115,9 +1115,9 @@ class LanguageSwitchingFunctionalTest extends DrupalWebTestCase {
class LocaleUserLanguageFunctionalTest extends DrupalWebTestCase { class LocaleUserLanguageFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('User language settings'), 'name' => 'User language settings',
'description' => t("Tests user's ability to change their default language."), 'description' => "Tests user's ability to change their default language.",
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -1210,9 +1210,9 @@ class LocaleUserLanguageFunctionalTest extends DrupalWebTestCase {
class LocalePathFunctionalTest extends DrupalWebTestCase { class LocalePathFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Path language settings'), 'name' => 'Path language settings',
'description' => t('Checks you can configure a language for individual url aliases.'), 'description' => 'Checks you can configure a language for individual url aliases.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }
@ -1293,9 +1293,9 @@ class LocalePathFunctionalTest extends DrupalWebTestCase {
class LocaleContentFunctionalTest extends DrupalWebTestCase { class LocaleContentFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Content language settings'), 'name' => 'Content language settings',
'description' => t('Checks you can enable multilingual support on content types and configure a language for a node.'), 'description' => 'Checks you can enable multilingual support on content types and configure a language for a node.',
'group' => t('Locale'), 'group' => 'Locale',
); );
} }

View File

@ -9,9 +9,9 @@ class MenuTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Menu link creation/deletion'), 'name' => 'Menu link creation/deletion',
'description' => t('Add a custom menu, add menu links to the custom menu and Navigation menu, check their data, and delete them using the menu module UI.'), 'description' => 'Add a custom menu, add menu links to the custom menu and Navigation menu, check their data, and delete them using the menu module UI.',
'group' => t('Menu') 'group' => 'Menu'
); );
} }

View File

@ -8,9 +8,9 @@ class NodeLoadMultipleUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Load multiple nodes'), 'name' => 'Load multiple nodes',
'description' => t('Test the loading of multiple nodes.'), 'description' => 'Test the loading of multiple nodes.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -87,9 +87,9 @@ class NodeRevisionsTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node revisions'), 'name' => 'Node revisions',
'description' => t('Create a node with revisions and test viewing, reverting, and deleting revisions.'), 'description' => 'Create a node with revisions and test viewing, reverting, and deleting revisions.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -169,9 +169,9 @@ class NodeRevisionsTestCase extends DrupalWebTestCase {
class PageEditTestCase extends DrupalWebTestCase { class PageEditTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node edit'), 'name' => 'Node edit',
'description' => t('Create a node and test node edit functionality.'), 'description' => 'Create a node and test node edit functionality.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -224,9 +224,9 @@ class PageEditTestCase extends DrupalWebTestCase {
class PagePreviewTestCase extends DrupalWebTestCase { class PagePreviewTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node preview'), 'name' => 'Node preview',
'description' => t('Test node preview functionality.'), 'description' => 'Test node preview functionality.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -291,9 +291,9 @@ class PagePreviewTestCase extends DrupalWebTestCase {
class PageCreationTestCase extends DrupalWebTestCase { class PageCreationTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node creation'), 'name' => 'Node creation',
'description' => t('Create a node and test saving it.'), 'description' => 'Create a node and test saving it.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -326,9 +326,9 @@ class PageCreationTestCase extends DrupalWebTestCase {
class PageViewTestCase extends DrupalWebTestCase { class PageViewTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node edit permissions'), 'name' => 'Node edit permissions',
'description' => t('Create a node and test edit permissions.'), 'description' => 'Create a node and test edit permissions.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -365,9 +365,9 @@ class PageViewTestCase extends DrupalWebTestCase {
class SummaryLengthTestCase extends DrupalWebTestCase { class SummaryLengthTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Summary length'), 'name' => 'Summary length',
'description' => t('Test summary length.'), 'description' => 'Test summary length.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -407,9 +407,9 @@ class SummaryLengthTestCase extends DrupalWebTestCase {
class NodeTitleXSSTestCase extends DrupalWebTestCase { class NodeTitleXSSTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node title XSS filtering'), 'name' => 'Node title XSS filtering',
'description' => t('Create a node with dangerous tags in its title and test that they are escaped.'), 'description' => 'Create a node with dangerous tags in its title and test that they are escaped.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -441,9 +441,9 @@ class NodeTitleXSSTestCase extends DrupalWebTestCase {
class NodeBlockTestCase extends DrupalWebTestCase { class NodeBlockTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Block availability'), 'name' => 'Block availability',
'description' => t('Check if the syndicate block is available.'), 'description' => 'Check if the syndicate block is available.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -474,9 +474,9 @@ class NodeBlockTestCase extends DrupalWebTestCase {
class NodePostSettingsTestCase extends DrupalWebTestCase { class NodePostSettingsTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node post information display'), 'name' => 'Node post information display',
'description' => t('Check that the post information (submitted by Username on date) text displays appropriately.'), 'description' => 'Check that the post information (submitted by Username on date) text displays appropriately.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -540,9 +540,9 @@ class NodePostSettingsTestCase extends DrupalWebTestCase {
class NodeRSSContentTestCase extends DrupalWebTestCase { class NodeRSSContentTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node RSS Content'), 'name' => 'Node RSS Content',
'description' => t('Ensure that data added to nodes by other modules appears in RSS feeds.'), 'description' => 'Ensure that data added to nodes by other modules appears in RSS feeds.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -594,9 +594,9 @@ class NodeRSSContentTestCase extends DrupalWebTestCase {
class NodeAccessUnitTest extends DrupalWebTestCase { class NodeAccessUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node access'), 'name' => 'Node access',
'description' => t('Test node_access function'), 'description' => 'Test node_access function',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -659,9 +659,9 @@ class NodeAccessUnitTest extends DrupalWebTestCase {
class NodeAccessRecordsUnitTest extends DrupalWebTestCase { class NodeAccessRecordsUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node access records'), 'name' => 'Node access records',
'description' => t('Test hook_node_access_records when acquiring grants.'), 'description' => 'Test hook_node_access_records when acquiring grants.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -736,9 +736,9 @@ class NodeSaveTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node save'), 'name' => 'Node save',
'description' => t('Test node_save() for saving content.'), 'description' => 'Test node_save() for saving content.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -787,9 +787,9 @@ class NodeSaveTestCase extends DrupalWebTestCase {
class NodeTypeTestCase extends DrupalWebTestCase { class NodeTypeTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node types'), 'name' => 'Node types',
'description' => t('Ensures that node type functions work correctly.'), 'description' => 'Ensures that node type functions work correctly.',
'group' => t('Node'), 'group' => 'Node',
); );
} }
@ -819,9 +819,9 @@ class NodeTypeTestCase extends DrupalWebTestCase {
class NodeAccessRebuildTestCase extends DrupalWebTestCase { class NodeAccessRebuildTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node access rebuild'), 'name' => 'Node access rebuild',
'description' => t('Ensures that node access rebuild functions work correctly.'), 'description' => 'Ensures that node access rebuild functions work correctly.',
'group' => t('Node'), 'group' => 'Node',
); );
} }

View File

@ -9,9 +9,9 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('OpenID login and account registration'), 'name' => 'OpenID login and account registration',
'description' => t("Adds an identity to a user's profile and uses it to log in, creates a user account using auto-registration."), 'description' => "Adds an identity to a user's profile and uses it to log in, creates a user account using auto-registration.",
'group' => t('OpenID') 'group' => 'OpenID'
); );
} }
@ -164,9 +164,9 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
class OpenIDUnitTest extends DrupalWebTestCase { class OpenIDUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('OpenID helper functions'), 'name' => 'OpenID helper functions',
'description' => t('Test OpenID helper functions.'), 'description' => 'Test OpenID helper functions.',
'group' => t('OpenID') 'group' => 'OpenID'
); );
} }

View File

@ -9,9 +9,9 @@
class PathTestCase extends DrupalWebTestCase { class PathTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Path alias functionality'), 'name' => 'Path alias functionality',
'description' => t('Add, edit, delete, and change alias and verify its consistency in the database.'), 'description' => 'Add, edit, delete, and change alias and verify its consistency in the database.',
'group' => t('Path'), 'group' => 'Path',
); );
} }
@ -159,9 +159,9 @@ class PathTestCase extends DrupalWebTestCase {
class PathLanguageTestCase extends DrupalWebTestCase { class PathLanguageTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Path aliases with translated nodes'), 'name' => 'Path aliases with translated nodes',
'description' => t('Confirm that paths work with translated nodes'), 'description' => 'Confirm that paths work with translated nodes',
'group' => t('Path'), 'group' => 'Path',
); );
} }

View File

@ -33,9 +33,9 @@ class PHPTestCase extends DrupalWebTestCase {
class PHPFilterTestCase extends PHPTestCase { class PHPFilterTestCase extends PHPTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('PHP filter functionality'), 'name' => 'PHP filter functionality',
'description' => t('Make sure that PHP filter properly evaluates PHP code when enabled.'), 'description' => 'Make sure that PHP filter properly evaluates PHP code when enabled.',
'group' => t('PHP'), 'group' => 'PHP',
); );
} }
@ -76,9 +76,9 @@ class PHPFilterTestCase extends PHPTestCase {
class PHPAccessTestCase extends PHPTestCase { class PHPAccessTestCase extends PHPTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('PHP filter access check'), 'name' => 'PHP filter access check',
'description' => t('Make sure that users who don\'t have access to the PHP filter can\'t see it.'), 'description' => 'Make sure that users who don\'t have access to the PHP filter can\'t see it.',
'group' => t('PHP'), 'group' => 'PHP',
); );
} }

View File

@ -86,7 +86,11 @@ class PollTestCase extends DrupalWebTestCase {
class PollCreateTestCase extends PollTestCase { class PollCreateTestCase extends PollTestCase {
public static function getInfo() { public static function getInfo() {
return array('name' => t('Poll create'), 'description' => 'Adds "more choices", previews and creates a poll.', 'group' => t('Poll')); return array(
'name' => 'Poll create',
'description' => 'Adds "more choices", previews and creates a poll.',
'group' => 'Poll'
);
} }
function setUp() { function setUp() {
@ -162,7 +166,11 @@ class PollCreateTestCase extends PollTestCase {
class PollVoteTestCase extends PollTestCase { class PollVoteTestCase extends PollTestCase {
public static function getInfo() { public static function getInfo() {
return array('name' => t('Poll vote'), 'description' => 'Vote on a poll', 'group' => t('Poll')); return array(
'name' => 'Poll vote',
'description' => 'Vote on a poll',
'group' => 'Poll'
);
} }
function setUp() { function setUp() {
@ -235,9 +243,9 @@ class PollVoteTestCase extends PollTestCase {
class PollBlockTestCase extends PollTestCase { class PollBlockTestCase extends PollTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Block availability'), 'name' => 'Block availability',
'description' => t('Check if the most recent poll block is available.'), 'description' => 'Check if the most recent poll block is available.',
'group' => t('Poll'), 'group' => 'Poll',
); );
} }
@ -306,9 +314,9 @@ class PollJSAddChoice extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Poll add choice'), 'name' => 'Poll add choice',
'description' => t('Submits a POST request for an additional poll choice.'), 'description' => 'Submits a POST request for an additional poll choice.',
'group' => t('Poll') 'group' => 'Poll'
); );
} }

View File

@ -117,8 +117,9 @@ class ProfileTestFields extends ProfileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Test single fields', 'name' => 'Test single fields',
'description' => t('Testing profile module with add/edit/delete textfield, textarea, list, checkbox, and url fields into profile page') , 'description' => 'Testing profile module with add/edit/delete textfield, textarea, list, checkbox, and url fields into profile page',
'group' => t('Profile')); 'group' => 'Profile'
);
} }
/** /**
@ -152,8 +153,9 @@ class ProfileTestSelect extends ProfileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Test select field', 'name' => 'Test select field',
'description' => t('Testing profile module with add/edit/delete a select field') , 'description' => 'Testing profile module with add/edit/delete a select field',
'group' => t('Profile')); 'group' => 'Profile'
);
} }
/** /**
@ -177,8 +179,9 @@ class ProfileTestDate extends ProfileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Test date field', 'name' => 'Test date field',
'description' => t('Testing profile module with add/edit/delete a date field') , 'description' => 'Testing profile module with add/edit/delete a date field',
'group' => t('Profile')); 'group' => 'Profile'
);
} }
/** /**
@ -213,8 +216,9 @@ class ProfileTestWeights extends ProfileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Test field weights', 'name' => 'Test field weights',
'description' => t('Testing profile modules weigting of fields') , 'description' => 'Testing profile modules weigting of fields',
'group' => t('Profile')); 'group' => 'Profile'
);
} }
function testProfileFieldWeights() { function testProfileFieldWeights() {
@ -241,9 +245,9 @@ class ProfileTestWeights extends ProfileTestCase {
class ProfileTestAutocomplete extends ProfileTestCase { class ProfileTestAutocomplete extends ProfileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Autocompletion'), 'name' => 'Autocompletion',
'description' => t('Test profile fields with autocompletion.'), 'description' => 'Test profile fields with autocompletion.',
'group' => t('Profile') 'group' => 'Profile'
); );
} }
@ -294,9 +298,9 @@ class ProfileTestAutocomplete extends ProfileTestCase {
class ProfileBlockTestCase extends DrupalWebTestCase { class ProfileBlockTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Block availability'), 'name' => 'Block availability',
'description' => t('Check if the author-information block is available.'), 'description' => 'Check if the author-information block is available.',
'group' => t('Profile'), 'group' => 'Profile',
); );
} }

View File

@ -9,9 +9,9 @@ define('SEARCH_TYPE_2', '_test2_');
class SearchMatchTestCase extends DrupalWebTestCase { class SearchMatchTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Search engine queries'), 'name' => 'Search engine queries',
'description' => t('Indexes content and queries it.'), 'description' => 'Indexes content and queries it.',
'group' => t('Search'), 'group' => 'Search',
); );
} }
@ -199,9 +199,9 @@ class SearchBikeShed extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Bike shed'), 'name' => 'Bike shed',
'description' => t('Tests the bike shed text on the no results page.'), 'description' => 'Tests the bike shed text on the no results page.',
'group' => t('Search') 'group' => 'Search'
); );
} }
@ -229,9 +229,9 @@ class SearchAdvancedSearchForm extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Advanced search form'), 'name' => 'Advanced search form',
'description' => t('Indexes content and tests the advanced search form.'), 'description' => 'Indexes content and tests the advanced search form.',
'group' => t('Search'), 'group' => 'Search',
); );
} }
@ -290,9 +290,9 @@ class SearchAdvancedSearchForm extends DrupalWebTestCase {
class SearchRankingTestCase extends DrupalWebTestCase { class SearchRankingTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Search engine ranking'), 'name' => 'Search engine ranking',
'description' => t('Indexes content and tests ranking factors.'), 'description' => 'Indexes content and tests ranking factors.',
'group' => t('Search'), 'group' => 'Search',
); );
} }
@ -373,9 +373,9 @@ class SearchRankingTestCase extends DrupalWebTestCase {
class SearchBlockTestCase extends DrupalWebTestCase { class SearchBlockTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Block availability'), 'name' => 'Block availability',
'description' => t('Check if the search form block is available.'), 'description' => 'Check if the search form block is available.',
'group' => t('Search'), 'group' => 'Search',
); );
} }
@ -439,9 +439,9 @@ class SearchCommentTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Comment Search tests'), 'name' => 'Comment Search tests',
'description' => t('Verify text formats and filters used elsewhere.'), 'description' => 'Verify text formats and filters used elsewhere.',
'group' => t('Search'), 'group' => 'Search',
); );
} }

View File

@ -15,12 +15,12 @@ class SimpleTestFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('SimpleTest functionality'), 'name' => 'SimpleTest functionality',
'description' => t('Test SimpleTest\'s web interface: check that the intended tests were 'description' => 'Test SimpleTest\'s web interface: check that the intended tests were
run and ensure that test reports display the intended results. Also run and ensure that test reports display the intended results. Also
test SimpleTest\'s internal browser and API\'s both explicitly and test SimpleTest\'s internal browser and API\'s both explicitly and
implicitly.'), implicitly.',
'group' => t('SimpleTest') 'group' => 'SimpleTest'
); );
} }
@ -270,9 +270,9 @@ class SimpleTestMailCaptureTestCase extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('SimpleTest e-mail capturing'), 'name' => 'SimpleTest e-mail capturing',
'description' => t('Test the SimpleTest e-mail capturing logic, the assertMail assertion and the drupalGetMails function.'), 'description' => 'Test the SimpleTest e-mail capturing logic, the assertMail assertion and the drupalGetMails function.',
'group' => t('SimpleTest'), 'group' => 'SimpleTest',
); );
} }

View File

@ -4,9 +4,9 @@
class ActionsConfigurationTestCase extends DrupalWebTestCase { class ActionsConfigurationTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Actions configuration'), 'name' => 'Actions configuration',
'description' => t('Tests complex actions configuration by adding, editing, and deleting a complex action.'), 'description' => 'Tests complex actions configuration by adding, editing, and deleting a complex action.',
'group' => t('System'), 'group' => 'System',
); );
} }

View File

@ -15,9 +15,9 @@ class BatchAPIPercentagesTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Batch API percentages'), 'name' => 'Batch API percentages',
'description' => t('Tests the handling of percentage rounding in the Drupal batch API. This is critical to Drupal user experience.'), 'description' => 'Tests the handling of percentage rounding in the Drupal batch API. This is critical to Drupal user experience.',
'group' => t('Batch API'), 'group' => 'Batch API',
); );
} }

View File

@ -5,9 +5,9 @@ class BootstrapIPAddressTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('IP address and HTTP_HOST test'), 'name' => 'IP address and HTTP_HOST test',
'description' => t('Get the IP address from the current visitor from the server variables, check hostname validation.'), 'description' => 'Get the IP address from the current visitor from the server variables, check hostname validation.',
'group' => t('Bootstrap') 'group' => 'Bootstrap'
); );
} }
@ -90,9 +90,9 @@ class BootstrapPageCacheTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Page cache test'), 'name' => 'Page cache test',
'description' => t('Enable the page cache and test it with conditional HTTP requests.'), 'description' => 'Enable the page cache and test it with conditional HTTP requests.',
'group' => t('Bootstrap') 'group' => 'Bootstrap'
); );
} }
@ -187,9 +187,9 @@ class BootstrapVariableTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Variable test'), 'name' => 'Variable test',
'description' => t('Make sure the variable system functions correctly.'), 'description' => 'Make sure the variable system functions correctly.',
'group' => t('Bootstrap') 'group' => 'Bootstrap'
); );
} }
@ -233,9 +233,9 @@ class HookBootExitTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Boot and exit hook invocation'), 'name' => 'Boot and exit hook invocation',
'description' => t('Test that hook_boot() and hook_exit() are called correctly.'), 'description' => 'Test that hook_boot() and hook_exit() are called correctly.',
'group' => t('Bootstrap'), 'group' => 'Bootstrap',
); );
} }

View File

@ -104,9 +104,9 @@ class CacheTestCase extends DrupalWebTestCase {
class CacheSavingCase extends CacheTestCase { class CacheSavingCase extends CacheTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Cache saving test'), 'name' => 'Cache saving test',
'description' => t('Check our variables are saved and restored the right way.'), 'description' => 'Check our variables are saved and restored the right way.',
'group' => t('Cache') 'group' => 'Cache'
); );
} }
@ -169,9 +169,9 @@ class CacheGetMultipleUnitTest extends CacheTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Fetching multiple cache items'), 'name' => 'Fetching multiple cache items',
'description' => t('Confirm that multiple records are fetched correctly.'), 'description' => 'Confirm that multiple records are fetched correctly.',
'group' => t('Cache'), 'group' => 'Cache',
); );
} }
@ -215,9 +215,9 @@ class CacheGetMultipleUnitTest extends CacheTestCase {
class CacheClearCase extends CacheTestCase { class CacheClearCase extends CacheTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Cache clear test'), 'name' => 'Cache clear test',
'description' => t('Check our clearing is done the proper way.'), 'description' => 'Check our clearing is done the proper way.',
'group' => t('Cache') 'group' => 'Cache'
); );
} }

View File

@ -8,9 +8,9 @@ class CommonLUnitTest extends DrupalUnitTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('URL generation tests'), 'name' => 'URL generation tests',
'description' => t('Confirm that url(), drupal_query_string_encode(), and l() work correctly with various input.'), 'description' => 'Confirm that url(), drupal_query_string_encode(), and l() work correctly with various input.',
'group' => t('System'), 'group' => 'System',
); );
} }
@ -42,9 +42,9 @@ class CommonSizeTestCase extends DrupalUnitTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Size parsing test'), 'name' => 'Size parsing test',
'description' => t('Parse a predefined amount of bytes and compare the output with the expected value.'), 'description' => 'Parse a predefined amount of bytes and compare the output with the expected value.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -146,9 +146,9 @@ class DrupalTagsHandlingTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Drupal tags handling'), 'name' => 'Drupal tags handling',
'description' => t("Performs tests on Drupal's handling of tags, both explosion and implosion tactics used."), 'description' => "Performs tests on Drupal's handling of tags, both explosion and implosion tactics used.",
'group' => t('System') 'group' => 'System'
); );
} }
@ -196,9 +196,9 @@ class DrupalTagsHandlingTestCase extends DrupalWebTestCase {
class CascadingStylesheetsTestCase extends DrupalWebTestCase { class CascadingStylesheetsTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Cascading stylesheets'), 'name' => 'Cascading stylesheets',
'description' => t('Tests adding various cascading stylesheets to the page.'), 'description' => 'Tests adding various cascading stylesheets to the page.',
'group' => t('System'), 'group' => 'System',
); );
} }
@ -288,9 +288,9 @@ class CascadingStylesheetsTestCase extends DrupalWebTestCase {
class DrupalHTTPRequestTestCase extends DrupalWebTestCase { class DrupalHTTPRequestTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Drupal HTTP request'), 'name' => 'Drupal HTTP request',
'description' => t("Performs tests on Drupal's HTTP request mechanism."), 'description' => "Performs tests on Drupal's HTTP request mechanism.",
'group' => t('System') 'group' => 'System'
); );
} }
@ -388,9 +388,9 @@ class DrupalHTTPRequestTestCase extends DrupalWebTestCase {
class DrupalSetContentTestCase extends DrupalWebTestCase { class DrupalSetContentTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Drupal set/get regions'), 'name' => 'Drupal set/get regions',
'description' => t('Performs tests on setting and retrieiving content from theme regions.'), 'description' => 'Performs tests on setting and retrieiving content from theme regions.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -439,9 +439,9 @@ class JavaScriptTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('JavaScript'), 'name' => 'JavaScript',
'description' => t('Tests the JavaScript system.'), 'description' => 'Tests the JavaScript system.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -684,9 +684,9 @@ class JavaScriptTestCase extends DrupalWebTestCase {
class DrupalRenderUnitTestCase extends DrupalWebTestCase { class DrupalRenderUnitTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Drupal render'), 'name' => 'Drupal render',
'description' => t('Performs unit tests on drupal_render().'), 'description' => 'Performs unit tests on drupal_render().',
'group' => t('System'), 'group' => 'System',
); );
} }
@ -770,9 +770,9 @@ class DrupalRenderUnitTestCase extends DrupalWebTestCase {
class ValidUrlTestCase extends DrupalUnitTestCase { class ValidUrlTestCase extends DrupalUnitTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Valid Url'), 'name' => 'Valid Url',
'description' => t("Performs tests on Drupal's valid url function."), 'description' => "Performs tests on Drupal's valid url function.",
'group' => t('System') 'group' => 'System'
); );
} }
@ -878,9 +878,9 @@ class ValidUrlTestCase extends DrupalUnitTestCase {
class DrupalDataApiTest extends DrupalWebTestCase { class DrupalDataApiTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Data API functions'), 'name' => 'Data API functions',
'description' => t('Tests the performance of CRUD APIs.'), 'description' => 'Tests the performance of CRUD APIs.',
'group' => t('System'), 'group' => 'System',
); );
} }
@ -935,9 +935,9 @@ class DrupalErrorCollectionUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('SimpleTest error collecter'), 'name' => 'SimpleTest error collecter',
'description' => t('Performs tests on the Simpletest error and exception collecter.'), 'description' => 'Performs tests on the Simpletest error and exception collecter.',
'group' => t('SimpleTest'), 'group' => 'SimpleTest',
); );
} }
@ -1001,9 +1001,9 @@ class FormatDateUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Format date'), 'name' => 'Format date',
'description' => t('Test the format_date() function.'), 'description' => 'Test the format_date() function.',
'group' => t('System'), 'group' => 'System',
); );
} }

View File

@ -173,9 +173,9 @@ class DatabaseConnectionTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Connection tests'), 'name' => 'Connection tests',
'description' => t('Tests of the core database system.'), 'description' => 'Tests of the core database system.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -241,9 +241,9 @@ class DatabaseFetchTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Fetch tests'), 'name' => 'Fetch tests',
'description' => t('Test the Database system\'s various fetch capabilities.'), 'description' => 'Test the Database system\'s various fetch capabilities.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -322,9 +322,9 @@ class DatabaseFetch2TestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Fetch tests, part 2'), 'name' => 'Fetch tests, part 2',
'description' => t('Test the Database system\'s various fetch capabilities.'), 'description' => 'Test the Database system\'s various fetch capabilities.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -387,9 +387,9 @@ class DatabaseInsertTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Insert tests'), 'name' => 'Insert tests',
'description' => t('Test the Insert query builder.'), 'description' => 'Test the Insert query builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -537,9 +537,9 @@ class DatabaseInsertLOBTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Insert tests, LOB fields'), 'name' => 'Insert tests, LOB fields',
'description' => t('Test the Insert query builder with LOB fields.'), 'description' => 'Test the Insert query builder with LOB fields.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -578,9 +578,9 @@ class DatabaseInsertDefaultsTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Insert tests, default fields'), 'name' => 'Insert tests, default fields',
'description' => t('Test the Insert query builder with default values.'), 'description' => 'Test the Insert query builder with default values.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -633,9 +633,9 @@ class DatabaseUpdateTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Update tests'), 'name' => 'Update tests',
'description' => t('Test the Update query builder.'), 'description' => 'Test the Update query builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -719,9 +719,9 @@ class DatabaseUpdateComplexTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Update tests, Complex'), 'name' => 'Update tests, Complex',
'description' => t('Test the Update query builder, complex queries.'), 'description' => 'Test the Update query builder, complex queries.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -844,9 +844,9 @@ class DatabaseUpdateLOBTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Update tests, LOB'), 'name' => 'Update tests, LOB',
'description' => t('Test the Update query builder with LOB fields.'), 'description' => 'Test the Update query builder with LOB fields.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -906,9 +906,9 @@ class DatabaseDeleteTruncateTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Delete/Truncate tests'), 'name' => 'Delete/Truncate tests',
'description' => t('Test the Delete and Truncate query builders.'), 'description' => 'Test the Delete and Truncate query builders.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -948,9 +948,9 @@ class DatabaseMergeTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Merge tests'), 'name' => 'Merge tests',
'description' => t('Test the Merge query builder.'), 'description' => 'Test the Merge query builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -1159,9 +1159,9 @@ class DatabaseSelectTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Select tests'), 'name' => 'Select tests',
'description' => t('Test the Select query builder.'), 'description' => 'Test the Select query builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -1330,9 +1330,9 @@ class DatabaseSelectSubqueryTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Select tests, subqueries'), 'name' => 'Select tests, subqueries',
'description' => t('Test the Select query builder.'), 'description' => 'Test the Select query builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -1419,9 +1419,9 @@ class DatabaseSelectOrderedTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Select tests, ordered'), 'name' => 'Select tests, ordered',
'description' => t('Test the Select query builder.'), 'description' => 'Test the Select query builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -1506,9 +1506,9 @@ class DatabaseSelectComplexTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Select tests, complex'), 'name' => 'Select tests, complex',
'description' => t('Test the Select query builder with more complex queries.'), 'description' => 'Test the Select query builder with more complex queries.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -1709,9 +1709,9 @@ class DatabaseSelectPagerDefaultTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Pager query tests'), 'name' => 'Pager query tests',
'description' => t('Test the pager query extender.'), 'description' => 'Test the pager query extender.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -1830,9 +1830,9 @@ class DatabaseSelectTableSortDefaultTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Tablesort query tests'), 'name' => 'Tablesort query tests',
'description' => t('Test the tablesort query extender.'), 'description' => 'Test the tablesort query extender.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -1901,9 +1901,9 @@ class DatabaseTaggingTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Query tagging tests'), 'name' => 'Query tagging tests',
'description' => t('Test the tagging capabilities of the Select builder.'), 'description' => 'Test the tagging capabilities of the Select builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -1984,9 +1984,9 @@ class DatabaseAlterTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Query altering tests'), 'name' => 'Query altering tests',
'description' => t('Test the hook_query_alter capabilities of the Select builder.'), 'description' => 'Test the hook_query_alter capabilities of the Select builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2068,9 +2068,9 @@ class DatabaseAlter2TestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Query altering tests, part 2'), 'name' => 'Query altering tests, part 2',
'description' => t('Test the hook_query_alter capabilities of the Select builder.'), 'description' => 'Test the hook_query_alter capabilities of the Select builder.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2130,9 +2130,9 @@ class DatabaseRegressionTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Regression tests'), 'name' => 'Regression tests',
'description' => t('Regression tests cases for the database layer.'), 'description' => 'Regression tests cases for the database layer.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2180,9 +2180,9 @@ class DatabaseLoggingTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Query logging'), 'name' => 'Query logging',
'description' => t('Test the query logging facility.'), 'description' => 'Test the query logging facility.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2305,9 +2305,9 @@ class DatabaseLoggingTestCase extends DatabaseTestCase {
class DatabaseRangeQueryTestCase extends DrupalWebTestCase { class DatabaseRangeQueryTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Range query test'), 'name' => 'Range query test',
'description' => t('Test the Range query functionality.'), 'description' => 'Test the Range query functionality.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2336,9 +2336,9 @@ class DatabaseRangeQueryTestCase extends DrupalWebTestCase {
class DatabaseTemporaryQueryTestCase extends DrupalWebTestCase { class DatabaseTemporaryQueryTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Temporary query test'), 'name' => 'Temporary query test',
'description' => t('Test the temporary query functionality.'), 'description' => 'Test the temporary query functionality.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2386,9 +2386,9 @@ class DatabaseTemporaryQueryTestCase extends DrupalWebTestCase {
class DatabaseAnsiSyntaxTestCase extends DatabaseTestCase { class DatabaseAnsiSyntaxTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('ANSI SQL syntax tests'), 'name' => 'ANSI SQL syntax tests',
'description' => t('Test ANSI SQL syntax interpretation.'), 'description' => 'Test ANSI SQL syntax interpretation.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2430,9 +2430,9 @@ class DatabaseAnsiSyntaxTestCase extends DatabaseTestCase {
class DatabaseInvalidDataTestCase extends DatabaseTestCase { class DatabaseInvalidDataTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Invalid data'), 'name' => 'Invalid data',
'description' => t('Test handling of some invalid data.'), 'description' => 'Test handling of some invalid data.',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2503,9 +2503,9 @@ class DatabaseInvalidDataTestCase extends DatabaseTestCase {
class DatabaseQueryTestCase extends DatabaseTestCase { class DatabaseQueryTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Custom query syntax tests'), 'name' => 'Custom query syntax tests',
'description' => t('Test Drupal\'s extended prepared statement syntax..'), 'description' => 'Test Drupal\'s extended prepared statement syntax..',
'group' => t('Database'), 'group' => 'Database',
); );
} }
@ -2547,9 +2547,9 @@ class DatabaseTransactionTestCase extends DatabaseTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Transaction tests'), 'name' => 'Transaction tests',
'description' => t('Test the transaction abstraction system.'), 'description' => 'Test the transaction abstraction system.',
'group' => t('Database'), 'group' => 'Database',
); );
} }

View File

@ -7,9 +7,9 @@
class DrupalErrorHandlerUnitTest extends DrupalWebTestCase { class DrupalErrorHandlerUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Drupal error handlers'), 'name' => 'Drupal error handlers',
'description' => t('Performs tests on the Drupal error and exception handler.'), 'description' => 'Performs tests on the Drupal error and exception handler.',
'group' => t('System'), 'group' => 'System',
); );
} }

View File

@ -274,9 +274,9 @@ class FileHookTestCase extends FileTestCase {
class FileSpaceUsedTest extends FileTestCase { class FileSpaceUsedTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File space used tests'), 'name' => 'File space used tests',
'description' => t('Tests the file_space_used() function.'), 'description' => 'Tests the file_space_used() function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -334,9 +334,9 @@ class FileSpaceUsedTest extends FileTestCase {
class FileValidatorTest extends DrupalWebTestCase { class FileValidatorTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File validator tests'), 'name' => 'File validator tests',
'description' => t('Tests the functions used to validate uploaded files.'), 'description' => 'Tests the functions used to validate uploaded files.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -492,9 +492,9 @@ class FileValidatorTest extends DrupalWebTestCase {
class FileUnmanagedSaveDataTest extends FileTestCase { class FileUnmanagedSaveDataTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Unmanaged file save data'), 'name' => 'Unmanaged file save data',
'description' => t('Tests the unmanaged file save data function.'), 'description' => 'Tests the unmanaged file save data function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -536,9 +536,9 @@ class FileSaveUploadTest extends FileHookTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File uploading'), 'name' => 'File uploading',
'description' => t('Tests the file uploading functions.'), 'description' => 'Tests the file uploading functions.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -664,9 +664,9 @@ class FileSaveUploadTest extends FileHookTestCase {
class FileDirectoryTest extends FileTestCase { class FileDirectoryTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File paths and directories'), 'name' => 'File paths and directories',
'description' => t('Tests operations dealing with directories.'), 'description' => 'Tests operations dealing with directories.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -829,9 +829,9 @@ class FileDirectoryTest extends FileTestCase {
class FileScanDirectoryTest extends FileTestCase { class FileScanDirectoryTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File scan directory'), 'name' => 'File scan directory',
'description' => t('Tests the file_scan_directory() function.'), 'description' => 'Tests the file_scan_directory() function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -959,9 +959,9 @@ class FileScanDirectoryTest extends FileTestCase {
class FileUnmanagedDeleteTest extends FileTestCase { class FileUnmanagedDeleteTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Unmanaged file delete'), 'name' => 'Unmanaged file delete',
'description' => t('Tests the unmanaged file delete function.'), 'description' => 'Tests the unmanaged file delete function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1005,9 +1005,9 @@ class FileUnmanagedDeleteTest extends FileTestCase {
class FileUnmanagedDeleteRecursiveTest extends FileTestCase { class FileUnmanagedDeleteRecursiveTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Unmanaged recursive file delete'), 'name' => 'Unmanaged recursive file delete',
'description' => t('Tests the unmanaged file delete recursive function.'), 'description' => 'Tests the unmanaged file delete recursive function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1082,9 +1082,9 @@ class FileUnmanagedDeleteRecursiveTest extends FileTestCase {
class FileUnmanagedMoveTest extends FileTestCase { class FileUnmanagedMoveTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Unmanaged file moving'), 'name' => 'Unmanaged file moving',
'description' => t('Tests the unmanaged file move function.'), 'description' => 'Tests the unmanaged file move function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1154,9 +1154,9 @@ class FileUnmanagedMoveTest extends FileTestCase {
class FileUnmanagedCopyTest extends FileTestCase { class FileUnmanagedCopyTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Unmanaged file copying'), 'name' => 'Unmanaged file copying',
'description' => t('Tests the unmanaged file copy function.'), 'description' => 'Tests the unmanaged file copy function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1241,9 +1241,9 @@ class FileUnmanagedCopyTest extends FileTestCase {
class FileDeleteTest extends FileHookTestCase { class FileDeleteTest extends FileHookTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File delete'), 'name' => 'File delete',
'description' => t('Tests the file delete function.'), 'description' => 'Tests the file delete function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1272,9 +1272,9 @@ class FileDeleteTest extends FileHookTestCase {
class FileMoveTest extends FileHookTestCase { class FileMoveTest extends FileHookTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File moving'), 'name' => 'File moving',
'description' => t('Tests the file move function.'), 'description' => 'Tests the file move function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1433,9 +1433,9 @@ class FileMoveTest extends FileHookTestCase {
class FileCopyTest extends FileHookTestCase { class FileCopyTest extends FileHookTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File copying'), 'name' => 'File copying',
'description' => t('Tests the file copy function.'), 'description' => 'Tests the file copy function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1579,9 +1579,9 @@ class FileCopyTest extends FileHookTestCase {
class FileLoadTest extends FileHookTestCase { class FileLoadTest extends FileHookTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File loading'), 'name' => 'File loading',
'description' => t('Tests the file_load() function.'), 'description' => 'Tests the file_load() function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1676,9 +1676,9 @@ class FileLoadTest extends FileHookTestCase {
class FileSaveTest extends FileHookTestCase { class FileSaveTest extends FileHookTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File saving'), 'name' => 'File saving',
'description' => t('Tests the file_save() function.'), 'description' => 'Tests the file_save() function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1732,9 +1732,9 @@ class FileSaveTest extends FileHookTestCase {
class FileValidateTest extends FileHookTestCase { class FileValidateTest extends FileHookTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File validate'), 'name' => 'File validate',
'description' => t('Tests the file_validate() function.'), 'description' => 'Tests the file_validate() function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1771,9 +1771,9 @@ class FileValidateTest extends FileHookTestCase {
class FileSaveDataTest extends FileHookTestCase { class FileSaveDataTest extends FileHookTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File save data'), 'name' => 'File save data',
'description' => t('Tests the file save data function.'), 'description' => 'Tests the file save data function.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1902,9 +1902,9 @@ class FileSaveDataTest extends FileHookTestCase {
class FileDownloadTest extends FileTestCase { class FileDownloadTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File download'), 'name' => 'File download',
'description' => t('Tests for file download/transfer functions.'), 'description' => 'Tests for file download/transfer functions.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -1948,9 +1948,9 @@ class FileDownloadTest extends FileTestCase {
class FileNameMungingTest extends FileTestCase { class FileNameMungingTest extends FileTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File naming'), 'name' => 'File naming',
'description' => t('Test filename munging and unmunging.'), 'description' => 'Test filename munging and unmunging.',
'group' => t('File'), 'group' => 'File',
); );
} }
@ -2009,9 +2009,9 @@ class FileNameMungingTest extends FileTestCase {
class FileMimeTypeTest extends DrupalWebTestCase { class FileMimeTypeTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('File mimetypes'), 'name' => 'File mimetypes',
'description' => t('Test filename mimetype detection.'), 'description' => 'Test filename mimetype detection.',
'group' => t('File'), 'group' => 'File',
); );
} }

View File

@ -10,9 +10,9 @@ class FileTranferTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('FileTransfer unit tests'), 'name' => 'FileTransfer unit tests',
'description' => t('Test that the jail is respected and that protocols using recursive file move operations work.'), 'description' => 'Test that the jail is respected and that protocols using recursive file move operations work.',
'group' => t('System') 'group' => 'System'
); );
} }

View File

@ -10,9 +10,9 @@ class FormsTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Required field validation'), 'name' => 'Required field validation',
'description' => t('Carriage returns, tabs, and spaces are not valid content for a required field.'), 'description' => 'Carriage returns, tabs, and spaces are not valid content for a required field.',
'group' => t('Form API'), 'group' => 'Form API',
); );
} }
@ -80,9 +80,9 @@ class FormsTestCase extends DrupalWebTestCase {
class FormsTestTypeCase extends DrupalUnitTestCase { class FormsTestTypeCase extends DrupalUnitTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Form type-specific tests'), 'name' => 'Form type-specific tests',
'description' => t('Test form type functions for expected behavior.'), 'description' => 'Test form type functions for expected behavior.',
'group' => t('Form API'), 'group' => 'Form API',
); );
} }
@ -118,9 +118,9 @@ class FormsElementsTableSelectFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Tableselect form element type test'), 'name' => 'Tableselect form element type test',
'description' => t('Test the tableselect element for expected behavior'), 'description' => 'Test the tableselect element for expected behavior',
'group' => t('Form API'), 'group' => 'Form API',
); );
} }
@ -322,9 +322,9 @@ class FormsFormCleanIdFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('form_clean_id() test'), 'name' => 'form_clean_id() test',
'description' => t('Test the function form_clean_id() for expected behavior'), 'description' => 'Test the function form_clean_id() for expected behavior',
'group' => t('Form API'), 'group' => 'Form API',
); );
} }
@ -352,9 +352,9 @@ class FormAPITestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Drupal Execute and Batch API'), 'name' => 'Drupal Execute and Batch API',
'description' => t('Tests the compatibility of drupal_form_submit and the Batch API'), 'description' => 'Tests the compatibility of drupal_form_submit and the Batch API',
'group' => t('Form API'), 'group' => 'Form API',
); );
} }
@ -397,9 +397,9 @@ class FormsFormStorageTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Multistep form using form storage'), 'name' => 'Multistep form using form storage',
'description' => t('Tests a multistep form using form storage and makes sure validation and caching works right.'), 'description' => 'Tests a multistep form using form storage and makes sure validation and caching works right.',
'group' => t('Form API'), 'group' => 'Form API',
); );
} }

View File

@ -12,9 +12,9 @@
class GraphUnitTest extends DrupalUnitTestCase { class GraphUnitTest extends DrupalUnitTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Graph'), 'name' => 'Graph',
'description' => t('Graph handling unit tests.'), 'description' => 'Graph handling unit tests.',
'group' => t('System'), 'group' => 'System',
); );
} }

View File

@ -72,9 +72,9 @@ class ImageToolkitTestCase extends DrupalWebTestCase {
class ImageToolkitUnitTest extends ImageToolkitTestCase { class ImageToolkitUnitTest extends ImageToolkitTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Image toolkit tests'), 'name' => 'Image toolkit tests',
'description' => t('Check image toolkit functions.'), 'description' => 'Check image toolkit functions.',
'group' => t('Image'), 'group' => 'Image',
); );
} }
@ -210,9 +210,9 @@ class ImageToolkitGdTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Image GD manipulation tests'), 'name' => 'Image GD manipulation tests',
'description' => t('Check that core image manipulations work properly: scale, resize, rotate, crop, scale and crop, and desaturate.'), 'description' => 'Check that core image manipulations work properly: scale, resize, rotate, crop, scale and crop, and desaturate.',
'group' => t('Image'), 'group' => 'Image',
); );
} }

View File

@ -9,9 +9,9 @@
class MenuIncTestCase extends DrupalWebTestCase { class MenuIncTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Hook menu tests'), 'name' => 'Hook menu tests',
'description' => t('Test menu hook functionality.'), 'description' => 'Test menu hook functionality.',
'group' => t('Menu'), 'group' => 'Menu',
); );
} }
@ -131,9 +131,9 @@ class MenuIncTestCase extends DrupalWebTestCase {
class MenuRebuildTestCase extends DrupalWebTestCase { class MenuRebuildTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Menu rebuild test'), 'name' => 'Menu rebuild test',
'description' => t('Test rebuilding of menu.'), 'description' => 'Test rebuilding of menu.',
'group' => t('Menu'), 'group' => 'Menu',
); );
} }

View File

@ -12,9 +12,9 @@
class ModuleUnitTest extends DrupalWebTestCase { class ModuleUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Module API'), 'name' => 'Module API',
'description' => t('Test low-level module functions.'), 'description' => 'Test low-level module functions.',
'group' => t('Module'), 'group' => 'Module',
); );
} }
@ -84,9 +84,9 @@ class ModuleUnitTest extends DrupalWebTestCase {
class ModuleUninstallTestCase extends DrupalWebTestCase { class ModuleUninstallTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Module uninstallation'), 'name' => 'Module uninstallation',
'description' => t('Checks module uninstallation'), 'description' => 'Checks module uninstallation',
'group' => t('Module'), 'group' => 'Module',
); );
} }

View File

@ -4,9 +4,9 @@
class RegistryParseFileTestCase extends DrupalWebTestCase { class RegistryParseFileTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Registry parse file test'), 'name' => 'Registry parse file test',
'description' => t('Parse a simple file and check that its resources are saved to the database.'), 'description' => 'Parse a simple file and check that its resources are saved to the database.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -53,9 +53,9 @@ class RegistryParseFilesTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Registry parse files test'), 'name' => 'Registry parse files test',
'description' => t('Read two a simple files from disc, and check that their resources are saved to the database.'), 'description' => 'Read two a simple files from disc, and check that their resources are saved to the database.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -149,9 +149,9 @@ CONTENTS;
class RegistrySkipBodyTestCase extends DrupalUnitTestCase { class RegistrySkipBodyTestCase extends DrupalUnitTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Skip function body test'), 'name' => 'Skip function body test',
'description' => t('Tokenize a simple function and check that the body is skipped right'), 'description' => 'Tokenize a simple function and check that the body is skipped right',
'group' => t('System'), 'group' => 'System',
); );
} }

View File

@ -12,9 +12,9 @@
class SchemaTestCase extends DrupalWebTestCase { class SchemaTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Schema API'), 'name' => 'Schema API',
'description' => t('Tests table creation and modification via the schema API.'), 'description' => 'Tests table creation and modification via the schema API.',
'group' => t('Database'), 'group' => 'Database',
); );
} }

View File

@ -9,9 +9,9 @@
class SessionTestCase extends DrupalWebTestCase { class SessionTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Session tests'), 'name' => 'Session tests',
'description' => t('Drupal session handling tests.'), 'description' => 'Drupal session handling tests.',
'group' => t('Session') 'group' => 'Session'
); );
} }

View File

@ -12,9 +12,9 @@
class TemplateUnitTest extends DrupalWebTestCase { class TemplateUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Theme API'), 'name' => 'Theme API',
'description' => t('Test low-level theme template functions.'), 'description' => 'Test low-level theme template functions.',
'group' => t('Theme'), 'group' => 'Theme',
); );
} }
@ -58,9 +58,9 @@ class TemplateUnitTest extends DrupalWebTestCase {
class ThemeTableUnitTest extends DrupalWebTestCase { class ThemeTableUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Theme Table'), 'name' => 'Theme Table',
'description' => t('Tests built-in theme functions.'), 'description' => 'Tests built-in theme functions.',
'group' => t('Theme'), 'group' => 'Theme',
); );
} }

View File

@ -20,9 +20,9 @@ class UnicodeUnitTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Unicode handling'), 'name' => 'Unicode handling',
'description' => t('Tests Drupal Unicode handling.'), 'description' => 'Tests Drupal Unicode handling.',
'group' => t('System'), 'group' => 'System',
); );
} }

View File

@ -4,9 +4,9 @@
class XMLRPCValidator1IncTestCase extends DrupalWebTestCase { class XMLRPCValidator1IncTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('XML-RPC validator'), 'name' => 'XML-RPC validator',
'description' => t('See !validator-link.', array('!validator-link' => l('the xmlrpc validator1 specification', 'http://www.xmlrpc.com/validator1Docs'))), 'description' => 'See !validator-link.', array('!validator-link' => l('the xmlrpc validator1 specification', 'http://www.xmlrpc.com/validator1Docs')),
'group' => t('XML-RPC'), 'group' => 'XML-RPC',
); );
} }
@ -127,9 +127,9 @@ class XMLRPCValidator1IncTestCase extends DrupalWebTestCase {
class XMLRPCMessagesTestCase extends DrupalWebTestCase { class XMLRPCMessagesTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('XML-RPC message'), 'name' => 'XML-RPC message',
'description' => t('Test large messages.'), 'description' => 'Test large messages.',
'group' => t('XML-RPC'), 'group' => 'XML-RPC',
); );
} }

View File

@ -4,9 +4,9 @@
class StatisticsBlockVisitorsTestCase extends DrupalWebTestCase { class StatisticsBlockVisitorsTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Top visitor blocking'), 'name' => 'Top visitor blocking',
'description' => t('Tests blocking of IP addresses via the top visitors report.'), 'description' => 'Tests blocking of IP addresses via the top visitors report.',
'group' => t('Statistics') 'group' => 'Statistics'
); );
} }

View File

@ -4,9 +4,9 @@
class SyslogTestCase extends DrupalWebTestCase { class SyslogTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Syslog functionality'), 'name' => 'Syslog functionality',
'description' => t('Test syslog settings.'), 'description' => 'Test syslog settings.',
'group' => t('Syslog') 'group' => 'Syslog'
); );
} }

View File

@ -94,9 +94,9 @@ class ModuleTestCase extends DrupalWebTestCase {
class EnableDisableTestCase extends ModuleTestCase { class EnableDisableTestCase extends ModuleTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Enable/disable modules'), 'name' => 'Enable/disable modules',
'description' => t('Enable/disable core module and confirm table creation/deletion.'), 'description' => 'Enable/disable core module and confirm table creation/deletion.',
'group' => t('Module'), 'group' => 'Module',
); );
} }
@ -164,9 +164,9 @@ class EnableDisableTestCase extends ModuleTestCase {
class ModuleDependencyTestCase extends ModuleTestCase { class ModuleDependencyTestCase extends ModuleTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Module dependencies'), 'name' => 'Module dependencies',
'description' => t('Enable module without dependency enabled.'), 'description' => 'Enable module without dependency enabled.',
'group' => t('Module'), 'group' => 'Module',
); );
} }
@ -203,9 +203,9 @@ class ModuleDependencyTestCase extends ModuleTestCase {
class ModuleRequiredTestCase extends ModuleTestCase { class ModuleRequiredTestCase extends ModuleTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Required modules'), 'name' => 'Required modules',
'description' => t('Attempt disabling of required modules.'), 'description' => 'Attempt disabling of required modules.',
'group' => t('Module'), 'group' => 'Module',
); );
} }
@ -230,9 +230,9 @@ class IPAddressBlockingTestCase extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('IP address blocking'), 'name' => 'IP address blocking',
'description' => t('Test IP address blocking.'), 'description' => 'Test IP address blocking.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -300,9 +300,9 @@ class CronRunTestCase extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Cron run'), 'name' => 'Cron run',
'description' => t('Test cron run.'), 'description' => 'Test cron run.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -387,9 +387,9 @@ class AdminOverviewTestCase extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Admin overview'), 'name' => 'Admin overview',
'description' => t('Confirm that the admin overview page appears as expected.'), 'description' => 'Confirm that the admin overview page appears as expected.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -469,9 +469,9 @@ class AdminMetaTagTestCase extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Fingerprinting meta tag'), 'name' => 'Fingerprinting meta tag',
'description' => t('Confirm that the fingerprinting meta tag appears as expected.'), 'description' => 'Confirm that the fingerprinting meta tag appears as expected.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -497,9 +497,9 @@ class AccessDeniedTestCase extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('403 functionality'), 'name' => '403 functionality',
'description' => t("Tests page access denied functionality, including custom 403 pages."), 'description' => "Tests page access denied functionality, including custom 403 pages.",
'group' => t('System') 'group' => 'System'
); );
} }
@ -558,9 +558,9 @@ class PageNotFoundTestCase extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('404 functionality'), 'name' => '404 functionality',
'description' => t("Tests page not found functionality, including custom 404 pages."), 'description' => "Tests page not found functionality, including custom 404 pages.",
'group' => t('System') 'group' => 'System'
); );
} }
@ -617,9 +617,9 @@ class PageNotFoundTestCase extends DrupalWebTestCase {
class DateTimeFunctionalTest extends DrupalWebTestCase { class DateTimeFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Date and time'), 'name' => 'Date and time',
'description' => t('Configure date and time settings. Test date formatting and time zone handling, including daylight saving time.'), 'description' => 'Configure date and time settings. Test date formatting and time zone handling, including daylight saving time.',
'group' => t('System'), 'group' => 'System',
); );
} }
@ -664,9 +664,9 @@ class PageTitleFiltering extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('HTML in page titles'), 'name' => 'HTML in page titles',
'description' => t('Tests correct handling or conversion by drupal_set_title() and drupal_get_title().'), 'description' => 'Tests correct handling or conversion by drupal_set_title() and drupal_get_title().',
'group' => t('System') 'group' => 'System'
); );
} }
@ -726,9 +726,9 @@ class FrontPageTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Front page'), 'name' => 'Front page',
'description' => t('Tests front page functionality and administration.'), 'description' => 'Tests front page functionality and administration.',
'group' => t('System'), 'group' => 'System',
); );
} }
@ -777,9 +777,9 @@ class FrontPageTestCase extends DrupalWebTestCase {
class SystemBlockTestCase extends DrupalWebTestCase { class SystemBlockTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Block functionality'), 'name' => 'Block functionality',
'description' => t('Configure and move powered-by block.'), 'description' => 'Configure and move powered-by block.',
'group' => t('System'), 'group' => 'System',
); );
} }
@ -831,9 +831,9 @@ class SystemSettingsForm extends DrupalWebTestCase {
*/ */
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('System setting forms'), 'name' => 'System setting forms',
'description' => t('Tests correctness of system_settings_form() processing.'), 'description' => 'Tests correctness of system_settings_form() processing.',
'group' => t('System') 'group' => 'System'
); );
} }
@ -910,9 +910,9 @@ class SystemSettingsForm extends DrupalWebTestCase {
class SystemThemeFunctionalTest extends DrupalWebTestCase { class SystemThemeFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Theme interface functionality'), 'name' => 'Theme interface functionality',
'description' => t('Tests the theme interface functionality by enabling and switching themes, and using an administration theme.'), 'description' => 'Tests the theme interface functionality by enabling and switching themes, and using an administration theme.',
'group' => t('System'), 'group' => 'System',
); );
} }
@ -978,9 +978,9 @@ class SystemThemeFunctionalTest extends DrupalWebTestCase {
class QueueTestCase extends DrupalWebTestCase { class QueueTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Queue functionality'), 'name' => 'Queue functionality',
'description' => t('Queues and dequeues a set of items to check the basic queue functionality.'), 'description' => 'Queues and dequeues a set of items to check the basic queue functionality.',
'group' => t('System'), 'group' => 'System',
); );
} }

View File

@ -46,9 +46,9 @@ class TaxonomyVocabularyFunctionalTest extends TaxonomyWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Taxonomy vocabulary interface'), 'name' => 'Taxonomy vocabulary interface',
'description' => t('Test the taxonomy vocabulary interface.'), 'description' => 'Test the taxonomy vocabulary interface.',
'group' => t('Taxonomy'), 'group' => 'Taxonomy',
); );
} }
@ -188,9 +188,9 @@ class TaxonomyVocabularyUnitTest extends TaxonomyWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Taxonomy vocabularies'), 'name' => 'Taxonomy vocabularies',
'description' => t('Test loading, saving and deleting vocabularies.'), 'description' => 'Test loading, saving and deleting vocabularies.',
'group' => t('Taxonomy'), 'group' => 'Taxonomy',
); );
} }
@ -308,9 +308,9 @@ class TaxonomyTermUnitTest extends TaxonomyWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Taxonomy term unit tests'), 'name' => 'Taxonomy term unit tests',
'description' => t('Unit tests for taxonomy term functions.'), 'description' => 'Unit tests for taxonomy term functions.',
'group' => t('Taxonomy'), 'group' => 'Taxonomy',
); );
} }
@ -381,9 +381,9 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Taxonomy term functions and forms.'), 'name' => 'Taxonomy term functions and forms.',
'description' => t('Test load, save and delete for taxonomy terms.'), 'description' => 'Test load, save and delete for taxonomy terms.',
'group' => t('Taxonomy') 'group' => 'Taxonomy'
); );
} }
@ -618,9 +618,9 @@ class TaxonomyLoadMultipleUnitTest extends TaxonomyWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Taxonomy term multiple loading'), 'name' => 'Taxonomy term multiple loading',
'description' => t('Test the loading of multiple taxonomy terms at once'), 'description' => 'Test the loading of multiple taxonomy terms at once',
'group' => t('Taxonomy'), 'group' => 'Taxonomy',
); );
} }
@ -684,9 +684,9 @@ class TaxonomyLoadMultipleUnitTest extends TaxonomyWebTestCase {
class TaxonomyHooksTestCase extends TaxonomyWebTestCase { class TaxonomyHooksTestCase extends TaxonomyWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Taxonomy term hooks'), 'name' => 'Taxonomy term hooks',
'description' => t('Hooks for taxonomy term load/save/delete.'), 'description' => 'Hooks for taxonomy term load/save/delete.',
'group' => t('Taxonomy') 'group' => 'Taxonomy'
); );
} }

View File

@ -8,9 +8,9 @@ class TrackerTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Tracker'), 'name' => 'Tracker',
'description' => t('Create nodes and check for their display in the tracker listings.'), 'description' => 'Create nodes and check for their display in the tracker listings.',
'group' => t('Tracker') 'group' => 'Tracker'
); );
} }

View File

@ -6,9 +6,9 @@ class TranslationTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Translation functionality'), 'name' => 'Translation functionality',
'description' => t('Create a page with translation, modify the page outdating translation, and update translation.'), 'description' => 'Create a page with translation, modify the page outdating translation, and update translation.',
'group' => t('Translation') 'group' => 'Translation'
); );
} }

View File

@ -7,9 +7,9 @@ class TriggerContentTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Trigger content (node) actions'), 'name' => 'Trigger content (node) actions',
'description' => t('Perform various tests with content actions.') , 'description' => 'Perform various tests with content actions.' ,
'group' => t('Trigger'), 'group' => 'Trigger',
); );
} }
@ -116,9 +116,9 @@ class TriggerContentTestCase extends DrupalWebTestCase {
class TriggerCronTestCase extends DrupalWebTestCase { class TriggerCronTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Trigger cron (system) actions'), 'name' => 'Trigger cron (system) actions',
'description' => t('Perform various tests with cron trigger.') , 'description' => 'Perform various tests with cron trigger.' ,
'group' => t('Trigger'), 'group' => 'Trigger',
); );
} }

View File

@ -10,9 +10,9 @@
class UploadTestCase extends DrupalWebTestCase { class UploadTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Upload functionality'), 'name' => 'Upload functionality',
'description' => t('Check content uploaded to nodes.'), 'description' => 'Check content uploaded to nodes.',
'group' => t('Upload'), 'group' => 'Upload',
); );
} }

View File

@ -4,9 +4,9 @@
class UserRegistrationTestCase extends DrupalWebTestCase { class UserRegistrationTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('User registration'), 'name' => 'User registration',
'description' => t('Registers a user, fails login, resets password, successfully logs in with the one time password, fails password change, changes password, logs out, successfully logs in with the new password, visits profile page.'), 'description' => 'Registers a user, fails login, resets password, successfully logs in with the one time password, fails password change, changes password, logs out, successfully logs in with the new password, visits profile page.',
'group' => t('User') 'group' => 'User'
); );
} }
@ -111,9 +111,9 @@ class UserRegistrationTestCase extends DrupalWebTestCase {
class UserValidationTestCase extends DrupalWebTestCase { class UserValidationTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Username/e-mail validation'), 'name' => 'Username/e-mail validation',
'description' => t('Verify that username/email validity checks behave as designed.'), 'description' => 'Verify that username/email validity checks behave as designed.',
'group' => t('User') 'group' => 'User'
); );
} }
@ -162,9 +162,9 @@ class UserValidationTestCase extends DrupalWebTestCase {
class UserCancelTestCase extends DrupalWebTestCase { class UserCancelTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Cancel account'), 'name' => 'Cancel account',
'description' => t('Ensure that account cancellation methods work as expected.'), 'description' => 'Ensure that account cancellation methods work as expected.',
'group' => t('User'), 'group' => 'User',
); );
} }
@ -503,9 +503,9 @@ class UserPictureTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Upload user picture'), 'name' => 'Upload user picture',
'description' => t('Assure that dimension check, extension check and image scaling work as designed.'), 'description' => 'Assure that dimension check, extension check and image scaling work as designed.',
'group' => t('User') 'group' => 'User'
); );
} }
@ -724,9 +724,9 @@ class UserPermissionsTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Role permissions'), 'name' => 'Role permissions',
'description' => t('Verify that role permissions can be added and removed via the permissions page.'), 'description' => 'Verify that role permissions can be added and removed via the permissions page.',
'group' => t('User') 'group' => 'User'
); );
} }
@ -791,9 +791,9 @@ class UserPermissionsTestCase extends DrupalWebTestCase {
class UserAdminTestCase extends DrupalWebTestCase { class UserAdminTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('User administration'), 'name' => 'User administration',
'description' => t('Test user administration page functionality.'), 'description' => 'Test user administration page functionality.',
'group' => t('User') 'group' => 'User'
); );
} }
@ -844,9 +844,9 @@ class UserAdminTestCase extends DrupalWebTestCase {
class UserTimeZoneFunctionalTest extends DrupalWebTestCase { class UserTimeZoneFunctionalTest extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('User time zones'), 'name' => 'User time zones',
'description' => t('Set a user time zone and verify that dates are displayed in local time.'), 'description' => 'Set a user time zone and verify that dates are displayed in local time.',
'group' => t('User'), 'group' => 'User',
); );
} }
@ -904,9 +904,9 @@ class UserTimeZoneFunctionalTest extends DrupalWebTestCase {
class UserAutocompleteTestCase extends DrupalWebTestCase { class UserAutocompleteTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('User autocompletion'), 'name' => 'User autocompletion',
'description' => t('Test user autocompletion functionality.'), 'description' => 'Test user autocompletion functionality.',
'group' => t('User') 'group' => 'User'
); );
} }
@ -944,9 +944,9 @@ class UserAutocompleteTestCase extends DrupalWebTestCase {
class UserBlocksUnitTests extends DrupalWebTestCase { class UserBlocksUnitTests extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('User blocks'), 'name' => 'User blocks',
'description' => t('Test user blocks.'), 'description' => 'Test user blocks.',
'group' => t('User') 'group' => 'User'
); );
} }
@ -1033,9 +1033,9 @@ class UserSaveTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('User save test'), 'name' => 'User save test',
'description' => t('Test user_save() for arbitrary new uid.'), 'description' => 'Test user_save() for arbitrary new uid.',
'group' => t('User'), 'group' => 'User',
); );
} }