summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/form.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests/form.test')
-rw-r--r--modules/simpletest/tests/form.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test
index be5c3117d..88b2614b9 100644
--- a/modules/simpletest/tests/form.test
+++ b/modules/simpletest/tests/form.test
@@ -8,7 +8,7 @@
class FormsTestCase extends DrupalWebTestCase {
- function getInfo() {
+ 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.'),
@@ -78,7 +78,7 @@ class FormsTestCase extends DrupalWebTestCase {
* Test form type functions for expected behavior.
*/
class FormsTestTypeCase extends DrupalWebTestCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Form type-specific tests'),
'description' => t('Test form type functions for expected behavior.'),
@@ -116,7 +116,7 @@ class FormsTestTypeCase extends DrupalWebTestCase {
*/
class FormsElementsTableSelectFunctionalTest extends DrupalWebTestCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Tableselect form element type test'),
'description' => t('Test the tableselect element for expected behavior'),
@@ -320,7 +320,7 @@ class FormsElementsTableSelectFunctionalTest extends DrupalWebTestCase {
*/
class FormsFormCleanIdFunctionalTest extends DrupalWebTestCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('form_clean_id() test'),
'description' => t('Test the function form_clean_id() for expected behavior'),
@@ -350,7 +350,7 @@ class FormsFormCleanIdFunctionalTest extends DrupalWebTestCase {
*/
class FormAPITestCase extends DrupalWebTestCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Drupal Execute and Batch API'),
'description' => t('Tests the compatibility of drupal_execute and the Batch API'),