You are here

protected function AssertContentTrait::getRawContent in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/simpletest/src/AssertContentTrait.php \Drupal\simpletest\AssertContentTrait::getRawContent()

Gets the current raw content.

60 calls to AssertContentTrait::getRawContent()
AddFeedTest::testFeedLabelEscaping in core/modules/aggregator/src/Tests/AddFeedTest.php
Ensures that the feed label is escaping when rendering the feed icon.
AssertContentTrait::assertEscaped in core/modules/simpletest/src/AssertContentTrait.php
Passes if the raw text IS found escaped on the loaded page, fail otherwise.
AssertContentTrait::assertNoEscaped in core/modules/simpletest/src/AssertContentTrait.php
Passes if the raw text IS NOT found escaped on the loaded page, fail otherwise.
AssertContentTrait::assertNoPattern in core/modules/simpletest/src/AssertContentTrait.php
Triggers a pass if the perl regex pattern is not found in raw content.
AssertContentTrait::assertNoRaw in core/modules/simpletest/src/AssertContentTrait.php
Passes if the raw text is NOT found on the loaded page, fail otherwise.

... See full list

File

core/modules/simpletest/src/AssertContentTrait.php, line 55
Contains \Drupal\simpletest\AssertContentTrait.

Class

AssertContentTrait
Provides test methods to assert content.

Namespace

Drupal\simpletest

Code

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