Commit 735e1d90 authored by webchick's avatar webchick

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

parent beadf384
...@@ -261,9 +261,9 @@ EOF; ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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',
); );
} }
......
...@@ -11,9 +11,9 @@ class BlockTestCase extends DrupalWebTestCase { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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',
); );
} }
......
...@@ -8,9 +8,9 @@ class BlogTestCase extends DrupalWebTestCase { ...@@ -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',
); );
} }
......
...@@ -4,9 +4,9 @@ ...@@ -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',
); );
} }
......
...@@ -6,9 +6,9 @@ class BookTestCase extends DrupalWebTestCase { ...@@ -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 { ...@@ -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',
); );
} }
......
...@@ -233,9 +233,9 @@ class CommentHelperCase extends DrupalWebTestCase { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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',
); );
} }
......
...@@ -7,9 +7,9 @@ ...@@ -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 { ...@@ -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',
); );
} }
......
...@@ -7,9 +7,9 @@ class DBLogTestCase extends DrupalWebTestCase { ...@@ -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',
); );
} }
......
...@@ -15,9 +15,9 @@ ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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'
); );
} }
......
...@@ -15,9 +15,9 @@ ...@@ -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'
); );
} }
......
...@@ -6,9 +6,9 @@ class TextFieldTestCase extends DrupalWebTestCase { ...@@ -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 { ...@@ -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',
); );
} }
......
...@@ -4,9 +4,9 @@ ...@@ -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 { ...@@ -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',
); );
} }
......
...@@ -13,9 +13,9 @@ class ForumTestCase extends DrupalWebTestCase { ...@@ -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',
); );
} }
......
...@@ -7,9 +7,9 @@ class HelpTestCase extends DrupalWebTestCase { ...@@ -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',
); );
} }
......
...@@ -25,9 +25,9 @@ ...@@ -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 { ...@@ -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 { ...@@ -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'),