18 calls to AssertContentTrait::setRawContent()
- BlockViewBuilderTest::testBlockViewBuilderViewAlter in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Tests block view altering.
- CommentAdminViewTest::doTestFilters in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentAdminViewTest.php - Tests comment admin view display.
- CommentUserNameTest::testUsername in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentUserNameTest.php - Tests the username formatter.
- EntityViewHookTest::testHookEntityDisplayBuildAlter in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewHookTest.php - Tests hook_entity_display_build_alter().
- ExceptionHandlingTest::testExceptionEscaping in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ ExceptionHandlingTest.php - Tests exception message escaping.
- ExternalFormUrlTest::testActionUrlBehavior in core/
tests/ Drupal/ KernelTests/ Core/ Form/ ExternalFormUrlTest.php - Tests form behavior.
- FormActionXssTest::testFormActionXss in core/
tests/ Drupal/ KernelTests/ Core/ Form/ FormActionXssTest.php - Tests form action attribute for XSS.
- ImageThemeFunctionTest::testImageAltFunctionality in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests image alt attribute functionality.
- ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageStyleTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image style theme function.
- KernelTestBase::render in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Renders a render array.
- LinkGenerationTest::testHookLinkAlter in core/
tests/ Drupal/ KernelTests/ Core/ Url/ LinkGenerationTest.php - Tests how hook_link_alter() can affect escaping of the link text.
- QuickEditLoadingTest::testDisplayOptions in core/
modules/ quickedit/ tests/ src/ Kernel/ QuickEditLoadingTest.php - Tests that fields rendered with display options are not editable.
- RouteProviderTest::testAdminHtmlRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RouteProviderTest.php - @covers \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider::getEditFormRoute[[api-linebreak]] @covers \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider::getDeleteFormRoute[[api-linebreak]]
- RouteProviderTest::testHtmlRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RouteProviderTest.php - @covers \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider::getRoutes[[api-linebreak]]
- TestClass::_setRawContent in core/
tests/ Drupal/ Tests/ Core/ Test/ AssertContentTraitTest.php - UserFieldsTest::testUserFields in core/
modules/ user/ tests/ src/ Kernel/ UserFieldsTest.php - Tests account's available fields.
- WhosOnlineBlockTest::testWhosOnlineBlock in core/
modules/ user/ tests/ src/ Kernel/ WhosOnlineBlockTest.php - Tests the Who's Online block.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.