diff --git a/modules/aggregator/aggregator.test b/modules/aggregator/aggregator.test index 4abef3721cddac1841840bdf00d2f7abf24c3343..f72ae94ffa99c265b4d4958a1e824a8aa5d3f593 100644 --- a/modules/aggregator/aggregator.test +++ b/modules/aggregator/aggregator.test @@ -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', ); } diff --git a/modules/block/block.test b/modules/block/block.test index 73d256ac003b64024ac99d4c1c3b491e82c493d8..9996b6fa98d5f4e08cba160062e89be5200cebe2 100644 --- a/modules/block/block.test +++ b/modules/block/block.test @@ -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', ); } diff --git a/modules/blog/blog.test b/modules/blog/blog.test index a59a63cf768efc8920f3ceae3872df6d72e064bb..bed45db63ccfb75a5d5923ba555233417fdb8989 100644 --- a/modules/blog/blog.test +++ b/modules/blog/blog.test @@ -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', ); } diff --git a/modules/blogapi/blogapi.test b/modules/blogapi/blogapi.test index 90cd43894cfc7c2ff4019ef886f4caffb79bd7bd..0ee8b4f330cf7ed06a7ba271043760a2947b5f64 100644 --- a/modules/blogapi/blogapi.test +++ b/modules/blogapi/blogapi.test @@ -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', ); } diff --git a/modules/book/book.test b/modules/book/book.test index 1c8ac0c32014e8320f3963ff02cfedd25f59ac27..e2a00fe67ac334f378f407b87ca80eea2b3e4628 100644 --- a/modules/book/book.test +++ b/modules/book/book.test @@ -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', ); } diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 9873f5b201479300ff1dad69c7312e6f6d51558d..e346298b1a0d2676e9af376ee88737d8018a78b4 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -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', ); } diff --git a/modules/contact/contact.test b/modules/contact/contact.test index 0eae9fdb7c36cb3cb1ca34bb4a3315600c831c2b..dcd9a9a10cbaf1a5ea9a81de072a8739a3d931d3 100644 --- a/modules/contact/contact.test +++ b/modules/contact/contact.test @@ -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', ); } diff --git a/modules/dblog/dblog.test b/modules/dblog/dblog.test index d411478043a1bba44a2e9a93c224b33672340f67..c78922a507f58e30525df25d938ce64b0c768ecb 100644 --- a/modules/dblog/dblog.test +++ b/modules/dblog/dblog.test @@ -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', ); } diff --git a/modules/field/field.test b/modules/field/field.test index eead0f76d721a43fb8b67cb4b7d733ac51d4b4e3..b4f116373acf273f7f0371bb907fb5aaa047eb06 100644 --- a/modules/field/field.test +++ b/modules/field/field.test @@ -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' ); } diff --git a/modules/field/modules/field_sql_storage/field_sql_storage.test b/modules/field/modules/field_sql_storage/field_sql_storage.test index 0ac174fae9eba32efffe9891e3075fd5593597d5..fa13207bc0bf6afe55ca7de187a326c58cae0fc7 100644 --- a/modules/field/modules/field_sql_storage/field_sql_storage.test +++ b/modules/field/modules/field_sql_storage/field_sql_storage.test @@ -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' ); } diff --git a/modules/field/modules/text/text.test b/modules/field/modules/text/text.test index 3c2d706b92eac77f5666b85c2943945547b38218..ae8a0a06ad68fb9b410d6d8bf04d14a784c6bbb9 100644 --- a/modules/field/modules/text/text.test +++ b/modules/field/modules/text/text.test @@ -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', ); } diff --git a/modules/filter/filter.test b/modules/filter/filter.test index cf06b6da30c3f59284e182770635be6f57565604..98834d6e472dd760dd21e1ff9705e86844a5d2af 100644 --- a/modules/filter/filter.test +++ b/modules/filter/filter.test @@ -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', ); } diff --git a/modules/forum/forum.test b/modules/forum/forum.test index 50227883272588ae2a93d712f141e71bac683683..df0d61d042a990c0b324e702153614e0002170fe 100644 --- a/modules/forum/forum.test +++ b/modules/forum/forum.test @@ -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', ); } diff --git a/modules/help/help.test b/modules/help/help.test index 9bdd41d19a58e53865e70039fc5541554bcb06f1..7351650dda61d916647ae44b7f2e41b9af3f0f66 100644 --- a/modules/help/help.test +++ b/modules/help/help.test @@ -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', ); } diff --git a/modules/locale/locale.test b/modules/locale/locale.test index fd54d6b34bccb57910ac37dcaffccf0f43812b8b..f3cabe4c22a0a982139773f0be1ad9e062f97166 100644 --- a/modules/locale/locale.test +++ b/modules/locale/locale.test @@ -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', ); } diff --git a/modules/menu/menu.test b/modules/menu/menu.test index 704ec4629ea52bf145f425f6d86ee7fa3f8a5bea..f3f44b0e4d43c7c453405aeb8d8b31b9beee1270 100644 --- a/modules/menu/menu.test +++ b/modules/menu/menu.test @@ -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' ); } diff --git a/modules/node/node.test b/modules/node/node.test index be615217110c41a82a49b732de18866ee9339590..91d71e5f2eef008241a2cd29ae170645f54259bb 100644 --- a/modules/node/node.test +++ b/modules/node/node.test @@ -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'), + 'name' => 'Node creation', + 'description' => 'Create a node and test saving it.', + 'group' => 'Node', ); } @@ -326,9 +326,9 @@ class PageCreationTestCase extends DrupalWebTestCase { class PageViewTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node edit permissions'), - 'description' => t('Create a node and test edit permissions.'), - 'group' => t('Node'), + 'name' => 'Node edit permissions', + 'description' => 'Create a node and test edit permissions.', + 'group' => 'Node', ); } @@ -365,9 +365,9 @@ class PageViewTestCase extends DrupalWebTestCase { class SummaryLengthTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Summary length'), - 'description' => t('Test summary length.'), - 'group' => t('Node'), + 'name' => 'Summary length', + 'description' => 'Test summary length.', + 'group' => 'Node', ); } @@ -407,9 +407,9 @@ class SummaryLengthTestCase extends DrupalWebTestCase { class NodeTitleXSSTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node title XSS filtering'), - 'description' => t('Create a node with dangerous tags in its title and test that they are escaped.'), - 'group' => t('Node'), + 'name' => 'Node title XSS filtering', + 'description' => 'Create a node with dangerous tags in its title and test that they are escaped.', + 'group' => 'Node', ); } @@ -441,9 +441,9 @@ class NodeTitleXSSTestCase extends DrupalWebTestCase { class NodeBlockTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Block availability'), - 'description' => t('Check if the syndicate block is available.'), - 'group' => t('Node'), + 'name' => 'Block availability', + 'description' => 'Check if the syndicate block is available.', + 'group' => 'Node', ); } @@ -474,9 +474,9 @@ class NodeBlockTestCase extends DrupalWebTestCase { class NodePostSettingsTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node post information display'), - 'description' => t('Check that the post information (submitted by Username on date) text displays appropriately.'), - 'group' => t('Node'), + 'name' => 'Node post information display', + 'description' => 'Check that the post information (submitted by Username on date) text displays appropriately.', + 'group' => 'Node', ); } @@ -540,9 +540,9 @@ class NodePostSettingsTestCase extends DrupalWebTestCase { class NodeRSSContentTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node RSS Content'), - 'description' => t('Ensure that data added to nodes by other modules appears in RSS feeds.'), - 'group' => t('Node'), + 'name' => 'Node RSS Content', + 'description' => 'Ensure that data added to nodes by other modules appears in RSS feeds.', + 'group' => 'Node', ); } @@ -594,9 +594,9 @@ class NodeRSSContentTestCase extends DrupalWebTestCase { class NodeAccessUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node access'), - 'description' => t('Test node_access function'), - 'group' => t('Node'), + 'name' => 'Node access', + 'description' => 'Test node_access function', + 'group' => 'Node', ); } @@ -659,9 +659,9 @@ class NodeAccessUnitTest extends DrupalWebTestCase { class NodeAccessRecordsUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node access records'), - 'description' => t('Test hook_node_access_records when acquiring grants.'), - 'group' => t('Node'), + 'name' => 'Node access records', + 'description' => 'Test hook_node_access_records when acquiring grants.', + 'group' => 'Node', ); } @@ -736,9 +736,9 @@ class NodeSaveTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node save'), - 'description' => t('Test node_save() for saving content.'), - 'group' => t('Node'), + 'name' => 'Node save', + 'description' => 'Test node_save() for saving content.', + 'group' => 'Node', ); } @@ -787,9 +787,9 @@ class NodeSaveTestCase extends DrupalWebTestCase { class NodeTypeTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node types'), - 'description' => t('Ensures that node type functions work correctly.'), - 'group' => t('Node'), + 'name' => 'Node types', + 'description' => 'Ensures that node type functions work correctly.', + 'group' => 'Node', ); } @@ -819,9 +819,9 @@ class NodeTypeTestCase extends DrupalWebTestCase { class NodeAccessRebuildTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Node access rebuild'), - 'description' => t('Ensures that node access rebuild functions work correctly.'), - 'group' => t('Node'), + 'name' => 'Node access rebuild', + 'description' => 'Ensures that node access rebuild functions work correctly.', + 'group' => 'Node', ); } diff --git a/modules/openid/openid.test b/modules/openid/openid.test index 9892c80355d06d6016d9e1faaf2ea8c68c15ccbb..4a746d01cd4c96b4e4ee6e4619f0fd2afab98e80 100644 --- a/modules/openid/openid.test +++ b/modules/openid/openid.test @@ -9,9 +9,9 @@ class OpenIDFunctionalTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('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."), - 'group' => t('OpenID') + 'name' => 'OpenID login and account registration', + 'description' => "Adds an identity to a user's profile and uses it to log in, creates a user account using auto-registration.", + 'group' => 'OpenID' ); } @@ -164,9 +164,9 @@ class OpenIDFunctionalTest extends DrupalWebTestCase { class OpenIDUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('OpenID helper functions'), - 'description' => t('Test OpenID helper functions.'), - 'group' => t('OpenID') + 'name' => 'OpenID helper functions', + 'description' => 'Test OpenID helper functions.', + 'group' => 'OpenID' ); } diff --git a/modules/path/path.test b/modules/path/path.test index 62873011767aa966bd90f47a9ee345459f814f40..5de87173b8fa9c5ac36395ef216be3912ab75375 100644 --- a/modules/path/path.test +++ b/modules/path/path.test @@ -9,9 +9,9 @@ class PathTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Path alias functionality'), - 'description' => t('Add, edit, delete, and change alias and verify its consistency in the database.'), - 'group' => t('Path'), + 'name' => 'Path alias functionality', + 'description' => 'Add, edit, delete, and change alias and verify its consistency in the database.', + 'group' => 'Path', ); } @@ -159,9 +159,9 @@ class PathTestCase extends DrupalWebTestCase { class PathLanguageTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Path aliases with translated nodes'), - 'description' => t('Confirm that paths work with translated nodes'), - 'group' => t('Path'), + 'name' => 'Path aliases with translated nodes', + 'description' => 'Confirm that paths work with translated nodes', + 'group' => 'Path', ); } diff --git a/modules/php/php.test b/modules/php/php.test index 25a3d3786a9ac277334258b9e0a371e479354596..b7b48f6fc91691a1e02bec96668fa99f80906c88 100644 --- a/modules/php/php.test +++ b/modules/php/php.test @@ -33,9 +33,9 @@ class PHPTestCase extends DrupalWebTestCase { class PHPFilterTestCase extends PHPTestCase { public static function getInfo() { return array( - 'name' => t('PHP filter functionality'), - 'description' => t('Make sure that PHP filter properly evaluates PHP code when enabled.'), - 'group' => t('PHP'), + 'name' => 'PHP filter functionality', + 'description' => 'Make sure that PHP filter properly evaluates PHP code when enabled.', + 'group' => 'PHP', ); } @@ -76,9 +76,9 @@ class PHPFilterTestCase extends PHPTestCase { class PHPAccessTestCase extends PHPTestCase { public static function getInfo() { return array( - 'name' => t('PHP filter access check'), - 'description' => t('Make sure that users who don\'t have access to the PHP filter can\'t see it.'), - 'group' => t('PHP'), + 'name' => 'PHP filter access check', + 'description' => 'Make sure that users who don\'t have access to the PHP filter can\'t see it.', + 'group' => 'PHP', ); } diff --git a/modules/poll/poll.test b/modules/poll/poll.test index 7bd30ad61e8c5266d794f2533591624147c34faf..355314c5f0f14a5405fb6cad19501018371c31aa 100644 --- a/modules/poll/poll.test +++ b/modules/poll/poll.test @@ -86,7 +86,11 @@ class PollTestCase extends DrupalWebTestCase { class PollCreateTestCase extends PollTestCase { 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() { @@ -162,7 +166,11 @@ class PollCreateTestCase extends PollTestCase { class PollVoteTestCase extends PollTestCase { 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() { @@ -235,9 +243,9 @@ class PollVoteTestCase extends PollTestCase { class PollBlockTestCase extends PollTestCase { public static function getInfo() { return array( - 'name' => t('Block availability'), - 'description' => t('Check if the most recent poll block is available.'), - 'group' => t('Poll'), + 'name' => 'Block availability', + 'description' => 'Check if the most recent poll block is available.', + 'group' => 'Poll', ); } @@ -306,9 +314,9 @@ class PollJSAddChoice extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Poll add choice'), - 'description' => t('Submits a POST request for an additional poll choice.'), - 'group' => t('Poll') + 'name' => 'Poll add choice', + 'description' => 'Submits a POST request for an additional poll choice.', + 'group' => 'Poll' ); } diff --git a/modules/profile/profile.test b/modules/profile/profile.test index bbb26deafad4cf7886ce73b3f4d9626f3f9c4852..86bcbe863174f6d306088bbcd77cd6e9417077c8 100644 --- a/modules/profile/profile.test +++ b/modules/profile/profile.test @@ -117,8 +117,9 @@ class ProfileTestFields extends ProfileTestCase { public static function getInfo() { return array( 'name' => 'Test single fields', - 'description' => t('Testing profile module with add/edit/delete textfield, textarea, list, checkbox, and url fields into profile page') , - 'group' => t('Profile')); + 'description' => 'Testing profile module with add/edit/delete textfield, textarea, list, checkbox, and url fields into profile page', + 'group' => 'Profile' + ); } /** @@ -152,8 +153,9 @@ class ProfileTestSelect extends ProfileTestCase { public static function getInfo() { return array( 'name' => 'Test select field', - 'description' => t('Testing profile module with add/edit/delete a select field') , - 'group' => t('Profile')); + 'description' => 'Testing profile module with add/edit/delete a select field', + 'group' => 'Profile' + ); } /** @@ -177,8 +179,9 @@ class ProfileTestDate extends ProfileTestCase { public static function getInfo() { return array( 'name' => 'Test date field', - 'description' => t('Testing profile module with add/edit/delete a date field') , - 'group' => t('Profile')); + 'description' => 'Testing profile module with add/edit/delete a date field', + 'group' => 'Profile' + ); } /** @@ -213,8 +216,9 @@ class ProfileTestWeights extends ProfileTestCase { public static function getInfo() { return array( 'name' => 'Test field weights', - 'description' => t('Testing profile modules weigting of fields') , - 'group' => t('Profile')); + 'description' => 'Testing profile modules weigting of fields', + 'group' => 'Profile' + ); } function testProfileFieldWeights() { @@ -241,9 +245,9 @@ class ProfileTestWeights extends ProfileTestCase { class ProfileTestAutocomplete extends ProfileTestCase { public static function getInfo() { return array( - 'name' => t('Autocompletion'), - 'description' => t('Test profile fields with autocompletion.'), - 'group' => t('Profile') + 'name' => 'Autocompletion', + 'description' => 'Test profile fields with autocompletion.', + 'group' => 'Profile' ); } @@ -294,9 +298,9 @@ class ProfileTestAutocomplete extends ProfileTestCase { class ProfileBlockTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Block availability'), - 'description' => t('Check if the author-information block is available.'), - 'group' => t('Profile'), + 'name' => 'Block availability', + 'description' => 'Check if the author-information block is available.', + 'group' => 'Profile', ); } diff --git a/modules/search/search.test b/modules/search/search.test index f39261d3bbfd5e588761275d067f4fda99021249..7475482a285000b72cebc18d0dc77fa447142a40 100644 --- a/modules/search/search.test +++ b/modules/search/search.test @@ -9,9 +9,9 @@ define('SEARCH_TYPE_2', '_test2_'); class SearchMatchTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Search engine queries'), - 'description' => t('Indexes content and queries it.'), - 'group' => t('Search'), + 'name' => 'Search engine queries', + 'description' => 'Indexes content and queries it.', + 'group' => 'Search', ); } @@ -199,9 +199,9 @@ class SearchBikeShed extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Bike shed'), - 'description' => t('Tests the bike shed text on the no results page.'), - 'group' => t('Search') + 'name' => 'Bike shed', + 'description' => 'Tests the bike shed text on the no results page.', + 'group' => 'Search' ); } @@ -229,9 +229,9 @@ class SearchAdvancedSearchForm extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Advanced search form'), - 'description' => t('Indexes content and tests the advanced search form.'), - 'group' => t('Search'), + 'name' => 'Advanced search form', + 'description' => 'Indexes content and tests the advanced search form.', + 'group' => 'Search', ); } @@ -290,9 +290,9 @@ class SearchAdvancedSearchForm extends DrupalWebTestCase { class SearchRankingTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Search engine ranking'), - 'description' => t('Indexes content and tests ranking factors.'), - 'group' => t('Search'), + 'name' => 'Search engine ranking', + 'description' => 'Indexes content and tests ranking factors.', + 'group' => 'Search', ); } @@ -373,9 +373,9 @@ class SearchRankingTestCase extends DrupalWebTestCase { class SearchBlockTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Block availability'), - 'description' => t('Check if the search form block is available.'), - 'group' => t('Search'), + 'name' => 'Block availability', + 'description' => 'Check if the search form block is available.', + 'group' => 'Search', ); } @@ -439,9 +439,9 @@ class SearchCommentTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Comment Search tests'), - 'description' => t('Verify text formats and filters used elsewhere.'), - 'group' => t('Search'), + 'name' => 'Comment Search tests', + 'description' => 'Verify text formats and filters used elsewhere.', + 'group' => 'Search', ); } diff --git a/modules/simpletest/simpletest.test b/modules/simpletest/simpletest.test index a26dce0d4e29b1201cdc0e65955b0681ae8fd8da..e28b684305664c9229a232139c14743ec59f050f 100644 --- a/modules/simpletest/simpletest.test +++ b/modules/simpletest/simpletest.test @@ -15,12 +15,12 @@ class SimpleTestFunctionalTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('SimpleTest functionality'), - 'description' => t('Test SimpleTest\'s web interface: check that the intended tests were + 'name' => 'SimpleTest functionality', + 'description' => 'Test SimpleTest\'s web interface: check that the intended tests were run and ensure that test reports display the intended results. Also test SimpleTest\'s internal browser and API\'s both explicitly and - implicitly.'), - 'group' => t('SimpleTest') + implicitly.', + 'group' => 'SimpleTest' ); } @@ -270,9 +270,9 @@ class SimpleTestMailCaptureTestCase extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('SimpleTest e-mail capturing'), - 'description' => t('Test the SimpleTest e-mail capturing logic, the assertMail assertion and the drupalGetMails function.'), - 'group' => t('SimpleTest'), + 'name' => 'SimpleTest e-mail capturing', + 'description' => 'Test the SimpleTest e-mail capturing logic, the assertMail assertion and the drupalGetMails function.', + 'group' => 'SimpleTest', ); } diff --git a/modules/simpletest/tests/actions.test b/modules/simpletest/tests/actions.test index 18ff1f47683ca116639c835afea0a8ddb54570fe..6619c24d3a79851744d92cff3d477c9bfc54f9df 100644 --- a/modules/simpletest/tests/actions.test +++ b/modules/simpletest/tests/actions.test @@ -4,9 +4,9 @@ class ActionsConfigurationTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Actions configuration'), - 'description' => t('Tests complex actions configuration by adding, editing, and deleting a complex action.'), - 'group' => t('System'), + 'name' => 'Actions configuration', + 'description' => 'Tests complex actions configuration by adding, editing, and deleting a complex action.', + 'group' => 'System', ); } diff --git a/modules/simpletest/tests/batch.test b/modules/simpletest/tests/batch.test index bc0f5ea345793dd2edf00d30e40e8be2c8419b4b..65c5309ff4db14dc11ab0f39da09c16a25d8688c 100644 --- a/modules/simpletest/tests/batch.test +++ b/modules/simpletest/tests/batch.test @@ -15,9 +15,9 @@ class BatchAPIPercentagesTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Batch API percentages'), - 'description' => t('Tests the handling of percentage rounding in the Drupal batch API. This is critical to Drupal user experience.'), - 'group' => t('Batch API'), + 'name' => 'Batch API percentages', + 'description' => 'Tests the handling of percentage rounding in the Drupal batch API. This is critical to Drupal user experience.', + 'group' => 'Batch API', ); } diff --git a/modules/simpletest/tests/bootstrap.test b/modules/simpletest/tests/bootstrap.test index 9306b82f5bfde9e4a11a4a003a8cf165cb38e76d..a0e70776ba7ad83de930281180f69e3520ff2bcf 100644 --- a/modules/simpletest/tests/bootstrap.test +++ b/modules/simpletest/tests/bootstrap.test @@ -5,9 +5,9 @@ class BootstrapIPAddressTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('IP address and HTTP_HOST test'), - 'description' => t('Get the IP address from the current visitor from the server variables, check hostname validation.'), - 'group' => t('Bootstrap') + 'name' => 'IP address and HTTP_HOST test', + 'description' => 'Get the IP address from the current visitor from the server variables, check hostname validation.', + 'group' => 'Bootstrap' ); } @@ -90,9 +90,9 @@ class BootstrapPageCacheTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Page cache test'), - 'description' => t('Enable the page cache and test it with conditional HTTP requests.'), - 'group' => t('Bootstrap') + 'name' => 'Page cache test', + 'description' => 'Enable the page cache and test it with conditional HTTP requests.', + 'group' => 'Bootstrap' ); } @@ -187,9 +187,9 @@ class BootstrapVariableTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Variable test'), - 'description' => t('Make sure the variable system functions correctly.'), - 'group' => t('Bootstrap') + 'name' => 'Variable test', + 'description' => 'Make sure the variable system functions correctly.', + 'group' => 'Bootstrap' ); } @@ -233,9 +233,9 @@ class HookBootExitTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Boot and exit hook invocation'), - 'description' => t('Test that hook_boot() and hook_exit() are called correctly.'), - 'group' => t('Bootstrap'), + 'name' => 'Boot and exit hook invocation', + 'description' => 'Test that hook_boot() and hook_exit() are called correctly.', + 'group' => 'Bootstrap', ); } diff --git a/modules/simpletest/tests/cache.test b/modules/simpletest/tests/cache.test index 8ba647ba094c0c1fa0495132ffcaaacb43d1f221..8de74b04e2f7a0843946e1e903231c7bb7ba58f0 100644 --- a/modules/simpletest/tests/cache.test +++ b/modules/simpletest/tests/cache.test @@ -104,9 +104,9 @@ class CacheTestCase extends DrupalWebTestCase { class CacheSavingCase extends CacheTestCase { public static function getInfo() { return array( - 'name' => t('Cache saving test'), - 'description' => t('Check our variables are saved and restored the right way.'), - 'group' => t('Cache') + 'name' => 'Cache saving test', + 'description' => 'Check our variables are saved and restored the right way.', + 'group' => 'Cache' ); } @@ -169,9 +169,9 @@ class CacheGetMultipleUnitTest extends CacheTestCase { public static function getInfo() { return array( - 'name' => t('Fetching multiple cache items'), - 'description' => t('Confirm that multiple records are fetched correctly.'), - 'group' => t('Cache'), + 'name' => 'Fetching multiple cache items', + 'description' => 'Confirm that multiple records are fetched correctly.', + 'group' => 'Cache', ); } @@ -215,9 +215,9 @@ class CacheGetMultipleUnitTest extends CacheTestCase { class CacheClearCase extends CacheTestCase { public static function getInfo() { return array( - 'name' => t('Cache clear test'), - 'description' => t('Check our clearing is done the proper way.'), - 'group' => t('Cache') + 'name' => 'Cache clear test', + 'description' => 'Check our clearing is done the proper way.', + 'group' => 'Cache' ); } diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test index 1892de1b5f73b61a5b0244f375efffca45a964d8..1fdc6a13d792d8c5782628178b17fa5c3b694411 100644 --- a/modules/simpletest/tests/common.test +++ b/modules/simpletest/tests/common.test @@ -8,9 +8,9 @@ class CommonLUnitTest extends DrupalUnitTestCase { public static function getInfo() { return array( - 'name' => t('URL generation tests'), - 'description' => t('Confirm that url(), drupal_query_string_encode(), and l() work correctly with various input.'), - 'group' => t('System'), + 'name' => 'URL generation tests', + 'description' => 'Confirm that url(), drupal_query_string_encode(), and l() work correctly with various input.', + 'group' => 'System', ); } @@ -42,9 +42,9 @@ class CommonSizeTestCase extends DrupalUnitTestCase { public static function getInfo() { return array( - 'name' => t('Size parsing test'), - 'description' => t('Parse a predefined amount of bytes and compare the output with the expected value.'), - 'group' => t('System') + 'name' => 'Size parsing test', + 'description' => 'Parse a predefined amount of bytes and compare the output with the expected value.', + 'group' => 'System' ); } @@ -146,9 +146,9 @@ class DrupalTagsHandlingTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Drupal tags handling'), - 'description' => t("Performs tests on Drupal's handling of tags, both explosion and implosion tactics used."), - 'group' => t('System') + 'name' => 'Drupal tags handling', + 'description' => "Performs tests on Drupal's handling of tags, both explosion and implosion tactics used.", + 'group' => 'System' ); } @@ -196,9 +196,9 @@ class DrupalTagsHandlingTestCase extends DrupalWebTestCase { class CascadingStylesheetsTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Cascading stylesheets'), - 'description' => t('Tests adding various cascading stylesheets to the page.'), - 'group' => t('System'), + 'name' => 'Cascading stylesheets', + 'description' => 'Tests adding various cascading stylesheets to the page.', + 'group' => 'System', ); } @@ -288,9 +288,9 @@ class CascadingStylesheetsTestCase extends DrupalWebTestCase { class DrupalHTTPRequestTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Drupal HTTP request'), - 'description' => t("Performs tests on Drupal's HTTP request mechanism."), - 'group' => t('System') + 'name' => 'Drupal HTTP request', + 'description' => "Performs tests on Drupal's HTTP request mechanism.", + 'group' => 'System' ); } @@ -388,9 +388,9 @@ class DrupalHTTPRequestTestCase extends DrupalWebTestCase { class DrupalSetContentTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Drupal set/get regions'), - 'description' => t('Performs tests on setting and retrieiving content from theme regions.'), - 'group' => t('System') + 'name' => 'Drupal set/get regions', + 'description' => 'Performs tests on setting and retrieiving content from theme regions.', + 'group' => 'System' ); } @@ -439,9 +439,9 @@ class JavaScriptTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('JavaScript'), - 'description' => t('Tests the JavaScript system.'), - 'group' => t('System') + 'name' => 'JavaScript', + 'description' => 'Tests the JavaScript system.', + 'group' => 'System' ); } @@ -684,9 +684,9 @@ class JavaScriptTestCase extends DrupalWebTestCase { class DrupalRenderUnitTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Drupal render'), - 'description' => t('Performs unit tests on drupal_render().'), - 'group' => t('System'), + 'name' => 'Drupal render', + 'description' => 'Performs unit tests on drupal_render().', + 'group' => 'System', ); } @@ -770,9 +770,9 @@ class DrupalRenderUnitTestCase extends DrupalWebTestCase { class ValidUrlTestCase extends DrupalUnitTestCase { public static function getInfo() { return array( - 'name' => t('Valid Url'), - 'description' => t("Performs tests on Drupal's valid url function."), - 'group' => t('System') + 'name' => 'Valid Url', + 'description' => "Performs tests on Drupal's valid url function.", + 'group' => 'System' ); } @@ -878,9 +878,9 @@ class ValidUrlTestCase extends DrupalUnitTestCase { class DrupalDataApiTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Data API functions'), - 'description' => t('Tests the performance of CRUD APIs.'), - 'group' => t('System'), + 'name' => 'Data API functions', + 'description' => 'Tests the performance of CRUD APIs.', + 'group' => 'System', ); } @@ -935,9 +935,9 @@ class DrupalErrorCollectionUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('SimpleTest error collecter'), - 'description' => t('Performs tests on the Simpletest error and exception collecter.'), - 'group' => t('SimpleTest'), + 'name' => 'SimpleTest error collecter', + 'description' => 'Performs tests on the Simpletest error and exception collecter.', + 'group' => 'SimpleTest', ); } @@ -1001,9 +1001,9 @@ class FormatDateUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Format date'), - 'description' => t('Test the format_date() function.'), - 'group' => t('System'), + 'name' => 'Format date', + 'description' => 'Test the format_date() function.', + 'group' => 'System', ); } diff --git a/modules/simpletest/tests/database_test.test b/modules/simpletest/tests/database_test.test index 51b110db9aeaeedad363800977ff5493b21974da..bae378c9c2b8a69c0f1cc5117689ec85aaae2c9a 100644 --- a/modules/simpletest/tests/database_test.test +++ b/modules/simpletest/tests/database_test.test @@ -173,9 +173,9 @@ class DatabaseConnectionTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Connection tests'), - 'description' => t('Tests of the core database system.'), - 'group' => t('Database'), + 'name' => 'Connection tests', + 'description' => 'Tests of the core database system.', + 'group' => 'Database', ); } @@ -241,9 +241,9 @@ class DatabaseFetchTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Fetch tests'), - 'description' => t('Test the Database system\'s various fetch capabilities.'), - 'group' => t('Database'), + 'name' => 'Fetch tests', + 'description' => 'Test the Database system\'s various fetch capabilities.', + 'group' => 'Database', ); } @@ -322,9 +322,9 @@ class DatabaseFetch2TestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Fetch tests, part 2'), - 'description' => t('Test the Database system\'s various fetch capabilities.'), - 'group' => t('Database'), + 'name' => 'Fetch tests, part 2', + 'description' => 'Test the Database system\'s various fetch capabilities.', + 'group' => 'Database', ); } @@ -387,9 +387,9 @@ class DatabaseInsertTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Insert tests'), - 'description' => t('Test the Insert query builder.'), - 'group' => t('Database'), + 'name' => 'Insert tests', + 'description' => 'Test the Insert query builder.', + 'group' => 'Database', ); } @@ -537,9 +537,9 @@ class DatabaseInsertLOBTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Insert tests, LOB fields'), - 'description' => t('Test the Insert query builder with LOB fields.'), - 'group' => t('Database'), + 'name' => 'Insert tests, LOB fields', + 'description' => 'Test the Insert query builder with LOB fields.', + 'group' => 'Database', ); } @@ -578,9 +578,9 @@ class DatabaseInsertDefaultsTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Insert tests, default fields'), - 'description' => t('Test the Insert query builder with default values.'), - 'group' => t('Database'), + 'name' => 'Insert tests, default fields', + 'description' => 'Test the Insert query builder with default values.', + 'group' => 'Database', ); } @@ -633,9 +633,9 @@ class DatabaseUpdateTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Update tests'), - 'description' => t('Test the Update query builder.'), - 'group' => t('Database'), + 'name' => 'Update tests', + 'description' => 'Test the Update query builder.', + 'group' => 'Database', ); } @@ -719,9 +719,9 @@ class DatabaseUpdateComplexTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Update tests, Complex'), - 'description' => t('Test the Update query builder, complex queries.'), - 'group' => t('Database'), + 'name' => 'Update tests, Complex', + 'description' => 'Test the Update query builder, complex queries.', + 'group' => 'Database', ); } @@ -844,9 +844,9 @@ class DatabaseUpdateLOBTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Update tests, LOB'), - 'description' => t('Test the Update query builder with LOB fields.'), - 'group' => t('Database'), + 'name' => 'Update tests, LOB', + 'description' => 'Test the Update query builder with LOB fields.', + 'group' => 'Database', ); } @@ -906,9 +906,9 @@ class DatabaseDeleteTruncateTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Delete/Truncate tests'), - 'description' => t('Test the Delete and Truncate query builders.'), - 'group' => t('Database'), + 'name' => 'Delete/Truncate tests', + 'description' => 'Test the Delete and Truncate query builders.', + 'group' => 'Database', ); } @@ -948,9 +948,9 @@ class DatabaseMergeTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Merge tests'), - 'description' => t('Test the Merge query builder.'), - 'group' => t('Database'), + 'name' => 'Merge tests', + 'description' => 'Test the Merge query builder.', + 'group' => 'Database', ); } @@ -1159,9 +1159,9 @@ class DatabaseSelectTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Select tests'), - 'description' => t('Test the Select query builder.'), - 'group' => t('Database'), + 'name' => 'Select tests', + 'description' => 'Test the Select query builder.', + 'group' => 'Database', ); } @@ -1330,9 +1330,9 @@ class DatabaseSelectSubqueryTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Select tests, subqueries'), - 'description' => t('Test the Select query builder.'), - 'group' => t('Database'), + 'name' => 'Select tests, subqueries', + 'description' => 'Test the Select query builder.', + 'group' => 'Database', ); } @@ -1419,9 +1419,9 @@ class DatabaseSelectOrderedTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Select tests, ordered'), - 'description' => t('Test the Select query builder.'), - 'group' => t('Database'), + 'name' => 'Select tests, ordered', + 'description' => 'Test the Select query builder.', + 'group' => 'Database', ); } @@ -1506,9 +1506,9 @@ class DatabaseSelectComplexTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Select tests, complex'), - 'description' => t('Test the Select query builder with more complex queries.'), - 'group' => t('Database'), + 'name' => 'Select tests, complex', + 'description' => 'Test the Select query builder with more complex queries.', + 'group' => 'Database', ); } @@ -1709,9 +1709,9 @@ class DatabaseSelectPagerDefaultTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Pager query tests'), - 'description' => t('Test the pager query extender.'), - 'group' => t('Database'), + 'name' => 'Pager query tests', + 'description' => 'Test the pager query extender.', + 'group' => 'Database', ); } @@ -1830,9 +1830,9 @@ class DatabaseSelectTableSortDefaultTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Tablesort query tests'), - 'description' => t('Test the tablesort query extender.'), - 'group' => t('Database'), + 'name' => 'Tablesort query tests', + 'description' => 'Test the tablesort query extender.', + 'group' => 'Database', ); } @@ -1901,9 +1901,9 @@ class DatabaseTaggingTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Query tagging tests'), - 'description' => t('Test the tagging capabilities of the Select builder.'), - 'group' => t('Database'), + 'name' => 'Query tagging tests', + 'description' => 'Test the tagging capabilities of the Select builder.', + 'group' => 'Database', ); } @@ -1984,9 +1984,9 @@ class DatabaseAlterTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Query altering tests'), - 'description' => t('Test the hook_query_alter capabilities of the Select builder.'), - 'group' => t('Database'), + 'name' => 'Query altering tests', + 'description' => 'Test the hook_query_alter capabilities of the Select builder.', + 'group' => 'Database', ); } @@ -2068,9 +2068,9 @@ class DatabaseAlter2TestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Query altering tests, part 2'), - 'description' => t('Test the hook_query_alter capabilities of the Select builder.'), - 'group' => t('Database'), + 'name' => 'Query altering tests, part 2', + 'description' => 'Test the hook_query_alter capabilities of the Select builder.', + 'group' => 'Database', ); } @@ -2130,9 +2130,9 @@ class DatabaseRegressionTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Regression tests'), - 'description' => t('Regression tests cases for the database layer.'), - 'group' => t('Database'), + 'name' => 'Regression tests', + 'description' => 'Regression tests cases for the database layer.', + 'group' => 'Database', ); } @@ -2180,9 +2180,9 @@ class DatabaseLoggingTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Query logging'), - 'description' => t('Test the query logging facility.'), - 'group' => t('Database'), + 'name' => 'Query logging', + 'description' => 'Test the query logging facility.', + 'group' => 'Database', ); } @@ -2305,9 +2305,9 @@ class DatabaseLoggingTestCase extends DatabaseTestCase { class DatabaseRangeQueryTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Range query test'), - 'description' => t('Test the Range query functionality.'), - 'group' => t('Database'), + 'name' => 'Range query test', + 'description' => 'Test the Range query functionality.', + 'group' => 'Database', ); } @@ -2336,9 +2336,9 @@ class DatabaseRangeQueryTestCase extends DrupalWebTestCase { class DatabaseTemporaryQueryTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Temporary query test'), - 'description' => t('Test the temporary query functionality.'), - 'group' => t('Database'), + 'name' => 'Temporary query test', + 'description' => 'Test the temporary query functionality.', + 'group' => 'Database', ); } @@ -2386,9 +2386,9 @@ class DatabaseTemporaryQueryTestCase extends DrupalWebTestCase { class DatabaseAnsiSyntaxTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('ANSI SQL syntax tests'), - 'description' => t('Test ANSI SQL syntax interpretation.'), - 'group' => t('Database'), + 'name' => 'ANSI SQL syntax tests', + 'description' => 'Test ANSI SQL syntax interpretation.', + 'group' => 'Database', ); } @@ -2430,9 +2430,9 @@ class DatabaseAnsiSyntaxTestCase extends DatabaseTestCase { class DatabaseInvalidDataTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Invalid data'), - 'description' => t('Test handling of some invalid data.'), - 'group' => t('Database'), + 'name' => 'Invalid data', + 'description' => 'Test handling of some invalid data.', + 'group' => 'Database', ); } @@ -2503,9 +2503,9 @@ class DatabaseInvalidDataTestCase extends DatabaseTestCase { class DatabaseQueryTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Custom query syntax tests'), - 'description' => t('Test Drupal\'s extended prepared statement syntax..'), - 'group' => t('Database'), + 'name' => 'Custom query syntax tests', + 'description' => 'Test Drupal\'s extended prepared statement syntax..', + 'group' => 'Database', ); } @@ -2547,9 +2547,9 @@ class DatabaseTransactionTestCase extends DatabaseTestCase { public static function getInfo() { return array( - 'name' => t('Transaction tests'), - 'description' => t('Test the transaction abstraction system.'), - 'group' => t('Database'), + 'name' => 'Transaction tests', + 'description' => 'Test the transaction abstraction system.', + 'group' => 'Database', ); } diff --git a/modules/simpletest/tests/error.test b/modules/simpletest/tests/error.test index b98c38cc8b7c7f50205cf558b49642fc0031d807..2be62f3276677c69a653930085ab346fb0ca091d 100644 --- a/modules/simpletest/tests/error.test +++ b/modules/simpletest/tests/error.test @@ -7,9 +7,9 @@ class DrupalErrorHandlerUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Drupal error handlers'), - 'description' => t('Performs tests on the Drupal error and exception handler.'), - 'group' => t('System'), + 'name' => 'Drupal error handlers', + 'description' => 'Performs tests on the Drupal error and exception handler.', + 'group' => 'System', ); } diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test index 53001a8d1bf24fddcedd1882e2dc9991df03a392..6c1dcdd423733b4b0740e2d3522c62130b12db86 100644 --- a/modules/simpletest/tests/file.test +++ b/modules/simpletest/tests/file.test @@ -274,9 +274,9 @@ class FileHookTestCase extends FileTestCase { class FileSpaceUsedTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('File space used tests'), - 'description' => t('Tests the file_space_used() function.'), - 'group' => t('File'), + 'name' => 'File space used tests', + 'description' => 'Tests the file_space_used() function.', + 'group' => 'File', ); } @@ -334,9 +334,9 @@ class FileSpaceUsedTest extends FileTestCase { class FileValidatorTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('File validator tests'), - 'description' => t('Tests the functions used to validate uploaded files.'), - 'group' => t('File'), + 'name' => 'File validator tests', + 'description' => 'Tests the functions used to validate uploaded files.', + 'group' => 'File', ); } @@ -492,9 +492,9 @@ class FileValidatorTest extends DrupalWebTestCase { class FileUnmanagedSaveDataTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('Unmanaged file save data'), - 'description' => t('Tests the unmanaged file save data function.'), - 'group' => t('File'), + 'name' => 'Unmanaged file save data', + 'description' => 'Tests the unmanaged file save data function.', + 'group' => 'File', ); } @@ -536,9 +536,9 @@ class FileSaveUploadTest extends FileHookTestCase { public static function getInfo() { return array( - 'name' => t('File uploading'), - 'description' => t('Tests the file uploading functions.'), - 'group' => t('File'), + 'name' => 'File uploading', + 'description' => 'Tests the file uploading functions.', + 'group' => 'File', ); } @@ -664,9 +664,9 @@ class FileSaveUploadTest extends FileHookTestCase { class FileDirectoryTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('File paths and directories'), - 'description' => t('Tests operations dealing with directories.'), - 'group' => t('File'), + 'name' => 'File paths and directories', + 'description' => 'Tests operations dealing with directories.', + 'group' => 'File', ); } @@ -829,9 +829,9 @@ class FileDirectoryTest extends FileTestCase { class FileScanDirectoryTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('File scan directory'), - 'description' => t('Tests the file_scan_directory() function.'), - 'group' => t('File'), + 'name' => 'File scan directory', + 'description' => 'Tests the file_scan_directory() function.', + 'group' => 'File', ); } @@ -959,9 +959,9 @@ class FileScanDirectoryTest extends FileTestCase { class FileUnmanagedDeleteTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('Unmanaged file delete'), - 'description' => t('Tests the unmanaged file delete function.'), - 'group' => t('File'), + 'name' => 'Unmanaged file delete', + 'description' => 'Tests the unmanaged file delete function.', + 'group' => 'File', ); } @@ -1005,9 +1005,9 @@ class FileUnmanagedDeleteTest extends FileTestCase { class FileUnmanagedDeleteRecursiveTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('Unmanaged recursive file delete'), - 'description' => t('Tests the unmanaged file delete recursive function.'), - 'group' => t('File'), + 'name' => 'Unmanaged recursive file delete', + 'description' => 'Tests the unmanaged file delete recursive function.', + 'group' => 'File', ); } @@ -1082,9 +1082,9 @@ class FileUnmanagedDeleteRecursiveTest extends FileTestCase { class FileUnmanagedMoveTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('Unmanaged file moving'), - 'description' => t('Tests the unmanaged file move function.'), - 'group' => t('File'), + 'name' => 'Unmanaged file moving', + 'description' => 'Tests the unmanaged file move function.', + 'group' => 'File', ); } @@ -1154,9 +1154,9 @@ class FileUnmanagedMoveTest extends FileTestCase { class FileUnmanagedCopyTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('Unmanaged file copying'), - 'description' => t('Tests the unmanaged file copy function.'), - 'group' => t('File'), + 'name' => 'Unmanaged file copying', + 'description' => 'Tests the unmanaged file copy function.', + 'group' => 'File', ); } @@ -1241,9 +1241,9 @@ class FileUnmanagedCopyTest extends FileTestCase { class FileDeleteTest extends FileHookTestCase { public static function getInfo() { return array( - 'name' => t('File delete'), - 'description' => t('Tests the file delete function.'), - 'group' => t('File'), + 'name' => 'File delete', + 'description' => 'Tests the file delete function.', + 'group' => 'File', ); } @@ -1272,9 +1272,9 @@ class FileDeleteTest extends FileHookTestCase { class FileMoveTest extends FileHookTestCase { public static function getInfo() { return array( - 'name' => t('File moving'), - 'description' => t('Tests the file move function.'), - 'group' => t('File'), + 'name' => 'File moving', + 'description' => 'Tests the file move function.', + 'group' => 'File', ); } @@ -1433,9 +1433,9 @@ class FileMoveTest extends FileHookTestCase { class FileCopyTest extends FileHookTestCase { public static function getInfo() { return array( - 'name' => t('File copying'), - 'description' => t('Tests the file copy function.'), - 'group' => t('File'), + 'name' => 'File copying', + 'description' => 'Tests the file copy function.', + 'group' => 'File', ); } @@ -1579,9 +1579,9 @@ class FileCopyTest extends FileHookTestCase { class FileLoadTest extends FileHookTestCase { public static function getInfo() { return array( - 'name' => t('File loading'), - 'description' => t('Tests the file_load() function.'), - 'group' => t('File'), + 'name' => 'File loading', + 'description' => 'Tests the file_load() function.', + 'group' => 'File', ); } @@ -1676,9 +1676,9 @@ class FileLoadTest extends FileHookTestCase { class FileSaveTest extends FileHookTestCase { public static function getInfo() { return array( - 'name' => t('File saving'), - 'description' => t('Tests the file_save() function.'), - 'group' => t('File'), + 'name' => 'File saving', + 'description' => 'Tests the file_save() function.', + 'group' => 'File', ); } @@ -1732,9 +1732,9 @@ class FileSaveTest extends FileHookTestCase { class FileValidateTest extends FileHookTestCase { public static function getInfo() { return array( - 'name' => t('File validate'), - 'description' => t('Tests the file_validate() function.'), - 'group' => t('File'), + 'name' => 'File validate', + 'description' => 'Tests the file_validate() function.', + 'group' => 'File', ); } @@ -1771,9 +1771,9 @@ class FileValidateTest extends FileHookTestCase { class FileSaveDataTest extends FileHookTestCase { public static function getInfo() { return array( - 'name' => t('File save data'), - 'description' => t('Tests the file save data function.'), - 'group' => t('File'), + 'name' => 'File save data', + 'description' => 'Tests the file save data function.', + 'group' => 'File', ); } @@ -1902,9 +1902,9 @@ class FileSaveDataTest extends FileHookTestCase { class FileDownloadTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('File download'), - 'description' => t('Tests for file download/transfer functions.'), - 'group' => t('File'), + 'name' => 'File download', + 'description' => 'Tests for file download/transfer functions.', + 'group' => 'File', ); } @@ -1948,9 +1948,9 @@ class FileDownloadTest extends FileTestCase { class FileNameMungingTest extends FileTestCase { public static function getInfo() { return array( - 'name' => t('File naming'), - 'description' => t('Test filename munging and unmunging.'), - 'group' => t('File'), + 'name' => 'File naming', + 'description' => 'Test filename munging and unmunging.', + 'group' => 'File', ); } @@ -2009,9 +2009,9 @@ class FileNameMungingTest extends FileTestCase { class FileMimeTypeTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('File mimetypes'), - 'description' => t('Test filename mimetype detection.'), - 'group' => t('File'), + 'name' => 'File mimetypes', + 'description' => 'Test filename mimetype detection.', + 'group' => 'File', ); } diff --git a/modules/simpletest/tests/filetransfer.test b/modules/simpletest/tests/filetransfer.test index 795cd3d27ed9e9c24908d8d2ff0f874c054f2db4..0ff1d50751685687d133a126ddbca9957a138364 100644 --- a/modules/simpletest/tests/filetransfer.test +++ b/modules/simpletest/tests/filetransfer.test @@ -10,9 +10,9 @@ class FileTranferTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('FileTransfer unit tests'), - 'description' => t('Test that the jail is respected and that protocols using recursive file move operations work.'), - 'group' => t('System') + 'name' => 'FileTransfer unit tests', + 'description' => 'Test that the jail is respected and that protocols using recursive file move operations work.', + 'group' => 'System' ); } diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test index 46bc67b84aa5cdd750e33c7bd311836653dec7c2..6ea494c3de622d04ed4064eda2444c014c2f938b 100644 --- a/modules/simpletest/tests/form.test +++ b/modules/simpletest/tests/form.test @@ -10,9 +10,9 @@ class FormsTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Required field validation'), - 'description' => t('Carriage returns, tabs, and spaces are not valid content for a required field.'), - 'group' => t('Form API'), + 'name' => 'Required field validation', + 'description' => 'Carriage returns, tabs, and spaces are not valid content for a required field.', + 'group' => 'Form API', ); } @@ -80,9 +80,9 @@ class FormsTestCase extends DrupalWebTestCase { class FormsTestTypeCase extends DrupalUnitTestCase { public static function getInfo() { return array( - 'name' => t('Form type-specific tests'), - 'description' => t('Test form type functions for expected behavior.'), - 'group' => t('Form API'), + 'name' => 'Form type-specific tests', + 'description' => 'Test form type functions for expected behavior.', + 'group' => 'Form API', ); } @@ -118,9 +118,9 @@ class FormsElementsTableSelectFunctionalTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Tableselect form element type test'), - 'description' => t('Test the tableselect element for expected behavior'), - 'group' => t('Form API'), + 'name' => 'Tableselect form element type test', + 'description' => 'Test the tableselect element for expected behavior', + 'group' => 'Form API', ); } @@ -322,9 +322,9 @@ class FormsFormCleanIdFunctionalTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('form_clean_id() test'), - 'description' => t('Test the function form_clean_id() for expected behavior'), - 'group' => t('Form API'), + 'name' => 'form_clean_id() test', + 'description' => 'Test the function form_clean_id() for expected behavior', + 'group' => 'Form API', ); } @@ -352,9 +352,9 @@ class FormAPITestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Drupal Execute and Batch API'), - 'description' => t('Tests the compatibility of drupal_form_submit and the Batch API'), - 'group' => t('Form API'), + 'name' => 'Drupal Execute and Batch API', + 'description' => 'Tests the compatibility of drupal_form_submit and the Batch API', + 'group' => 'Form API', ); } @@ -397,9 +397,9 @@ class FormsFormStorageTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Multistep form using form storage'), - 'description' => t('Tests a multistep form using form storage and makes sure validation and caching works right.'), - 'group' => t('Form API'), + 'name' => 'Multistep form using form storage', + 'description' => 'Tests a multistep form using form storage and makes sure validation and caching works right.', + 'group' => 'Form API', ); } diff --git a/modules/simpletest/tests/graph.test b/modules/simpletest/tests/graph.test index b3270f843a9bfcb76e345dae03b54dcd88be2848..c8c99edd640d37774d33225cc917855a7c6bb0e8 100644 --- a/modules/simpletest/tests/graph.test +++ b/modules/simpletest/tests/graph.test @@ -12,9 +12,9 @@ class GraphUnitTest extends DrupalUnitTestCase { public static function getInfo() { return array( - 'name' => t('Graph'), - 'description' => t('Graph handling unit tests.'), - 'group' => t('System'), + 'name' => 'Graph', + 'description' => 'Graph handling unit tests.', + 'group' => 'System', ); } diff --git a/modules/simpletest/tests/image.test b/modules/simpletest/tests/image.test index bf0d717f2f2d38a741a862fb3583be91a5a5f4b8..c5fb93fea0c0ea56e46eeda260b3bbc7f87576e1 100644 --- a/modules/simpletest/tests/image.test +++ b/modules/simpletest/tests/image.test @@ -72,9 +72,9 @@ class ImageToolkitTestCase extends DrupalWebTestCase { class ImageToolkitUnitTest extends ImageToolkitTestCase { public static function getInfo() { return array( - 'name' => t('Image toolkit tests'), - 'description' => t('Check image toolkit functions.'), - 'group' => t('Image'), + 'name' => 'Image toolkit tests', + 'description' => 'Check image toolkit functions.', + 'group' => 'Image', ); } @@ -210,9 +210,9 @@ class ImageToolkitGdTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Image GD manipulation tests'), - 'description' => t('Check that core image manipulations work properly: scale, resize, rotate, crop, scale and crop, and desaturate.'), - 'group' => t('Image'), + 'name' => 'Image GD manipulation tests', + 'description' => 'Check that core image manipulations work properly: scale, resize, rotate, crop, scale and crop, and desaturate.', + 'group' => 'Image', ); } diff --git a/modules/simpletest/tests/menu.test b/modules/simpletest/tests/menu.test index a30a748c3377efc8d1d34810cc35c2d2ea3d7e28..d6593bace55163c51682695a899c7670c469f9f3 100644 --- a/modules/simpletest/tests/menu.test +++ b/modules/simpletest/tests/menu.test @@ -9,9 +9,9 @@ class MenuIncTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Hook menu tests'), - 'description' => t('Test menu hook functionality.'), - 'group' => t('Menu'), + 'name' => 'Hook menu tests', + 'description' => 'Test menu hook functionality.', + 'group' => 'Menu', ); } @@ -131,9 +131,9 @@ class MenuIncTestCase extends DrupalWebTestCase { class MenuRebuildTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Menu rebuild test'), - 'description' => t('Test rebuilding of menu.'), - 'group' => t('Menu'), + 'name' => 'Menu rebuild test', + 'description' => 'Test rebuilding of menu.', + 'group' => 'Menu', ); } diff --git a/modules/simpletest/tests/module.test b/modules/simpletest/tests/module.test index da12b5504d12d699614eeb9ad1aa7b5c8740d0db..b5967157fa8e395fba9673d325a5a818dba8c9c7 100644 --- a/modules/simpletest/tests/module.test +++ b/modules/simpletest/tests/module.test @@ -12,9 +12,9 @@ class ModuleUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Module API'), - 'description' => t('Test low-level module functions.'), - 'group' => t('Module'), + 'name' => 'Module API', + 'description' => 'Test low-level module functions.', + 'group' => 'Module', ); } @@ -84,9 +84,9 @@ class ModuleUnitTest extends DrupalWebTestCase { class ModuleUninstallTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Module uninstallation'), - 'description' => t('Checks module uninstallation'), - 'group' => t('Module'), + 'name' => 'Module uninstallation', + 'description' => 'Checks module uninstallation', + 'group' => 'Module', ); } diff --git a/modules/simpletest/tests/registry.test b/modules/simpletest/tests/registry.test index 97608bf8bbc4b1ebd8f838467efbc4a05210bfec..3592ed13be1f92938de87068361916739124a348 100644 --- a/modules/simpletest/tests/registry.test +++ b/modules/simpletest/tests/registry.test @@ -4,9 +4,9 @@ class RegistryParseFileTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Registry parse file test'), - 'description' => t('Parse a simple file and check that its resources are saved to the database.'), - 'group' => t('System') + 'name' => 'Registry parse file test', + 'description' => 'Parse a simple file and check that its resources are saved to the database.', + 'group' => 'System' ); } @@ -53,9 +53,9 @@ class RegistryParseFilesTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Registry parse files test'), - 'description' => t('Read two a simple files from disc, and check that their resources are saved to the database.'), - 'group' => t('System') + 'name' => 'Registry parse files test', + 'description' => 'Read two a simple files from disc, and check that their resources are saved to the database.', + 'group' => 'System' ); } @@ -149,9 +149,9 @@ CONTENTS; class RegistrySkipBodyTestCase extends DrupalUnitTestCase { public static function getInfo() { return array( - 'name' => t('Skip function body test'), - 'description' => t('Tokenize a simple function and check that the body is skipped right'), - 'group' => t('System'), + 'name' => 'Skip function body test', + 'description' => 'Tokenize a simple function and check that the body is skipped right', + 'group' => 'System', ); } diff --git a/modules/simpletest/tests/schema.test b/modules/simpletest/tests/schema.test index 687fc67fd68efe026975be77bc269396f6d9eb15..3054a1e7c7e7c4c792198e6a8505c2e3ed040eb2 100644 --- a/modules/simpletest/tests/schema.test +++ b/modules/simpletest/tests/schema.test @@ -12,9 +12,9 @@ class SchemaTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Schema API'), - 'description' => t('Tests table creation and modification via the schema API.'), - 'group' => t('Database'), + 'name' => 'Schema API', + 'description' => 'Tests table creation and modification via the schema API.', + 'group' => 'Database', ); } diff --git a/modules/simpletest/tests/session.test b/modules/simpletest/tests/session.test index fb82f179d958939d522b9e74bf3b7c9d02644ffc..536f2abf1c766511fac0ab9e325c6296e5d5880c 100644 --- a/modules/simpletest/tests/session.test +++ b/modules/simpletest/tests/session.test @@ -9,9 +9,9 @@ class SessionTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Session tests'), - 'description' => t('Drupal session handling tests.'), - 'group' => t('Session') + 'name' => 'Session tests', + 'description' => 'Drupal session handling tests.', + 'group' => 'Session' ); } diff --git a/modules/simpletest/tests/theme.test b/modules/simpletest/tests/theme.test index a6b2e8ca10c0d2f2824eb07e64c16971bc1ed57c..6a79e4b4c98d8697b671e75030e03e6e412a5b71 100644 --- a/modules/simpletest/tests/theme.test +++ b/modules/simpletest/tests/theme.test @@ -12,9 +12,9 @@ class TemplateUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Theme API'), - 'description' => t('Test low-level theme template functions.'), - 'group' => t('Theme'), + 'name' => 'Theme API', + 'description' => 'Test low-level theme template functions.', + 'group' => 'Theme', ); } @@ -58,9 +58,9 @@ class TemplateUnitTest extends DrupalWebTestCase { class ThemeTableUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Theme Table'), - 'description' => t('Tests built-in theme functions.'), - 'group' => t('Theme'), + 'name' => 'Theme Table', + 'description' => 'Tests built-in theme functions.', + 'group' => 'Theme', ); } diff --git a/modules/simpletest/tests/unicode.test b/modules/simpletest/tests/unicode.test index 21ea6e5e53347fe48a455c9035585e2b131f632c..07551ee6920e301adac99d18e91dac1fc9dc8b2d 100644 --- a/modules/simpletest/tests/unicode.test +++ b/modules/simpletest/tests/unicode.test @@ -20,9 +20,9 @@ class UnicodeUnitTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Unicode handling'), - 'description' => t('Tests Drupal Unicode handling.'), - 'group' => t('System'), + 'name' => 'Unicode handling', + 'description' => 'Tests Drupal Unicode handling.', + 'group' => 'System', ); } diff --git a/modules/simpletest/tests/xmlrpc.test b/modules/simpletest/tests/xmlrpc.test index 213b54b5456fdd3813d523a1b91fa5a7fbda1f32..8cdaec1d5db0fcb7d20810b29f4e801bb5173b7d 100644 --- a/modules/simpletest/tests/xmlrpc.test +++ b/modules/simpletest/tests/xmlrpc.test @@ -4,9 +4,9 @@ class XMLRPCValidator1IncTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('XML-RPC validator'), - 'description' => t('See !validator-link.', array('!validator-link' => l('the xmlrpc validator1 specification', 'http://www.xmlrpc.com/validator1Docs'))), - 'group' => t('XML-RPC'), + 'name' => 'XML-RPC validator', + 'description' => 'See !validator-link.', array('!validator-link' => l('the xmlrpc validator1 specification', 'http://www.xmlrpc.com/validator1Docs')), + 'group' => 'XML-RPC', ); } @@ -127,9 +127,9 @@ class XMLRPCValidator1IncTestCase extends DrupalWebTestCase { class XMLRPCMessagesTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('XML-RPC message'), - 'description' => t('Test large messages.'), - 'group' => t('XML-RPC'), + 'name' => 'XML-RPC message', + 'description' => 'Test large messages.', + 'group' => 'XML-RPC', ); } diff --git a/modules/statistics/statistics.test b/modules/statistics/statistics.test index c79cfde0d7ceefdf6845b2819a8c8a546382b4b8..8056c0d1c6ae73a91df5ded231e28b9e107c6df1 100644 --- a/modules/statistics/statistics.test +++ b/modules/statistics/statistics.test @@ -4,9 +4,9 @@ class StatisticsBlockVisitorsTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Top visitor blocking'), - 'description' => t('Tests blocking of IP addresses via the top visitors report.'), - 'group' => t('Statistics') + 'name' => 'Top visitor blocking', + 'description' => 'Tests blocking of IP addresses via the top visitors report.', + 'group' => 'Statistics' ); } diff --git a/modules/syslog/syslog.test b/modules/syslog/syslog.test index cfac352b21d26efb6317dc24652a3a9b3d88910d..18aaa4ac2bce764f229d002dc4b7491688a08989 100644 --- a/modules/syslog/syslog.test +++ b/modules/syslog/syslog.test @@ -4,9 +4,9 @@ class SyslogTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Syslog functionality'), - 'description' => t('Test syslog settings.'), - 'group' => t('Syslog') + 'name' => 'Syslog functionality', + 'description' => 'Test syslog settings.', + 'group' => 'Syslog' ); } diff --git a/modules/system/system.test b/modules/system/system.test index b68d31dccf93001e2c4b77e57984a3d3789d544b..78f5634a7cc4a908573585803afc34ae8adb0d57 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -94,9 +94,9 @@ class ModuleTestCase extends DrupalWebTestCase { class EnableDisableTestCase extends ModuleTestCase { public static function getInfo() { return array( - 'name' => t('Enable/disable modules'), - 'description' => t('Enable/disable core module and confirm table creation/deletion.'), - 'group' => t('Module'), + 'name' => 'Enable/disable modules', + 'description' => 'Enable/disable core module and confirm table creation/deletion.', + 'group' => 'Module', ); } @@ -164,9 +164,9 @@ class EnableDisableTestCase extends ModuleTestCase { class ModuleDependencyTestCase extends ModuleTestCase { public static function getInfo() { return array( - 'name' => t('Module dependencies'), - 'description' => t('Enable module without dependency enabled.'), - 'group' => t('Module'), + 'name' => 'Module dependencies', + 'description' => 'Enable module without dependency enabled.', + 'group' => 'Module', ); } @@ -203,9 +203,9 @@ class ModuleDependencyTestCase extends ModuleTestCase { class ModuleRequiredTestCase extends ModuleTestCase { public static function getInfo() { return array( - 'name' => t('Required modules'), - 'description' => t('Attempt disabling of required modules.'), - 'group' => t('Module'), + 'name' => 'Required modules', + 'description' => 'Attempt disabling of required modules.', + 'group' => 'Module', ); } @@ -230,9 +230,9 @@ class IPAddressBlockingTestCase extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('IP address blocking'), - 'description' => t('Test IP address blocking.'), - 'group' => t('System') + 'name' => 'IP address blocking', + 'description' => 'Test IP address blocking.', + 'group' => 'System' ); } @@ -300,9 +300,9 @@ class CronRunTestCase extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('Cron run'), - 'description' => t('Test cron run.'), - 'group' => t('System') + 'name' => 'Cron run', + 'description' => 'Test cron run.', + 'group' => 'System' ); } @@ -387,9 +387,9 @@ class AdminOverviewTestCase extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('Admin overview'), - 'description' => t('Confirm that the admin overview page appears as expected.'), - 'group' => t('System') + 'name' => 'Admin overview', + 'description' => 'Confirm that the admin overview page appears as expected.', + 'group' => 'System' ); } @@ -469,9 +469,9 @@ class AdminMetaTagTestCase extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('Fingerprinting meta tag'), - 'description' => t('Confirm that the fingerprinting meta tag appears as expected.'), - 'group' => t('System') + 'name' => 'Fingerprinting meta tag', + 'description' => 'Confirm that the fingerprinting meta tag appears as expected.', + 'group' => 'System' ); } @@ -497,9 +497,9 @@ class AccessDeniedTestCase extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('403 functionality'), - 'description' => t("Tests page access denied functionality, including custom 403 pages."), - 'group' => t('System') + 'name' => '403 functionality', + 'description' => "Tests page access denied functionality, including custom 403 pages.", + 'group' => 'System' ); } @@ -558,9 +558,9 @@ class PageNotFoundTestCase extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('404 functionality'), - 'description' => t("Tests page not found functionality, including custom 404 pages."), - 'group' => t('System') + 'name' => '404 functionality', + 'description' => "Tests page not found functionality, including custom 404 pages.", + 'group' => 'System' ); } @@ -617,9 +617,9 @@ class PageNotFoundTestCase extends DrupalWebTestCase { class DateTimeFunctionalTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Date and time'), - 'description' => t('Configure date and time settings. Test date formatting and time zone handling, including daylight saving time.'), - 'group' => t('System'), + 'name' => 'Date and time', + 'description' => 'Configure date and time settings. Test date formatting and time zone handling, including daylight saving time.', + 'group' => 'System', ); } @@ -664,9 +664,9 @@ class PageTitleFiltering extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('HTML in page titles'), - 'description' => t('Tests correct handling or conversion by drupal_set_title() and drupal_get_title().'), - 'group' => t('System') + 'name' => 'HTML in page titles', + 'description' => 'Tests correct handling or conversion by drupal_set_title() and drupal_get_title().', + 'group' => 'System' ); } @@ -726,9 +726,9 @@ class FrontPageTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Front page'), - 'description' => t('Tests front page functionality and administration.'), - 'group' => t('System'), + 'name' => 'Front page', + 'description' => 'Tests front page functionality and administration.', + 'group' => 'System', ); } @@ -777,9 +777,9 @@ class FrontPageTestCase extends DrupalWebTestCase { class SystemBlockTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Block functionality'), - 'description' => t('Configure and move powered-by block.'), - 'group' => t('System'), + 'name' => 'Block functionality', + 'description' => 'Configure and move powered-by block.', + 'group' => 'System', ); } @@ -831,9 +831,9 @@ class SystemSettingsForm extends DrupalWebTestCase { */ public static function getInfo() { return array( - 'name' => t('System setting forms'), - 'description' => t('Tests correctness of system_settings_form() processing.'), - 'group' => t('System') + 'name' => 'System setting forms', + 'description' => 'Tests correctness of system_settings_form() processing.', + 'group' => 'System' ); } @@ -910,9 +910,9 @@ class SystemSettingsForm extends DrupalWebTestCase { class SystemThemeFunctionalTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Theme interface functionality'), - 'description' => t('Tests the theme interface functionality by enabling and switching themes, and using an administration theme.'), - 'group' => t('System'), + 'name' => 'Theme interface functionality', + 'description' => 'Tests the theme interface functionality by enabling and switching themes, and using an administration theme.', + 'group' => 'System', ); } @@ -978,9 +978,9 @@ class SystemThemeFunctionalTest extends DrupalWebTestCase { class QueueTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Queue functionality'), - 'description' => t('Queues and dequeues a set of items to check the basic queue functionality.'), - 'group' => t('System'), + 'name' => 'Queue functionality', + 'description' => 'Queues and dequeues a set of items to check the basic queue functionality.', + 'group' => 'System', ); } diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index b6b048aceea12f8f2a3e3f891fb79d47628adfbc..ed5a7a69bf8b14815bd042b10eb10ba4bb9e9605 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -46,9 +46,9 @@ class TaxonomyVocabularyFunctionalTest extends TaxonomyWebTestCase { public static function getInfo() { return array( - 'name' => t('Taxonomy vocabulary interface'), - 'description' => t('Test the taxonomy vocabulary interface.'), - 'group' => t('Taxonomy'), + 'name' => 'Taxonomy vocabulary interface', + 'description' => 'Test the taxonomy vocabulary interface.', + 'group' => 'Taxonomy', ); } @@ -188,9 +188,9 @@ class TaxonomyVocabularyUnitTest extends TaxonomyWebTestCase { public static function getInfo() { return array( - 'name' => t('Taxonomy vocabularies'), - 'description' => t('Test loading, saving and deleting vocabularies.'), - 'group' => t('Taxonomy'), + 'name' => 'Taxonomy vocabularies', + 'description' => 'Test loading, saving and deleting vocabularies.', + 'group' => 'Taxonomy', ); } @@ -308,9 +308,9 @@ class TaxonomyTermUnitTest extends TaxonomyWebTestCase { public static function getInfo() { return array( - 'name' => t('Taxonomy term unit tests'), - 'description' => t('Unit tests for taxonomy term functions.'), - 'group' => t('Taxonomy'), + 'name' => 'Taxonomy term unit tests', + 'description' => 'Unit tests for taxonomy term functions.', + 'group' => 'Taxonomy', ); } @@ -381,9 +381,9 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { public static function getInfo() { return array( - 'name' => t('Taxonomy term functions and forms.'), - 'description' => t('Test load, save and delete for taxonomy terms.'), - 'group' => t('Taxonomy') + 'name' => 'Taxonomy term functions and forms.', + 'description' => 'Test load, save and delete for taxonomy terms.', + 'group' => 'Taxonomy' ); } @@ -618,9 +618,9 @@ class TaxonomyLoadMultipleUnitTest extends TaxonomyWebTestCase { public static function getInfo() { return array( - 'name' => t('Taxonomy term multiple loading'), - 'description' => t('Test the loading of multiple taxonomy terms at once'), - 'group' => t('Taxonomy'), + 'name' => 'Taxonomy term multiple loading', + 'description' => 'Test the loading of multiple taxonomy terms at once', + 'group' => 'Taxonomy', ); } @@ -684,9 +684,9 @@ class TaxonomyLoadMultipleUnitTest extends TaxonomyWebTestCase { class TaxonomyHooksTestCase extends TaxonomyWebTestCase { public static function getInfo() { return array( - 'name' => t('Taxonomy term hooks'), - 'description' => t('Hooks for taxonomy term load/save/delete.'), - 'group' => t('Taxonomy') + 'name' => 'Taxonomy term hooks', + 'description' => 'Hooks for taxonomy term load/save/delete.', + 'group' => 'Taxonomy' ); } diff --git a/modules/tracker/tracker.test b/modules/tracker/tracker.test index c5e853d826351fb5838437eff2de9c18e6f438f6..9943c17aac934c12af1979fc4ea1069d47599749 100644 --- a/modules/tracker/tracker.test +++ b/modules/tracker/tracker.test @@ -8,9 +8,9 @@ class TrackerTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Tracker'), - 'description' => t('Create nodes and check for their display in the tracker listings.'), - 'group' => t('Tracker') + 'name' => 'Tracker', + 'description' => 'Create nodes and check for their display in the tracker listings.', + 'group' => 'Tracker' ); } diff --git a/modules/translation/translation.test b/modules/translation/translation.test index 6dc2ce4560342705d8e54ee014c949a9d30dd4b0..5bbeced22247ec6c3a2014f6307dd51dfb0237aa 100644 --- a/modules/translation/translation.test +++ b/modules/translation/translation.test @@ -6,9 +6,9 @@ class TranslationTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Translation functionality'), - 'description' => t('Create a page with translation, modify the page outdating translation, and update translation.'), - 'group' => t('Translation') + 'name' => 'Translation functionality', + 'description' => 'Create a page with translation, modify the page outdating translation, and update translation.', + 'group' => 'Translation' ); } diff --git a/modules/trigger/trigger.test b/modules/trigger/trigger.test index 5e9d7a28653ef052d71c15a40342aebbc320f717..a22ea04ab56a31b36451bdc6c5f976c14c035ea3 100644 --- a/modules/trigger/trigger.test +++ b/modules/trigger/trigger.test @@ -7,9 +7,9 @@ class TriggerContentTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Trigger content (node) actions'), - 'description' => t('Perform various tests with content actions.') , - 'group' => t('Trigger'), + 'name' => 'Trigger content (node) actions', + 'description' => 'Perform various tests with content actions.' , + 'group' => 'Trigger', ); } @@ -116,9 +116,9 @@ class TriggerContentTestCase extends DrupalWebTestCase { class TriggerCronTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Trigger cron (system) actions'), - 'description' => t('Perform various tests with cron trigger.') , - 'group' => t('Trigger'), + 'name' => 'Trigger cron (system) actions', + 'description' => 'Perform various tests with cron trigger.' , + 'group' => 'Trigger', ); } diff --git a/modules/upload/upload.test b/modules/upload/upload.test index 124c9bbd8516ce296d7f66f4bfeb2d6383a97e03..e3fd220dac858ac9a22b1778d5353ef32021fc75 100644 --- a/modules/upload/upload.test +++ b/modules/upload/upload.test @@ -10,9 +10,9 @@ class UploadTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Upload functionality'), - 'description' => t('Check content uploaded to nodes.'), - 'group' => t('Upload'), + 'name' => 'Upload functionality', + 'description' => 'Check content uploaded to nodes.', + 'group' => 'Upload', ); } diff --git a/modules/user/user.test b/modules/user/user.test index ee77d0dccbcc4061f79c36e5f5847ebdb34011e7..255d0ecff0ce2b1a9947a49f5ab16264ab20e279 100644 --- a/modules/user/user.test +++ b/modules/user/user.test @@ -4,9 +4,9 @@ class UserRegistrationTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('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.'), - 'group' => t('User') + 'name' => 'User registration', + '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' => 'User' ); } @@ -111,9 +111,9 @@ class UserRegistrationTestCase extends DrupalWebTestCase { class UserValidationTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Username/e-mail validation'), - 'description' => t('Verify that username/email validity checks behave as designed.'), - 'group' => t('User') + 'name' => 'Username/e-mail validation', + 'description' => 'Verify that username/email validity checks behave as designed.', + 'group' => 'User' ); } @@ -162,9 +162,9 @@ class UserValidationTestCase extends DrupalWebTestCase { class UserCancelTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Cancel account'), - 'description' => t('Ensure that account cancellation methods work as expected.'), - 'group' => t('User'), + 'name' => 'Cancel account', + 'description' => 'Ensure that account cancellation methods work as expected.', + 'group' => 'User', ); } @@ -503,9 +503,9 @@ class UserPictureTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Upload user picture'), - 'description' => t('Assure that dimension check, extension check and image scaling work as designed.'), - 'group' => t('User') + 'name' => 'Upload user picture', + 'description' => 'Assure that dimension check, extension check and image scaling work as designed.', + 'group' => 'User' ); } @@ -724,9 +724,9 @@ class UserPermissionsTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('Role permissions'), - 'description' => t('Verify that role permissions can be added and removed via the permissions page.'), - 'group' => t('User') + 'name' => 'Role permissions', + 'description' => 'Verify that role permissions can be added and removed via the permissions page.', + 'group' => 'User' ); } @@ -791,9 +791,9 @@ class UserPermissionsTestCase extends DrupalWebTestCase { class UserAdminTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('User administration'), - 'description' => t('Test user administration page functionality.'), - 'group' => t('User') + 'name' => 'User administration', + 'description' => 'Test user administration page functionality.', + 'group' => 'User' ); } @@ -844,9 +844,9 @@ class UserAdminTestCase extends DrupalWebTestCase { class UserTimeZoneFunctionalTest extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('User time zones'), - 'description' => t('Set a user time zone and verify that dates are displayed in local time.'), - 'group' => t('User'), + 'name' => 'User time zones', + 'description' => 'Set a user time zone and verify that dates are displayed in local time.', + 'group' => 'User', ); } @@ -904,9 +904,9 @@ class UserTimeZoneFunctionalTest extends DrupalWebTestCase { class UserAutocompleteTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('User autocompletion'), - 'description' => t('Test user autocompletion functionality.'), - 'group' => t('User') + 'name' => 'User autocompletion', + 'description' => 'Test user autocompletion functionality.', + 'group' => 'User' ); } @@ -944,9 +944,9 @@ class UserAutocompleteTestCase extends DrupalWebTestCase { class UserBlocksUnitTests extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('User blocks'), - 'description' => t('Test user blocks.'), - 'group' => t('User') + 'name' => 'User blocks', + 'description' => 'Test user blocks.', + 'group' => 'User' ); } @@ -1033,9 +1033,9 @@ class UserSaveTestCase extends DrupalWebTestCase { public static function getInfo() { return array( - 'name' => t('User save test'), - 'description' => t('Test user_save() for arbitrary new uid.'), - 'group' => t('User'), + 'name' => 'User save test', + 'description' => 'Test user_save() for arbitrary new uid.', + 'group' => 'User', ); }