summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/simpletest.install2
-rw-r--r--modules/simpletest/tests/actions.test2
-rw-r--r--modules/simpletest/tests/database_test.test4
-rw-r--r--modules/simpletest/tests/file_test.module23
-rw-r--r--modules/simpletest/tests/form.test4
-rw-r--r--modules/simpletest/tests/form_test.module2
-rw-r--r--modules/simpletest/tests/image_test.module3
7 files changed, 26 insertions, 14 deletions
diff --git a/modules/simpletest/simpletest.install b/modules/simpletest/simpletest.install
index b34c7b543..c7eea9f98 100644
--- a/modules/simpletest/simpletest.install
+++ b/modules/simpletest/simpletest.install
@@ -68,7 +68,7 @@ function simpletest_requirements($phase) {
// SimpleTest currently needs 2 cURL options which are incompatible with
// having PHP's open_basedir restriction set.
- // @see http://drupal.org/node/674304.
+ // See http://drupal.org/node/674304.
$requirements['php_open_basedir'] = array(
'title' => $t('PHP open_basedir restriction'),
'value' => $open_basedir ? $t('Enabled') : $t('Disabled'),
diff --git a/modules/simpletest/tests/actions.test b/modules/simpletest/tests/actions.test
index 9c36d0e2f..eaf86e47b 100644
--- a/modules/simpletest/tests/actions.test
+++ b/modules/simpletest/tests/actions.test
@@ -97,7 +97,7 @@ class ActionLoopTestCase extends DrupalWebTestCase {
// To prevent this test from failing when xdebug is enabled, the maximum
// recursion level should be kept low enough to prevent the xdebug
// infinite recursion protection mechanism from aborting the request.
- // @see http://drupal.org/node/587634.
+ // See http://drupal.org/node/587634.
variable_set('actions_max_stack', mt_rand(3, 12));
$this->triggerActions();
}
diff --git a/modules/simpletest/tests/database_test.test b/modules/simpletest/tests/database_test.test
index c09d9a312..d8b9d87d9 100644
--- a/modules/simpletest/tests/database_test.test
+++ b/modules/simpletest/tests/database_test.test
@@ -2247,7 +2247,7 @@ class DatabaseTaggingTestCase extends DatabaseTestCase {
/**
* Select alter tests.
*
- * @see database_test_query_alter().
+ * @see database_test_query_alter()
*/
class DatabaseAlterTestCase extends DatabaseTestCase {
@@ -2331,7 +2331,7 @@ class DatabaseAlterTestCase extends DatabaseTestCase {
/**
* Select alter tests, part 2.
*
- * @see database_test_query_alter().
+ * @see database_test_query_alter()
*/
class DatabaseAlter2TestCase extends DatabaseTestCase {
diff --git a/modules/simpletest/tests/file_test.module b/modules/simpletest/tests/file_test.module
index 9d0e7efae..b14dd6ef4 100644
--- a/modules/simpletest/tests/file_test.module
+++ b/modules/simpletest/tests/file_test.module
@@ -99,7 +99,8 @@ function _file_test_form_submit(&$form, &$form_state) {
/**
* Reset/initialize the history of calls to the file_* hooks.
*
- * @see the getter/setter functions file_test_get_calls() and file_test_reset().
+ * @see file_test_get_calls()
+ * @see file_test_reset()
*/
function file_test_reset() {
// Keep track of calls to these hooks
@@ -116,7 +117,7 @@ function file_test_reset() {
);
variable_set('file_test_results', $results);
- // These hooks will return these values, @see file_test_set_return().
+ // These hooks will return these values, see file_test_set_return().
$return = array(
'validate' => array(),
'download' => NULL,
@@ -132,9 +133,12 @@ function file_test_reset() {
* @param $op
* One of the hook_file_* operations: 'load', 'validate', 'download',
* 'references', 'insert', 'update', 'copy', 'move', 'delete'.
+ *
* @return
* Array of the parameters passed to each call.
- * @see _file_test_log_call() and file_test_reset()
+ *
+ * @see _file_test_log_call()
+ * @see file_test_reset()
*/
function file_test_get_calls($op) {
$results = variable_get('file_test_results', array());
@@ -161,7 +165,9 @@ function file_test_get_all_calls() {
* 'references', 'insert', 'update', 'copy', 'move', 'delete'.
* @param $args
* Values passed to hook.
- * @see file_test_get_calls() and file_test_reset()
+ *
+ * @see file_test_get_calls()
+ * @see file_test_reset()
*/
function _file_test_log_call($op, $args) {
$results = variable_get('file_test_results', array());
@@ -174,9 +180,12 @@ function _file_test_log_call($op, $args) {
*
* @param $op
* One of the hook_file_[validate,download,references] operations.
+ *
* @return
* Value set by file_test_set_return().
-* @see file_test_set_return() and file_test_reset().
+ *
+ * @see file_test_set_return()
+ * @see file_test_reset()
*/
function _file_test_get_return($op) {
$return = variable_get('file_test_return', array($op => NULL));
@@ -190,7 +199,9 @@ function _file_test_get_return($op) {
* One of the hook_file_[validate,download,references] operations.
* @param $value
* Value for the hook to return.
- * @see _file_test_get_return() and file_test_reset().
+ *
+ * @see _file_test_get_return()
+ * @see file_test_reset()
*/
function file_test_set_return($op, $value) {
$return = variable_get('file_test_return', array());
diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test
index b19ca7655..3c447d14d 100644
--- a/modules/simpletest/tests/form.test
+++ b/modules/simpletest/tests/form.test
@@ -123,7 +123,7 @@ class FormsTestCase extends DrupalWebTestCase {
/**
* Test default value handling for checkboxes.
*
- * @see _form_test_checkbox().
+ * @see _form_test_checkbox()
*/
function testCheckboxProcessing() {
// First, try to submit without the required checkbox.
@@ -153,7 +153,7 @@ class FormsTestCase extends DrupalWebTestCase {
/**
* Test handling of disabled elements.
*
- * @see _form_test_disabled_elements().
+ * @see _form_test_disabled_elements()
*/
function testDisabledElements() {
// Submit the form, and fetch the default values.
diff --git a/modules/simpletest/tests/form_test.module b/modules/simpletest/tests/form_test.module
index 7be851d2c..ad9be7032 100644
--- a/modules/simpletest/tests/form_test.module
+++ b/modules/simpletest/tests/form_test.module
@@ -378,7 +378,7 @@ function _form_test_tableselect_js_select_form($form, $form_state, $action) {
* request parameter "cache" the form can be tested with caching enabled, as
* it would be the case, if the form would contain some #ajax callbacks.
*
- * @see form_test_storage_form_submit().
+ * @see form_test_storage_form_submit()
*/
function form_test_storage_form($form, &$form_state) {
if ($form_state['rebuild']) {
diff --git a/modules/simpletest/tests/image_test.module b/modules/simpletest/tests/image_test.module
index e5c3f0e42..75c1b23ef 100644
--- a/modules/simpletest/tests/image_test.module
+++ b/modules/simpletest/tests/image_test.module
@@ -25,7 +25,7 @@ function image_test_image_toolkits() {
/**
* Reset/initialize the history of calls to the toolkit functions.
*
- * @see image_test_get_all_calls().
+ * @see image_test_get_all_calls()
*/
function image_test_reset() {
// Keep track of calls to these operations
@@ -62,6 +62,7 @@ function image_test_get_all_calls() {
* 'settings', 'resize', 'rotate', 'crop', 'desaturate'.
* @param $args
* Values passed to hook.
+ *
* @see image_test_get_all_calls()
* @see image_test_reset()
*/