summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-30 16:43:20 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-30 16:43:20 +0000
commit92a8adea653b29a9e6ee7778e8628f57b959ca4f (patch)
tree0fd5b18555aff73bfe4bc5aa3479db3090ad4cf8 /modules/simpletest/drupal_web_test_case.php
parentcac5dd8a66a07887aca4c4730d56978eaf26c70b (diff)
downloadbrdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.gz
brdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.bz2
- Patch #352470 by scor: fixed typos and grammar in comments.
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 0185c632c..a453caa7c 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -193,7 +193,7 @@ class DrupalWebTestCase {
$backtrace = debug_backtrace();
// The first element is the call. The second element is the caller.
- // We skip calls that occured in one of the methods of DrupalWebTestCase
+ // We skip calls that occurred in one of the methods of DrupalWebTestCase
// or in an assertion function.
while (($caller = $backtrace[1]) &&
((isset($caller['class']) && $caller['class'] == 'DrupalWebTestCase') ||
@@ -1000,7 +1000,7 @@ class DrupalWebTestCase {
*/
protected function parse() {
if (!$this->elements) {
- // DOM can load HTML soup. But, HTML soup can throw warnings, supress
+ // DOM can load HTML soup. But, HTML soup can throw warnings, suppress
// them.
@$htmlDom = DOMDocument::loadHTML($this->content);
if ($htmlDom) {
@@ -1063,7 +1063,7 @@ class DrupalWebTestCase {
* $edit = array(...);
* $this->drupalPost(NULL, $edit, t('Save'));
* @param $edit
- * Field data in an assocative array. Changes the current input fields
+ * Field data in an associative array. Changes the current input fields
* (where possible) to the values indicated. A checkbox can be set to
* TRUE to be checked and FALSE to be unchecked. Note that when a form
* contains file upload fields, other fields cannot start with the '@'
@@ -1314,7 +1314,7 @@ class DrupalWebTestCase {
}
/**
- * Peform an xpath search on the contents of the internal browser. The search
+ * Perform an xpath search on the contents of the internal browser. The search
* is relative to the root element (HTML tag normally) of the page.
*
* @param $xpath
@@ -1606,7 +1606,7 @@ class DrupalWebTestCase {
/**
* Pass if the text IS found on the text version of the page. The text version
- * is the equivilent of what a user would see when viewing through a web browser.
+ * is the equivalent of what a user would see when viewing through a web browser.
* In other words the HTML has been filtered out of the contents.
*
* @param $text
@@ -1624,7 +1624,7 @@ class DrupalWebTestCase {
/**
* Pass if the text is NOT found on the text version of the page. The text version
- * is the equivilent of what a user would see when viewing through a web browser.
+ * is the equivalent of what a user would see when viewing through a web browser.
* In other words the HTML has been filtered out of the contents.
*
* @param $text
@@ -1956,7 +1956,7 @@ class DrupalWebTestCase {
* Assert the page responds with the specified response code.
*
* @param $code
- * Reponse code. For example 200 is a successful page request. For a list
+ * Response code. For example 200 is a successful page request. For a list
* of all codes see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html.
* @param $message
* Message to display.