46 calls to AssertContentTrait::setRawContent()
- AddFeedTest::testBasicFeedAddNoTitle in core/
modules/ system/ tests/ src/ Kernel/ Common/ AddFeedTest.php - Tests attaching feeds with paths, URLs, and titles.
- AreaEmptyTest::testRenderEmptyHeaderFooter in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaEmptyTest.php - Tests that the header and footer areas are not rendered if empty.
- AreaEntityTest::doTestRender in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaEntityTest.php - Tests rendering the entity area handler.
- AreaMessagesTest::testMessageText in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaMessagesTest.php - Tests the messages area handler.
- AreaResultTest::testResult in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaResultTest.php - Tests the results area handler.
- AreaResultTest::testResultEmpty in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaResultTest.php - Tests the results area handler.
- AssertContentTraitTest::testGetTextContent in core/
tests/ Drupal/ Tests/ Core/ Test/ AssertContentTraitTest.php - @covers ::getTextContent
- 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.
- DisplayPageTest::testEmptyRow in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ DisplayPageTest.php - Tests the templates with empty rows.
- DisplayPageTest::testReadMore in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ DisplayPageTest.php - Tests the readmore functionality.
- 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.
- ExposedFormRenderTest::testExposedFormRender in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ ExposedFormRenderTest.php - Tests the exposed form markup.
- ExternalFormUrlTest::testActionUrlBehavior in core/
tests/ Drupal/ KernelTests/ Core/ Form/ ExternalFormUrlTest.php - Tests form behavior.
- FieldDisplayTest::testFieldVisualHidden in core/
modules/ field/ tests/ src/ Kernel/ FieldDisplayTest.php - Tests that visually hidden works with core.
- FieldFieldAccessTestBase::assertFieldAccess in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldFieldAccessTestBase.php - Checks views field access for a given entity type and field name.
- FieldFieldTest::testFieldApiClassesRender in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldFieldTest.php - Tests the result of a view field with field_api_classes enabled.
- FormActionXssTest::testFormActionXss in core/
tests/ Drupal/ KernelTests/ Core/ Form/ FormActionXssTest.php - Tests form action attribute for XSS.
- HistoryTimestampTest::testHandlers in core/
modules/ history/ tests/ src/ Kernel/ Views/ HistoryTimestampTest.php - Tests the handlers.
- 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.
- MediaEmbedFilterTest::testFilterIntegration in core/
modules/ media/ tests/ src/ Kernel/ MediaEmbedFilterTest.php - @covers \Drupal\filter\Plugin\Filter\FilterAlign @covers \Drupal\filter\Plugin\Filter\FilterCaption @dataProvider providerFilterIntegration
- MediaEmbedFilterTest::testMissingEntityIndicator in core/
modules/ media/ tests/ src/ Kernel/ MediaEmbedFilterTest.php - Tests the indicator for missing entities.
- MediaEmbedFilterTestBase::applyFilter in core/
modules/ media/ tests/ src/ Kernel/ MediaEmbedFilterTestBase.php - Applies the `media_embed` filter to text, pipes to raw content.
- MediaEmbedFilterTranslationTest::testTranslationSelection in core/
modules/ media/ tests/ src/ Kernel/ MediaEmbedFilterTranslationTest.php - Tests that the expected embedded media entity translation is selected.
- RenderCacheIntegrationTest::assertCacheTagsForFieldBasedView in core/
modules/ views/ tests/ src/ Kernel/ RenderCacheIntegrationTest.php - Tests cache tags on output & result cache items for a field-based view.
- RouteProviderTest::testAdminHtmlRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RouteProviderTest.php - @covers \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider::getEditFormRoute @covers \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider::getDeleteFormRoute
- RouteProviderTest::testHtmlRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RouteProviderTest.php - @covers \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider::getRoutes
- SummaryLengthTest::testSummaryLength in core/
modules/ node/ tests/ src/ Kernel/ SummaryLengthTest.php - Tests the node summary length functionality.
- TextFormatElementFormTest::testTextFormatElement in core/
modules/ filter/ tests/ src/ Kernel/ TextFormatElementFormTest.php - Tests that values are returned.
- TwigFilterTest::testTwigWithoutFilter in core/
modules/ system/ tests/ src/ Kernel/ Theme/ TwigFilterTest.php - Tests Twig "without" filter.
- TwigNamespaceTest::testTwigNamespaces in core/
modules/ system/ tests/ src/ Kernel/ Theme/ TwigNamespaceTest.php - Tests template extension and includes using namespaces.
- TwigRawTest::testAutoescape in core/
modules/ system/ tests/ src/ Kernel/ Theme/ TwigRawTest.php - Tests autoescaping of unsafe content.
- TwigRawTest::testAutoescapeRaw in core/
modules/ system/ tests/ src/ Kernel/ Theme/ TwigRawTest.php - Tests the raw filter inside an autoescape tag.
- TwigWhiteListTest::testWhiteListChaining in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigWhiteListTest.php - Tests white-listing of methods doesn't interfere with chaining.
- UserFieldsTest::testUserFields in core/
modules/ user/ tests/ src/ Kernel/ UserFieldsTest.php - Tests account's available fields.
- ViewElementTest::testViewElement in core/
modules/ views/ tests/ src/ Kernel/ ViewElementTest.php - Tests the rendered output and form output of a view element.
- ViewElementTest::testViewElementEmbed in core/
modules/ views/ tests/ src/ Kernel/ ViewElementTest.php - Tests the rendered output and form output of the "embed" display plugin.
- ViewsHooksTest::testViewsFormMainFormPreRender in core/
modules/ views/ tests/ src/ Kernel/ ViewsHooksTest.php - Tests how hook_views_form_substitutions() makes substitutions.
- WhoIsOnlineBlockTest::testWhoIsOnlineBlock in core/
modules/ user/ tests/ src/ Kernel/ WhoIsOnlineBlockTest.php - Tests the Who's Online block.
- WorkspaceIntegrationTest::assertWorkspaceStatus in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceIntegrationTest.php - Checks entity load, entity queries and views results for a test scenario.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.