summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/form_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests/form_test.module')
-rw-r--r--modules/simpletest/tests/form_test.module29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/simpletest/tests/form_test.module b/modules/simpletest/tests/form_test.module
index 6d6fd38f8..ee47b4f14 100644
--- a/modules/simpletest/tests/form_test.module
+++ b/modules/simpletest/tests/form_test.module
@@ -39,13 +39,6 @@ function form_test_menu() {
'type' => MENU_CALLBACK,
);
- $items['form_test/form_clean_id'] = array(
- 'title' => 'form_clean_id test',
- 'page callback' => 'form_test_form_clean_id_page',
- 'access arguments' => array('access content'),
- 'type' => MENU_CALLBACK,
- );
-
$items['form_test/drupal_form_submit_batch_api'] = array(
'title' => 'BatchAPI Drupal_form_submit tests',
'page callback' => 'form_test_drupal_form_submit_batch_api',
@@ -73,28 +66,6 @@ function form_test_menu() {
}
/**
- * Generate a page with three forms, to test the clean_id generation.
- */
-function form_test_form_clean_id_page() {
- $build['form_test_test_form1'] = drupal_get_form('form_test_test_form');
- $build['form_test_test_form2'] = drupal_get_form('form_test_test_form');
- $build['form_test_test_form3'] = drupal_get_form('form_test_test_form');
- return $build;
-}
-
-/**
- * A simple form to test clean_id generation.
- */
-function form_test_test_form($form, &$form_state) {
- $form['input'] = array(
- '#type' => 'item',
- '#title' => 'Test Textfield',
- '#markup' => form_clean_id('form_test_form_clean_id_presence'),
- );
- return $form;
-}
-
-/**
* Create a header and options array. Helper function for callbacks.
*/
function _form_test_tableselect_get_data() {