51 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.
ClaroVerticalTabsTest::testVerticalTabs in core/tests/Drupal/KernelTests/Core/Theme/ClaroVerticalTabsTest.php
Confirms that Claro can render vertical tabs correctly.
ClassyTest::testClassyTheme in core/themes/classy/tests/src/Kernel/ClassyTest.php
Tests the classy theme.
DatelistElementFormTest::testDatelistElement in core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
Tests that trusted callbacks are executed.
DatelistElementFormTest::testDatelistElementUntrustedCallbacks in core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
Tests that deprecations are raised if untrusted callbacks are used.
DatetimeElementFormTest::testDatetimeElement in core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
Tests that default handlers are added even if custom are specified.
DatetimeElementFormTest::testDatetimeElementUntrustedCallbacks in core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
Tests that deprecations are raised if untrusted callbacks are used.
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.
ElementsFieldsetTest::testFieldsetDescriptions in core/modules/system/tests/src/Kernel/Form/ElementsFieldsetTest.php
Tests different display options for fieldset element descriptions.
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
Tests 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.
MachineNameTest::testMachineNameOrderException in core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php
Tests the order of the machine name field and the source.
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
Tests 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 the display of the table header.
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.
UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageNoDblog in core/modules/update/tests/src/Kernel/UpdateReportTest.php
Tests the error message when failing to fetch data without dblog enabled.
UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageWithDblog in core/modules/update/tests/src/Kernel/UpdateReportTest.php
Tests the error message when failing to fetch data with dblog enabled.
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.
ViewsTemplateTest::testThemeSuggestionsContainerAlter in core/modules/views/tests/src/Kernel/ViewsTemplateTest.php
@covers views_theme_suggestions_container_alter().

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