protected function AssertContentTrait::getRawContent in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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.
File
- core/
modules/ simpletest/ src/ AssertContentTrait.php, line 55 - Contains \Drupal\simpletest\AssertContentTrait.
Class
- AssertContentTrait
- Provides test methods to assert content.
Namespace
Drupal\simpletestCode
protected function getRawContent() {
return $this->content;
}