summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-10 17:27:54 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-10 17:27:54 +0000
commitea1bd5606ce2da6075fc4344e30e81d074d4eb7c (patch)
tree8f7ec536b62aaed73f026bef53252a05be5474bf /modules/simpletest
parent5f40bd5becb4deb9663bdacae09b0847d569508a (diff)
downloadbrdo-ea1bd5606ce2da6075fc4344e30e81d074d4eb7c.tar.gz
brdo-ea1bd5606ce2da6075fc4344e30e81d074d4eb7c.tar.bz2
#606526 by axyjo and scor: Remove trailing whitespace and add newlines at end of files. Sorry, folks! But it is after code freeze. :)
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/files/css_test_files/css_input_without_import.css2
-rw-r--r--modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css2
-rw-r--r--modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css2
-rw-r--r--modules/simpletest/tests/actions.test2
-rw-r--r--modules/simpletest/tests/bootstrap.test4
-rw-r--r--modules/simpletest/tests/database_test.module4
-rw-r--r--modules/simpletest/tests/file.test2
-rw-r--r--modules/simpletest/tests/filetransfer.test4
-rw-r--r--modules/simpletest/tests/form_test.module2
-rw-r--r--modules/simpletest/tests/menu_test.module4
-rw-r--r--modules/simpletest/tests/system_test.module2
11 files changed, 15 insertions, 15 deletions
diff --git a/modules/simpletest/files/css_test_files/css_input_without_import.css b/modules/simpletest/files/css_test_files/css_input_without_import.css
index 70ad5a66e..89e2df24c 100644
--- a/modules/simpletest/files/css_test_files/css_input_without_import.css
+++ b/modules/simpletest/files/css_test_files/css_input_without_import.css
@@ -22,7 +22,7 @@ body {
* CSS spec says that all whitespace is valid whitespace, so this selector should be just as
* good as the one above.
*/
-
+
.this
.is
.a
diff --git a/modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css b/modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css
index bf139f490..e5920f094 100644
--- a/modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css
+++ b/modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css
@@ -4,7 +4,7 @@
body{margin:0;padding:0;background:#edf5fa;font:76%/170% Verdana,sans-serif;color:#494949;}.this .is .a .test{font:1em/100% Verdana,sans-serif;color:#494949;}
-
+
.this
.is
.a
diff --git a/modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css b/modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css
index 70ad5a66e..89e2df24c 100644
--- a/modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css
+++ b/modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css
@@ -22,7 +22,7 @@ body {
* CSS spec says that all whitespace is valid whitespace, so this selector should be just as
* good as the one above.
*/
-
+
.this
.is
.a
diff --git a/modules/simpletest/tests/actions.test b/modules/simpletest/tests/actions.test
index 7cc06b558..2f43b8777 100644
--- a/modules/simpletest/tests/actions.test
+++ b/modules/simpletest/tests/actions.test
@@ -118,7 +118,7 @@ class ActionLoopTestCase extends DrupalWebTestCase {
$result = db_query("SELECT * FROM {watchdog} WHERE type = 'actions_loop_test' OR type = 'actions' ORDER BY timestamp");
$loop_started = FALSE;
foreach ($result as $row) {
-
+
$expected_message = array_shift($expected);
$this->assertEqual($row->message, $expected_message, t('Expected message %expected, got %message.', array('%expected' => $expected_message, '%message' => $row->message)));
}
diff --git a/modules/simpletest/tests/bootstrap.test b/modules/simpletest/tests/bootstrap.test
index cac805897..18d671b39 100644
--- a/modules/simpletest/tests/bootstrap.test
+++ b/modules/simpletest/tests/bootstrap.test
@@ -180,7 +180,7 @@ class BootstrapPageCacheTestCase extends DrupalWebTestCase {
/**
* Test page compression.
- *
+ *
* The test should pass even if zlib.output_compression is enabled in php.ini,
* .htaccess or similar, or if compression is done outside PHP, e.g. by the
* mod_deflate Apache module.
@@ -356,7 +356,7 @@ class BootstrapTimerTestCase extends DrupalUnitTestCase {
/**
* Test timer_read() to ensure it properly accumulates time when the timer
* started and stopped multiple times.
- * @return
+ * @return
*/
function testTimer() {
timer_start('test');
diff --git a/modules/simpletest/tests/database_test.module b/modules/simpletest/tests/database_test.module
index 422f097fc..4a6a95c07 100644
--- a/modules/simpletest/tests/database_test.module
+++ b/modules/simpletest/tests/database_test.module
@@ -149,7 +149,7 @@ function database_test_tablesort() {
$query = db_select('test_task', 't');
$query
->fields('t', array('tid', 'pid', 'task', 'priority'));
-
+
$query = $query->extend('TableSort')->orderByHeader($header);
// We need all the results at once to check the sort.
@@ -178,7 +178,7 @@ function database_test_tablesort_first() {
$query = db_select('test_task', 't');
$query
->fields('t', array('tid', 'pid', 'task', 'priority'));
-
+
$query = $query->extend('TableSort')->orderByHeader($header)->orderBy('priority');
// We need all the results at once to check the sort.
diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test
index b7ec982ab..46c24508b 100644
--- a/modules/simpletest/tests/file.test
+++ b/modules/simpletest/tests/file.test
@@ -1892,7 +1892,7 @@ class FileDownloadTest extends FileTestCase {
$this->assertEqual($GLOBALS['base_url'] . '/' . file_directory_path() . '/' . $file->filename, $url, t('Correctly generated a URL for a created file.'));
$this->drupalHead($url);
$this->assertResponse(200, t('Confirmed that the generated URL is correct by downloading the created file.'));
-
+
// Test generating an URL to a shipped file (i.e. a file that is part of
// Drupal core, a module or a theme, for example a JavaScript file).
$filepath = 'misc/jquery.js';
diff --git a/modules/simpletest/tests/filetransfer.test b/modules/simpletest/tests/filetransfer.test
index cefd90e10..03e966d03 100644
--- a/modules/simpletest/tests/filetransfer.test
+++ b/modules/simpletest/tests/filetransfer.test
@@ -97,7 +97,7 @@ class TestFileTransfer extends FileTransfer {
protected $username = NULL;
protected $password = NULL;
protected $port = NULL;
-
+
/**
* This is for testing the CopyRecursive logic.
*/
@@ -135,7 +135,7 @@ class TestFileTransfer extends FileTransfer {
throw new FileTransferException('Unable to remove to file @file.', NULL, array('@file' => $item));
}
}
-
+
function isDirectory($path) {
return $this->shouldIsDirectoryReturnTrue;
}
diff --git a/modules/simpletest/tests/form_test.module b/modules/simpletest/tests/form_test.module
index af4dbccde..ffc777c42 100644
--- a/modules/simpletest/tests/form_test.module
+++ b/modules/simpletest/tests/form_test.module
@@ -211,7 +211,7 @@ function _form_test_tableselect_js_select_form($form, $form_state, $action) {
* drupal_form_submit using the values specified in this function.
*
* The form's field test_value begins at 'initial_value', and is changed
- * to 'form_submitted' when the form is submitted successfully. On
+ * to 'form_submitted' when the form is submitted successfully. On
* completion this function is passed 'done' to complete the process.
*/
function form_test_drupal_form_submit_batch_api($arg = '') {
diff --git a/modules/simpletest/tests/menu_test.module b/modules/simpletest/tests/menu_test.module
index ae8235a9f..df1c49781 100644
--- a/modules/simpletest/tests/menu_test.module
+++ b/modules/simpletest/tests/menu_test.module
@@ -125,9 +125,9 @@ function menu_test_theme_callback($argument) {
* Helper function for the testMenuName() test. Used to change the menu_name
* parameter of a menu.
*
- * @param $new_name
+ * @param $new_name
* If set, will change the menu_name value.
- * @return
+ * @return
* The menu_name value to use.
*/
function menu_test_menu_name($new_name = '') {
diff --git a/modules/simpletest/tests/system_test.module b/modules/simpletest/tests/system_test.module
index 670305536..53080a86b 100644
--- a/modules/simpletest/tests/system_test.module
+++ b/modules/simpletest/tests/system_test.module
@@ -9,7 +9,7 @@ function system_test_menu() {
'page callback' => 'system_test_batch_theme',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
- );
+ );
$items['system-test/sleep/%'] = array(
'page callback' => 'system_test_sleep',
'page arguments' => array(2),