diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-06-09 08:11:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-06-09 08:11:45 +0000 |
commit | ecb032a239f88ead2087aa98cbcf28522a523922 (patch) | |
tree | 042c9109c3fc8149857262be521c25c00337d973 /modules/simpletest/drupal_web_test_case.php | |
parent | 5a9b7c5b713bdd009846d80b3f24caf9948d6fc9 (diff) | |
download | brdo-ecb032a239f88ead2087aa98cbcf28522a523922.tar.gz brdo-ecb032a239f88ead2087aa98cbcf28522a523922.tar.bz2 |
- Patch #151902 by MadHarold et al: a better format_size() (and removed some excessive white space).
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 58af4efea..3e0ae5e6f 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -323,13 +323,13 @@ class DrupalWebTestCase extends UnitTestCase { } /** - * Generates a random database prefix, runs the install scripts on the - * prefixed database and enable the specified modules. After installation - * many caches are flushed and the internal browser is setup so that the - * page requests will run on the new prefix. A temporary files directory + * Generates a random database prefix, runs the install scripts on the + * prefixed database and enable the specified modules. After installation + * many caches are flushed and the internal browser is setup so that the + * page requests will run on the new prefix. A temporary files directory * is created with the same name as the database prefix. * - * @param ... + * @param ... * List of modules to enable for the duration of the test. */ function setUp() { @@ -586,7 +586,7 @@ class DrupalWebTestCase extends UnitTestCase { } $out = $this->curlExec(array(CURLOPT_URL => $action, CURLOPT_POST => TRUE, CURLOPT_POSTFIELDS => $post)); // Ensure that any changes to variables in the other thread are picked up. - $this->refreshVariables(); + $this->refreshVariables(); return $out; } } @@ -604,15 +604,15 @@ class DrupalWebTestCase extends UnitTestCase { * exist and attempt to create POST data in the correct manner for the particular * field type. * - * @param array $post + * @param array $post * Reference to array of post values. - * @param array $edit + * @param array $edit * Reference to array of edit values to be checked against the form. - * @param string $submit + * @param string $submit * Form submit button value. - * @param array $form + * @param array $form * Array of form elements. - * @return boolean + * @return boolean * Submit value matches a valid submit input in the form. */ protected function handleForm(&$post, &$edit, &$upload, $submit, $form) { |