protected function DrupalWebTestCase::drupalGetContent in SimpleTest 7.2
Same name and namespace in other branches
- 6.2 drupal_web_test_case.php \DrupalWebTestCase::drupalGetContent()
- 7 drupal_web_test_case.php \DrupalWebTestCase::drupalGetContent()
Gets the current raw HTML of requested page.
9 calls to DrupalWebTestCase::drupalGetContent()
- DrupalWebTestCase::assertNoPattern in ./
drupal_web_test_case.php - Will trigger a pass if the perl regex pattern is not present in raw content.
- DrupalWebTestCase::assertNoRaw in ./
drupal_web_test_case.php - Pass if the raw text is NOT found on the loaded page, fail otherwise. Raw text refers to the raw HTML that the page generated.
- DrupalWebTestCase::assertPattern in ./
drupal_web_test_case.php - Will trigger a pass if the Perl regex pattern is found in the raw content.
- DrupalWebTestCase::assertRaw in ./
drupal_web_test_case.php - Pass if the raw text IS found on the loaded page, fail otherwise. Raw text refers to the raw HTML that the page generated.
- DrupalWebTestCase::assertTextHelper in ./
drupal_web_test_case.php - Helper for assertText and assertNoText.
File
- ./
drupal_web_test_case.php, line 2635 - Provides DrupalTestCase, DrupalUnitTestCase, and DrupalWebTestCase classes.
Class
- DrupalWebTestCase
- Test case for typical Drupal tests.
Code
protected function drupalGetContent() {
return $this->content;
}