diff options
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r-- | modules/simpletest/tests/actions.test | 6 | ||||
-rw-r--r-- | modules/simpletest/tests/batch.test | 6 | ||||
-rw-r--r-- | modules/simpletest/tests/bootstrap.test | 24 | ||||
-rw-r--r-- | modules/simpletest/tests/cache.test | 18 | ||||
-rw-r--r-- | modules/simpletest/tests/common.test | 72 | ||||
-rw-r--r-- | modules/simpletest/tests/database_test.test | 168 | ||||
-rw-r--r-- | modules/simpletest/tests/error.test | 6 | ||||
-rw-r--r-- | modules/simpletest/tests/file.test | 120 | ||||
-rw-r--r-- | modules/simpletest/tests/filetransfer.test | 6 | ||||
-rw-r--r-- | modules/simpletest/tests/form.test | 36 | ||||
-rw-r--r-- | modules/simpletest/tests/graph.test | 6 | ||||
-rw-r--r-- | modules/simpletest/tests/image.test | 12 | ||||
-rw-r--r-- | modules/simpletest/tests/menu.test | 12 | ||||
-rw-r--r-- | modules/simpletest/tests/module.test | 12 | ||||
-rw-r--r-- | modules/simpletest/tests/registry.test | 18 | ||||
-rw-r--r-- | modules/simpletest/tests/schema.test | 6 | ||||
-rw-r--r-- | modules/simpletest/tests/session.test | 6 | ||||
-rw-r--r-- | modules/simpletest/tests/theme.test | 12 | ||||
-rw-r--r-- | modules/simpletest/tests/unicode.test | 6 | ||||
-rw-r--r-- | modules/simpletest/tests/xmlrpc.test | 12 |
20 files changed, 282 insertions, 282 deletions
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', ); } |