42 calls to KernelTestBase::render()

AggregatorTitleTest::testStringFormatter in core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php
Tests the formatter output.
AreaOrderTest::testAreaOrder in core/modules/views/tests/src/Kernel/Handler/AreaOrderTest.php
Tests the order of the handlers.
BooleanFormatterTest::renderEntityFields in core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php
Renders fields of a given entity with a given display.
ClassyTest::testClassyTheme in core/modules/system/tests/src/Kernel/Render/ClassyTest.php
Test the classy theme.
DatetimeElementFormTest::testDatetimeElement in core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
Tests that default handlers are added even if custom are specified.
DatetimeElementFormTest::testTimezoneHandling in core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
Tests proper timezone handling of the Datetime element.
DisplayApiTest::testFieldEmpty in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Tests that the prepareView() formatter method still fires for empty values.
DisplayApiTest::testFieldItemListView in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Tests the FieldItemListInterface::view() method.
DisplayApiTest::testFieldItemView in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Tests the FieldItemInterface::view() method.
EntityReferenceFormatterTest::testEntityReferenceRecursiveProtectionWithManyRenderedEntities in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
Renders the same entity referenced from different places.
FieldAttachOtherTest::testEntityDisplayBuild in core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
Test rendering fields with EntityDisplay build().
FormElementLabelTest::testAttributes in core/modules/system/tests/src/Kernel/Form/FormElementLabelTest.php
Ensures that attributes can be placed for form element label.
FormElementMaxlengthTest::testAttributes in core/modules/system/tests/src/Kernel/Form/FormElementMaxlengthTest.php
Ensures maxlength attribute can be used in compatible elements.
FormElementsRenderTest::assertRenderedElement in core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
Tests that elements are rendered properly.
ImageTest::testThemeImageWithSizes in core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php
Tests that an image with the sizes attribute is output correctly.
ImageTest::testThemeImageWithSrc in core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php
Tests that an image with the src attribute is output correctly.
ImageTest::testThemeImageWithSrcsetMultiplier in core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php
Tests that an image with the srcset and multipliers is output correctly.
ImageTest::testThemeImageWithSrcsetWidth in core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php
Tests that an image with the srcset and widths is output correctly.
LayoutBuilderCompatibilityTestBase::assertFieldAttributes in core/modules/layout_builder/tests/src/Kernel/LayoutBuilderCompatibilityTestBase.php
Asserts that the rendered entity has the correct fields.
LayoutTest::render in core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php
Renders a render array.
MessageTest::testMessages in core/tests/Drupal/KernelTests/Core/Theme/MessageTest.php
Tests setting messages output.
RawStringFormatterTest::renderEntityFields in core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
Renders fields of a given entity with a given display.
RenderTest::testRenderChildren in core/tests/Drupal/KernelTests/Core/Render/RenderTest.php
Ensures that render array children are processed correctly.
RowEntityTest::testEntityRow in core/modules/views/tests/src/Kernel/Plugin/RowEntityTest.php
Tests the entity row handler.
StringFormatterTest::renderEntityFields in core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
Renders fields of a given entity with a given display.
TableTest::testThemeTableFooter in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Test that the 'footer' option works correctly.
TableTest::testThemeTableHeaderCellOption in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests that the 'header' option in cells works correctly.
TableTest::testThemeTableHeaderRenderArray in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests header elements with a mix of string and render array values.
TableTest::testThemeTableNoStickyHeaders in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
If $sticky is FALSE, no tableheader.js should be included.
TableTest::testThemeTableNotResponsiveHeaders in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests that the 'responsive-table' class is not applied without headers.
TableTest::testThemeTableNotResponsiveProperty in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests that 'responsive-table' class only applied when responsive is TRUE.
TableTest::testThemeTableResponsive in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests that the 'responsive-table' class is applied correctly.
TableTest::testThemeTableResponsivePriority in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests 'priority-medium' and 'priority-low' classes.
TableTest::testThemeTableRowRenderArray in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests row elements with a mix of string and render array values.
TableTest::testThemeTableStickyHeaders in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tableheader.js provides 'sticky' table headers, and is included by default.
TableTest::testThemeTableTitle in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests that the select/checkbox label is being generated and escaped.
TableTest::testThemeTableWithEmptyMessage in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests that the table header is printed correctly even if there are no rows, and that the empty text is displayed correctly.
TableTest::testThemeTableWithNoStriping in core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
Tests that the 'no_striping' option works correctly.
TextFormatElementFormTest::testTextFormatElement in core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
Tests that values are returned.
TimestampFormatterTest::renderEntityFields in core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
Renders fields of a given entity with a given display.
UserNameFormatterTest::renderEntityFields in core/modules/user/tests/src/Kernel/Field/UserNameFormatterTest.php
Renders fields of a given entity with a given display.
UuidFormatterTest::testUuidStringFormatter in core/modules/field/tests/src/Kernel/String/UuidFormatterTest.php
Tests string formatter output.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.