protected function WebTestBase::drupalGetContent

Gets the current raw HTML of requested page.

31 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.
EditorAdminTest::testNoEditorAvailable in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditorAdminTest.php
Tests an existing format without any editors available.

... See full list

File

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

Class

WebTestBase
Test case for typical Drupal tests.

Namespace

Drupal\simpletest

Code

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