From 5c7375669d4d0c781067e539836d96fda8fa81d1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 20 Sep 2009 17:40:42 +0000 Subject: - Patch #582758 by c960657: remove t() calls from getInfo() functions. --- modules/file/tests/file.test | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'modules/file/tests') diff --git a/modules/file/tests/file.test b/modules/file/tests/file.test index c3d7622c8..2044102e0 100644 --- a/modules/file/tests/file.test +++ b/modules/file/tests/file.test @@ -176,11 +176,11 @@ class FileFieldTestCase extends DrupalWebTestCase { * Test class to test file handling with node revisions. */ class FileFieldRevisionTestCase extends FileFieldTestCase { - public function getInfo() { + public static function getInfo() { return array( - 'name' => t('File field revision test'), - 'description' => t('Test creating and deleting revisions with files attached.'), - 'group' => t('File'), + 'name' => 'File field revision test', + 'description' => 'Test creating and deleting revisions with files attached.', + 'group' => 'File', ); } @@ -269,11 +269,11 @@ class FileFieldRevisionTestCase extends FileFieldTestCase { * Test class to check that formatters are working properly. */ class FileFieldDisplayTestCase extends FileFieldTestCase { - public function getInfo() { + public static function getInfo() { return array( - 'name' => t('File field display tests'), - 'description' => t('Test the display of file fields in node and views.'), - 'group' => t('File'), + 'name' => 'File field display tests', + 'description' => 'Test the display of file fields in node and views.', + 'group' => 'File', ); } @@ -323,11 +323,11 @@ class FileFieldValidateTestCase extends FileFieldTestCase { protected $field; protected $node_type; - public function getInfo() { + public static function getInfo() { return array( - 'name' => t('File field validation tests'), - 'description' => t('Tests validation functions such as file type, max file size, max size per node, and required.'), - 'group' => t('File'), + 'name' => 'File field validation tests', + 'description' => 'Tests validation functions such as file type, max file size, max size per node, and required.', + 'group' => 'File', ); } @@ -478,11 +478,11 @@ class FileFieldValidateTestCase extends FileFieldTestCase { * Test class to check that files are uploaded to proper locations. */ class FileFieldPathTestCase extends FileFieldTestCase { - function getInfo() { + public static function getInfo() { return array( - 'name' => t('File field file path tests'), - 'description' => t('Test that files are uploaded to the proper location with token support.'), - 'group' => t('File'), + 'name' => 'File field file path tests', + 'description' => 'Test that files are uploaded to the proper location with token support.', + 'group' => 'File', ); } -- cgit v1.2.3