protected function AssertContentTrait::getRawContent in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/AssertContentTrait.php \Drupal\KernelTests\AssertContentTrait::getRawContent()
Gets the current raw content.
26 calls to AssertContentTrait::getRawContent()
- AssertContentTrait::assertEscaped in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if the raw text IS found escaped on the loaded page, fail otherwise.
- AssertContentTrait::assertNoEscaped in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if the raw text IS NOT found escaped on the loaded page, fail otherwise.
- AssertContentTrait::assertNoPattern in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Triggers a pass if the perl regex pattern is not found in raw content.
- AssertContentTrait::assertNoRaw in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if the raw text is NOT found on the loaded page, fail otherwise.
- AssertContentTrait::assertPattern in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Triggers a pass if the Perl regex pattern is found in the raw content.
File
- core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php, line 51
Class
- AssertContentTrait
- Provides test methods to assert content.
Namespace
Drupal\KernelTestsCode
protected function getRawContent() {
return $this->content;
}