Commit 735e1d90 authored by webchick's avatar webchick

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

parent beadf384
......@@ -261,9 +261,9 @@ EOF;
class AddFeedTestCase extends AggregatorTestCase {
public static function getInfo() {
return array(
'name' => t('Add feed functionality'),
'description' => t('Add feed test.'),
'group' => t('Aggregator')
'name' => 'Add feed functionality',
'description' => 'Add feed test.',
'group' => 'Aggregator'
);
}
......@@ -290,9 +290,9 @@ class AddFeedTestCase extends AggregatorTestCase {
class UpdateFeedTestCase extends AggregatorTestCase {
public static function getInfo() {
return array(
'name' => t('Update feed functionality'),
'description' => t('Update feed test.'),
'group' => t('Aggregator')
'name' => 'Update feed functionality',
'description' => 'Update feed test.',
'group' => 'Aggregator'
);
}
......@@ -332,9 +332,9 @@ class UpdateFeedTestCase extends AggregatorTestCase {
class RemoveFeedTestCase extends AggregatorTestCase {
public static function getInfo() {
return array(
'name' => t('Remove feed functionality'),
'description' => t('Remove feed test.'),
'group' => t('Aggregator')
'name' => 'Remove feed functionality',
'description' => 'Remove feed test.',
'group' => 'Aggregator'
);
}
......@@ -360,9 +360,9 @@ class RemoveFeedTestCase extends AggregatorTestCase {
class UpdateFeedItemTestCase extends AggregatorTestCase {
public static function getInfo() {
return array(
'name' => t('Update feed item functionality'),
'description' => t('Update feed items from a feed.'),
'group' => t('Aggregator')
'name' => 'Update feed item functionality',
'description' => 'Update feed items from a feed.',
'group' => 'Aggregator'
);
}
......@@ -421,9 +421,9 @@ class UpdateFeedItemTestCase extends AggregatorTestCase {
class RemoveFeedItemTestCase extends AggregatorTestCase {
public static function getInfo() {
return array(
'name' => t('Remove feed item functionality'),
'description' => t('Remove feed items from a feed.'),
'group' => t('Aggregator')
'name' => 'Remove feed item functionality',
'description' => 'Remove feed items from a feed.',
'group' => 'Aggregator'
);
}
......@@ -459,9 +459,9 @@ class RemoveFeedItemTestCase extends AggregatorTestCase {
class CategorizeFeedItemTestCase extends AggregatorTestCase {
public static function getInfo() {
return array(
'name' => t('Categorize feed item functionality'),
'description' => t('Test feed item categorization.'),
'group' => t('Aggregator')
'name' => 'Categorize feed item functionality',
'description' => 'Test feed item categorization.',
'group' => 'Aggregator'
);
}
......@@ -516,9 +516,9 @@ class CategorizeFeedItemTestCase extends AggregatorTestCase {
class ImportOPMLTestCase extends AggregatorTestCase {
public static function getInfo() {
return array(
'name' => t('Import feeds from OPML functionality'),
'description' => t('Test OPML import.'),
'group' => t('Aggregator'),
'name' => 'Import feeds from OPML functionality',
'description' => 'Test OPML import.',
'group' => 'Aggregator',
);
}
......
......@@ -11,9 +11,9 @@ class BlockTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Block functionality'),
'description' => t('Add, edit and delete custom block. Configure and move a module-defined block.'),
'group' => t('Block'),
'name' => 'Block functionality',
'description' => 'Add, edit and delete custom block. Configure and move a module-defined block.',
'group' => 'Block',
);
}
......@@ -205,9 +205,9 @@ class BlockTestCase extends DrupalWebTestCase {
class NonDefaultBlockAdmin extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Non default theme admin'),
'description' => t('Check the administer page for non default theme.'),
'group' => t('Block'),
'name' => 'Non default theme admin',
'description' => 'Check the administer page for non default theme.',
'group' => 'Block',
);
}
......@@ -229,9 +229,9 @@ class NonDefaultBlockAdmin extends DrupalWebTestCase {
class NewDefaultThemeBlocks extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('New default theme blocks'),
'description' => t('Checks that the new default theme gets blocks.'),
'group' => t('Block'),
'name' => 'New default theme blocks',
'description' => 'Checks that the new default theme gets blocks.',
'group' => 'Block',
);
}
......@@ -273,9 +273,9 @@ class NewDefaultThemeBlocks extends DrupalWebTestCase {
class BlockAdminThemeTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('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."),
'group' => t('Block'),
'name' => 'Admin theme block admin accessibility',
'description' => "Check whether the block administer page for a disabled theme acccessible if and only if it's the admin theme.",
'group' => 'Block',
);
}
......
......@@ -8,9 +8,9 @@ class BlogTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Blog functionality'),
'description' => t('Create, view, edit, delete, and change blog entries and verify its consistency in the database.'),
'group' => t('Blog'),
'name' => 'Blog functionality',
'description' => 'Create, view, edit, delete, and change blog entries and verify its consistency in the database.',
'group' => 'Blog',
);
}
......
......@@ -4,9 +4,9 @@
class BlogAPITestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Blog API functionality'),
'description' => t('Create, edit, and delete post; upload file; and set/get categories.'),
'group' => t('Blog API'),
'name' => 'Blog API functionality',
'description' => 'Create, edit, and delete post; upload file; and set/get categories.',
'group' => 'Blog API',
);
}
......
......@@ -6,9 +6,9 @@ class BookTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Book functionality'),
'description' => t('Create a book, add pages, and test book interface.'),
'group' => t('Book'),
'name' => 'Book functionality',
'description' => 'Create a book, add pages, and test book interface.',
'group' => 'Book',
);
}
......@@ -198,9 +198,9 @@ class BookTestCase extends DrupalWebTestCase {
class BookBlockTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Block availability'),
'description' => t('Check if the book navigation block is available.'),
'group' => t('Book'),
'name' => 'Block availability',
'description' => 'Check if the book navigation block is available.',
'group' => 'Book',
);
}
......
......@@ -233,9 +233,9 @@ class CommentHelperCase extends DrupalWebTestCase {
class CommentInterfaceTest extends CommentHelperCase {
public static function getInfo() {
return array(
'name' => t('Comment interface'),
'description' => t('Test comment user interfaces.'),
'group' => t('Comment'),
'name' => 'Comment interface',
'description' => 'Test comment user interfaces.',
'group' => 'Comment',
);
}
......@@ -364,9 +364,9 @@ class CommentInterfaceTest extends CommentHelperCase {
class CommentAnonymous extends CommentHelperCase {
public static function getInfo() {
return array(
'name' => t('Anonymous comments'),
'description' => t('Test anonymous comments.'),
'group' => t('Comment'),
'name' => 'Anonymous comments',
'description' => 'Test anonymous comments.',
'group' => 'Comment',
);
}
......@@ -472,9 +472,9 @@ class CommentPagerTest extends CommentHelperCase {
public static function getInfo() {
return array(
'name' => t('Comment paging settings'),
'description' => t('Test paging of comments and their settings.'),
'group' => t('Comment'),
'name' => 'Comment paging settings',
'description' => 'Test paging of comments and their settings.',
'group' => 'Comment',
);
}
......@@ -555,9 +555,9 @@ class CommentPagerTest extends CommentHelperCase {
class CommentApprovalTest extends CommentHelperCase {
public static function getInfo() {
return array(
'name' => t('Comment approval'),
'description' => t('Test comment approval functionality.'),
'group' => t('Comment'),
'name' => 'Comment approval',
'description' => 'Test comment approval functionality.',
'group' => 'Comment',
);
}
......@@ -637,9 +637,9 @@ class CommentApprovalTest extends CommentHelperCase {
class CommentBlockFunctionalTest extends CommentHelperCase {
public static function getInfo() {
return array(
'name' => t('Comment blocks'),
'description' => t('Test comment block functionality.'),
'group' => t('Comment'),
'name' => 'Comment blocks',
'description' => 'Test comment block functionality.',
'group' => 'Comment',
);
}
......@@ -724,9 +724,9 @@ class CommentBlockFunctionalTest extends CommentHelperCase {
class CommentRSSUnitTest extends CommentHelperCase {
public static function getInfo() {
return array(
'name' => t('Comment RSS'),
'description' => t('Test comments as part of an RSS feed.'),
'group' => t('Comment'),
'name' => 'Comment RSS',
'description' => 'Test comments as part of an RSS feed.',
'group' => 'Comment',
);
}
......
......@@ -7,9 +7,9 @@
class ContactSitewideTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Site-wide contact form'),
'description' => t('Tests site-wide contact form functionality.'),
'group' => t('Contact'),
'name' => 'Site-wide contact form',
'description' => 'Tests site-wide contact form functionality.',
'group' => 'Contact',
);
}
......@@ -300,9 +300,9 @@ class ContactSitewideTestCase extends DrupalWebTestCase {
class ContactPersonalTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Personal contact form'),
'description' => t('Tests personal contact form functionality.'),
'group' => t('Contact'),
'name' => 'Personal contact form',
'description' => 'Tests personal contact form functionality.',
'group' => 'Contact',
);
}
......
......@@ -7,9 +7,9 @@ class DBLogTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('DBLog functionality'),
'description' => t('Generate events and verify dblog entries; verify user access to log reports based on persmissions.'),
'group' => t('DBLog'),
'name' => 'DBLog functionality',
'description' => 'Generate events and verify dblog entries; verify user access to log reports based on persmissions.',
'group' => 'DBLog',
);
}
......
......@@ -15,9 +15,9 @@
class FieldAttachTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Field attach tests'),
'description' => t("Test Field Attach API functions."),
'group' => t('Field')
'name' => 'Field attach tests',
'description' => "Test Field Attach API functions.",
'group' => 'Field'
);
}
......@@ -813,9 +813,9 @@ class FieldInfoTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Field info tests'),
'description' => t("Get information about existing fields, instances and bundles."),
'group' => t('Field')
'name' => 'Field info tests',
'description' => "Get information about existing fields, instances and bundles.",
'group' => 'Field'
);
}
......@@ -918,9 +918,9 @@ class FieldInfoTestCase extends DrupalWebTestCase {
class FieldFormTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Field form tests'),
'description' => t("Test Field form handling."),
'group' => t('Field')
'name' => 'Field form tests',
'description' => "Test Field form handling.",
'group' => 'Field'
);
}
......@@ -1207,9 +1207,9 @@ class FieldFormTestCase extends DrupalWebTestCase {
class FieldCrudTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Field CRUD tests'),
'description' => t("Create / read /update a field."),
'group' => t('Field')
'name' => 'Field CRUD tests',
'description' => "Create / read /update a field.",
'group' => 'Field'
);
}
......@@ -1426,9 +1426,9 @@ class FieldInstanceTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Field instance tests'),
'description' => t("Create field entities by attaching fields to entities."),
'group' => t('Field')
'name' => 'Field instance tests',
'description' => "Create field entities by attaching fields to entities.",
'group' => 'Field'
);
}
......
......@@ -15,9 +15,9 @@
class FieldSqlStorageTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Field SQL storage tests'),
'description' => t("Test field SQL storage module."),
'group' => t('Field')
'name' => 'Field SQL storage tests',
'description' => "Test field SQL storage module.",
'group' => 'Field'
);
}
......
......@@ -6,9 +6,9 @@ class TextFieldTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Text Field'),
'description' => t("Test the creation of text fields."),
'group' => t('Field')
'name' => 'Text Field',
'description' => "Test the creation of text fields.",
'group' => 'Field'
);
}
......@@ -200,9 +200,9 @@ class TextFieldTestCase extends DrupalWebTestCase {
class TextSummaryTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Text summary'),
'description' => t('Test text_summary() with different strings and lengths.'),
'group' => t('Field'),
'name' => 'Text summary',
'description' => 'Test text_summary() with different strings and lengths.',
'group' => 'Field',
);
}
......
......@@ -4,9 +4,9 @@
class FilterAdminTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Filter administration functionality'),
'description' => t('Thoroughly test the administrative interface of the filter module.'),
'group' => t('Filter'),
'name' => 'Filter administration functionality',
'description' => 'Thoroughly test the administrative interface of the filter module.',
'group' => 'Filter',
);
}
......@@ -187,9 +187,9 @@ class FilterTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('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.'),
'group' => t('Filter'),
'name' => 'Core filters',
'description' => 'Filter each filter individually: Convert URLs into links, Convert line breaks, Correct broken HTML, Escape all HTML, Limit allowed HTML tags.',
'group' => 'Filter',
);
}
......
......@@ -13,9 +13,9 @@ class ForumTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Forum functionality'),
'description' => t('Create, view, edit, delete, and change forum entries and verify its consistency in the database.'),
'group' => t('Forum'),
'name' => 'Forum functionality',
'description' => 'Create, view, edit, delete, and change forum entries and verify its consistency in the database.',
'group' => 'Forum',
);
}
......
......@@ -7,9 +7,9 @@ class HelpTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Help functionality'),
'description' => t('Verify help display and user access to help based on persmissions.'),
'group' => t('Help'),
'name' => 'Help functionality',
'description' => 'Verify help display and user access to help based on persmissions.',
'group' => 'Help',
);
}
......
......@@ -25,9 +25,9 @@
class LocaleConfigurationTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Language configuration'),
'description' => t('Adds a new locale and tests changing its status and the default language.'),
'group' => t('Locale'),
'name' => 'Language configuration',
'description' => 'Adds a new locale and tests changing its status and the default language.',
'group' => 'Locale',
);
}
......@@ -167,9 +167,9 @@ class LocaleConfigurationTest extends DrupalWebTestCase {
class LocaleTranslationFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('String translate, search and validate'),
'description' => t('Adds a new locale and translates its name. Checks the validation of translation strings and search results.'),
'group' => t('Locale'),
'name' => 'String translate, search and validate',
'description' => 'Adds a new locale and translates its name. Checks the validation of translation strings and search results.',
'group' => 'Locale',
);
}
......@@ -530,9 +530,9 @@ class LocaleTranslationFunctionalTest extends DrupalWebTestCase {
class LocaleImportFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Translation import'),
'description' => t('Tests the importation of locale files.'),
'group' => t('Locale'),
'name' => 'Translation import',
'description' => 'Tests the importation of locale files.',
'group' => 'Locale',
);
}
......@@ -825,9 +825,9 @@ EOF;
class LocaleExportFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Translation export'),
'description' => t('Tests the exportation of locale files.'),
'group' => t('Locale'),
'name' => 'Translation export',
'description' => 'Tests the exportation of locale files.',
'group' => 'Locale',
);
}
......@@ -907,9 +907,9 @@ EOF;
class LocaleUninstallFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Locale uninstall (EN)'),
'description' => t('Tests the uninstall process using the built-in UI language.'),
'group' => t('Locale'),
'name' => 'Locale uninstall (EN)',
'description' => 'Tests the uninstall process using the built-in UI language.',
'group' => 'Locale',
);
}
......@@ -1016,9 +1016,9 @@ class LocaleUninstallFunctionalTest extends DrupalWebTestCase {
class LocaleUninstallFrenchFunctionalTest extends LocaleUninstallFunctionalTest {
public static function getInfo() {
return array(
'name' => t('Locale uninstall (FR)'),
'description' => t('Tests the uninstall process using French as UI language.'),
'group' => t('Locale'),
'name' => 'Locale uninstall (FR)',
'description' => 'Tests the uninstall process using French as UI language.',
'group' => 'Locale',
);
}
......@@ -1036,9 +1036,9 @@ class LanguageSwitchingFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Language switching'),
'description' => t('Tests for the language switching feature.'),
'group' => t('Locale'),
'name' => 'Language switching',
'description' => 'Tests for the language switching feature.',
'group' => 'Locale',
);
}
......@@ -1115,9 +1115,9 @@ class LanguageSwitchingFunctionalTest extends DrupalWebTestCase {
class LocaleUserLanguageFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('User language settings'),
'description' => t("Tests user's ability to change their default language."),
'group' => t('Locale'),
'name' => 'User language settings',
'description' => "Tests user's ability to change their default language.",
'group' => 'Locale',
);
}
......@@ -1210,9 +1210,9 @@ class LocaleUserLanguageFunctionalTest extends DrupalWebTestCase {
class LocalePathFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Path language settings'),
'description' => t('Checks you can configure a language for individual url aliases.'),
'group' => t('Locale'),
'name' => 'Path language settings',
'description' => 'Checks you can configure a language for individual url aliases.',
'group' => 'Locale',
);
}
......@@ -1293,9 +1293,9 @@ class LocalePathFunctionalTest extends DrupalWebTestCase {
class LocaleContentFunctionalTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Content language settings'),
'description' => t('Checks you can enable multilingual support on content types and configure a language for a node.'),
'group' => t('Locale'),
'name' => 'Content language settings',
'description' => 'Checks you can enable multilingual support on content types and configure a language for a node.',
'group' => 'Locale',
);
}
......
......@@ -9,9 +9,9 @@ class MenuTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('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.'),
'group' => t('Menu')
'name' => 'Menu link creation/deletion',
'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' => 'Menu'
);
}
......
<
......@@ -8,9 +8,9 @@ class NodeLoadMultipleUnitTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Load multiple nodes'),
'description' => t('Test the loading of multiple nodes.'),
'group' => t('Node'),
'name' => 'Load multiple nodes',
'description' => 'Test the loading of multiple nodes.',
'group' => 'Node',
);
}
......@@ -87,9 +87,9 @@ class NodeRevisionsTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Node revisions'),
'description' => t('Create a node with revisions and test viewing, reverting, and deleting revisions.'),
'group' => t('Node'),
'name' => 'Node revisions',
'description' => 'Create a node with revisions and test viewing, reverting, and deleting revisions.',
'group' => 'Node',
);
}
......@@ -169,9 +169,9 @@ class NodeRevisionsTestCase extends DrupalWebTestCase {
class PageEditTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Node edit'),
'description' => t('Create a node and test node edit functionality.'),
'group' => t('Node'),
'name' => 'Node edit',
'description' => 'Create a node and test node edit functionality.',
'group' => 'Node',
);
}
......@@ -224,9 +224,9 @@ class PageEditTestCase extends DrupalWebTestCase {
class PagePreviewTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Node preview'),
'description' => t('Test node preview functionality.'),
'group' => t('Node'),
'name' => 'Node preview',
'description' => 'Test node preview functionality.',
'group' => 'Node',
);
}
......@@ -291,9 +291,9 @@ class PagePreviewTestCase extends DrupalWebTestCase {
class PageCreationTestCase extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => t('Node creation'),
'description' => t('Create a node and test saving it.'),
'group' => t('Node'),