56 calls to AssertContentTrait::setRawContent() in Drupal 8
- 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.
- BlockViewBuilderTest::testBlockViewBuilderViewAlter in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Tests block view altering.
- BrowserTest::testXPathEscaping in core/
modules/ simpletest/ src/ Tests/ BrowserTest.php - Tests XPath escaping.
- 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 - Test the username formatter.
- DateTestBase::renderTestEntity in core/
modules/ datetime/ src/ Tests/ DateTestBase.php - Renders a entity_test and sets the output in the internal browser.
- 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 - Test 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.
- FieldRdfaTestBase::assertFormatterRdfa in core/
modules/ rdf/ tests/ src/ Kernel/ Field/ FieldRdfaTestBase.php - Helper function to test the formatter's RDFa.
- 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.
- KernelTestBase::render in core/
modules/ simpletest/ src/ 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 `@Filter=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.
- QuickEditLoadingTest::testDisplayOptions in core/
modules/ quickedit/ tests/ src/ Kernel/ QuickEditLoadingTest.php - Tests that Quick Edit doesn't make fields rendered with display options editable.
- RelationshipTest::testRelationshipRender in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipTest.php - Tests rendering of a view with a relationship.
- RenderCacheIntegrationTest::assertCacheTagsForFieldBasedView in core/
modules/ views/ tests/ src/ Kernel/ RenderCacheIntegrationTest.php - Tests cache tags on output & result cache items for a field-based view.
- RESTTestBase::httpRequest in core/
modules/ rest/ src/ Tests/ RESTTestBase.php - Helper function to issue a HTTP request with simpletest's cURL.
- 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
- StyleGridTest::assertGrid in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ StyleGridTest.php - Generates a grid and asserts that it is displaying correctly.
- SummaryLengthTest::testSummaryLength in core/
modules/ node/ tests/ src/ Kernel/ SummaryLengthTest.php - Tests the node summary length functionality.
- TestClass::_setRawContent in core/
tests/ Drupal/ Tests/ Core/ Test/ AssertContentTraitTest.php - 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 - Test 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 a view element, using the embed display plugin.
- ViewsHooksTest::testViewsFormMainFormPreRender in core/
modules/ views/ tests/ src/ Kernel/ ViewsHooksTest.php - Tests how hook_views_form_substitutions() makes substitutions.
- ViewsHooksTest::testViewsPreRenderViewsFormViewsForm in core/
modules/ views/ tests/ src/ Kernel/ ViewsHooksTest.php - Tests views_pre_render_views_form_views_form() deprecation.
- WebTestBase::curlExec in core/
modules/ simpletest/ src/ WebTestBase.php - Initializes and executes a cURL request.
- WebTestBase::drupalProcessAjaxResponse in core/
modules/ simpletest/ src/ WebTestBase.php - Processes an AJAX response into current content.
- WhosOnlineBlockTest::testWhosOnlineBlock in core/
modules/ user/ tests/ src/ Kernel/ WhosOnlineBlockTest.php - Test 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.