protected function WebTestBase::drupalGetContent

Gets the current raw HTML of requested page.

30 calls to WebTestBase::drupalGetContent()
CommentBlockTest::testRecentCommentBlock in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentBlockTest.php
Tests the recent comments block.
CommentTestBase::commentContactInfoAvailable in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTestBase.php
Checks whether the commenter's contact information is displayed.
CommentTestBase::commentExists in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTestBase.php
Checks current page for specified comment.
CommentTestBase::getUnapprovedComment in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTestBase.php
Gets the comment ID for an unapproved comment.
FormTest::testSelect in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Tests validation of #type 'select' elements.

... See full list

File

drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php, line 2002
Definition of Drupal\simpletest\WebTestBase.

Class

WebTestBase
Test case for typical Drupal tests.

Namespace

Drupal\simpletest

Code

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