function DrupalWebTestCase::drupalGetContent

Gets the current raw HTML of requested page.

31 calls to DrupalWebTestCase::drupalGetContent()
BootstrapDestinationTestCase::testDestination in modules/simpletest/tests/bootstrap.test
Tests that $_GET/$_REQUEST['destination'] only contain internal URLs.
BootstrapPageCacheTestCase::testPageCompression in modules/simpletest/tests/bootstrap.test
Test page compression.
CommentBlockFunctionalTest::testRecentCommentBlock in modules/comment/comment.test
Test the recent comments block.
CommentHelperCase::commentContactInfoAvailable in modules/comment/comment.test
Check for contact info.
CommentHelperCase::commentExists in modules/comment/comment.test
Checks current page for specified comment.

... See full list

File

modules/simpletest/drupal_web_test_case.php, line 3201

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

protected function drupalGetContent() {
    return $this->content;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.