summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-16 04:43:47 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-16 04:43:47 +0000
commit82aacc0c461327dc6dc2047c3d06d859ec1e1dbd (patch)
tree094bb8f8aedcbedca3e7dbc26023d6d0879897c2 /modules
parent44a4cfebcdc692ee54315bc4a18d7335d9847083 (diff)
downloadbrdo-82aacc0c461327dc6dc2047c3d06d859ec1e1dbd.tar.gz
brdo-82aacc0c461327dc6dc2047c3d06d859ec1e1dbd.tar.bz2
#487868 follow-up by David Rothstein: Fix phpDoc of link assertion functions.
Diffstat (limited to 'modules')
-rw-r--r--modules/simpletest/drupal_web_test_case.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 535e18b4c..860a18c9f 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -1625,6 +1625,8 @@ class DrupalWebTestCase extends DrupalTestCase {
* Message to display.
* @param $group
* The group this message belongs to, defaults to 'Other'.
+ * @return
+ * TRUE if the assertion succeeded, FALSE otherwise.
*/
protected function assertLink($label, $index = 0, $message = '', $group = 'Other') {
$links = $this->xpath('//a[text()="' . $label . '"]');
@@ -1643,6 +1645,8 @@ class DrupalWebTestCase extends DrupalTestCase {
* Message to display.
* @param $group
* The group this message belongs to, defaults to 'Other'.
+ * @return
+ * TRUE if the assertion succeeded, FALSE otherwise.
*/
protected function assertNoLink($label, $message = '', $group = 'Other') {
$links = $this->xpath('//a[text()="' . $label . '"]');