summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-13 21:51:42 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-13 21:51:42 +0000
commit735e1d904ff44d6072c1d19edcd12cfc6ef6b3a6 (patch)
treea1ad04877c8efe0b752e299059a424c13de69c3f
parentbeadf384f1cd680fa18e7a12a634a3fb7646ffe6 (diff)
downloadbrdo-735e1d904ff44d6072c1d19edcd12cfc6ef6b3a6.tar.gz
brdo-735e1d904ff44d6072c1d19edcd12cfc6ef6b3a6.tar.bz2
#500866 by boombatower: Remove t() from getInfo in tests.
-rw-r--r--modules/aggregator/aggregator.test42
-rw-r--r--modules/block/block.test24
-rw-r--r--modules/blog/blog.test6
-rw-r--r--modules/blogapi/blogapi.test6
-rw-r--r--modules/book/book.test12
-rw-r--r--modules/comment/comment.test36
-rw-r--r--modules/contact/contact.test12
-rw-r--r--modules/dblog/dblog.test6
-rw-r--r--modules/field/field.test30
-rw-r--r--modules/field/modules/field_sql_storage/field_sql_storage.test6
-rw-r--r--modules/field/modules/text/text.test12
-rw-r--r--modules/filter/filter.test12
-rw-r--r--modules/forum/forum.test6
-rw-r--r--modules/help/help.test6
-rw-r--r--modules/locale/locale.test60
-rw-r--r--modules/menu/menu.test6
-rw-r--r--modules/node/node.test96
-rw-r--r--modules/openid/openid.test12
-rw-r--r--modules/path/path.test12
-rw-r--r--modules/php/php.test12
-rw-r--r--modules/poll/poll.test24
-rw-r--r--modules/profile/profile.test32
-rw-r--r--modules/search/search.test36
-rw-r--r--modules/simpletest/simpletest.test14
-rw-r--r--modules/simpletest/tests/actions.test6
-rw-r--r--modules/simpletest/tests/batch.test6
-rw-r--r--modules/simpletest/tests/bootstrap.test24
-rw-r--r--modules/simpletest/tests/cache.test18
-rw-r--r--modules/simpletest/tests/common.test72
-rw-r--r--modules/simpletest/tests/database_test.test168
-rw-r--r--modules/simpletest/tests/error.test6
-rw-r--r--modules/simpletest/tests/file.test120
-rw-r--r--modules/simpletest/tests/filetransfer.test6
-rw-r--r--modules/simpletest/tests/form.test36
-rw-r--r--modules/simpletest/tests/graph.test6
-rw-r--r--modules/simpletest/tests/image.test12
-rw-r--r--modules/simpletest/tests/menu.test12
-rw-r--r--modules/simpletest/tests/module.test12
-rw-r--r--modules/simpletest/tests/registry.test18
-rw-r--r--modules/simpletest/tests/schema.test6
-rw-r--r--modules/simpletest/tests/session.test6
-rw-r--r--modules/simpletest/tests/theme.test12
-rw-r--r--modules/simpletest/tests/unicode.test6
-rw-r--r--modules/simpletest/tests/xmlrpc.test12
-rw-r--r--modules/statistics/statistics.test6
-rw-r--r--modules/syslog/syslog.test6
-rw-r--r--modules/system/system.test96
-rw-r--r--modules/taxonomy/taxonomy.test36
-rw-r--r--modules/tracker/tracker.test6
-rw-r--r--modules/translation/translation.test6
-rw-r--r--modules/trigger/trigger.test12
-rw-r--r--modules/upload/upload.test6
-rw-r--r--modules/user/user.test60
53 files changed, 665 insertions, 653 deletions
diff --git a/modules/aggregator/aggregator.test b/modules/aggregator/aggregator.test
index 4abef3721..f72ae94ff 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 73d256ac0..9996b6fa9 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 a59a63cf7..bed45db63 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 90cd43894..0ee8b4f33 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 1c8ac0c32..e2a00fe67 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 9873f5b20..e346298b1 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 0eae9fdb7..dcd9a9a10 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 d41147804..c78922a50 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 eead0f76d..b4f116373 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 0ac174fae..fa13207bc 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 3c2d706b9..ae8a0a06a 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 cf06b6da3..98834d6e4 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 502278832..df0d61d04 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 9bdd41d19..7351650dd 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 fd54d6b34..f3cabe4c2 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 704ec4629..f3f44b0e4 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 be6152171..91d71e5f2 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 9892c8035..4a746d01c 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 628730117..5de87173b 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 25a3d3786..b7b48f6fc 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 7bd30ad61..355314c5f 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 bbb26deaf..86bcbe863 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 f39261d3b..7475482a2 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 a26dce0d4..e28b68430 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 18ff1f476..6619c24d3 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 bc0f5ea34..65c5309ff 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 9306b82f5..a0e70776b 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 8ba647ba0..8de74b04e 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 1892de1b5..1fdc6a13d 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 51b110db9..bae378c9c 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 b98c38cc8..2be62f327 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 53001a8d1..6c1dcdd42 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 795cd3d27..0ff1d5075 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 46bc67b84..6ea494c3d 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 b3270f843..c8c99edd6 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 bf0d717f2..c5fb93fea 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 a30a748c3..d6593bace 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 da12b5504..b5967157f 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 97608bf8b..3592ed13b 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 687fc67fd..3054a1e7c 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 fb82f179d..536f2abf1 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 a6b2e8ca1..6a79e4b4c 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 21ea6e5e5..07551ee69 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 213b54b54..8cdaec1d5 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 c79cfde0d..8056c0d1c 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 cfac352b2..18aaa4ac2 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 b68d31dcc..78f5634a7 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 b6b048ace..ed5a7a69b 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 c5e853d82..9943c17aa 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 6dc2ce456..5bbeced22 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 5e9d7a286..a22ea04ab 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 124c9bbd8..e3fd220da 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 ee77d0dcc..255d0ecff 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',
);
}