41 calls to AssertContentTrait::assertRaw()

AggregatorTestBase::deleteFeed in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Deletes an aggregator feed.
AggregatorTestBase::deleteFeedItems in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Confirms an item removal from a feed.
AreaResultTest::testResultEmpty in core/modules/views/tests/src/Kernel/Handler/AreaResultTest.php
Tests the results area handler.
BooleanFormatterTest::testBooleanFormatter in core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php
Tests boolean formatter output.
BrokenSetUpTest::testMethod in core/modules/simpletest/src/Tests/BrokenSetUpTest.php
Runs this test case from within the simpletest child site.
CommentTestBase::performCommentOperation in core/modules/comment/src/Tests/CommentTestBase.php
Performs the specified operation on the specified comment.
ContentTranslationUITestBase::doTestBasicTranslation in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests the basic translation workflow.
ContentTranslationUITestBase::doTestTranslationEdit in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests edit content translation.
DisplayApiTest::testFieldItemListView in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Tests the FieldItemListInterface::view() method.
ExceptionHandlingTest::testExceptionEscaping in core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php
Tests exception message escaping.
FieldAttachOtherTest::testEntityDisplayBuild in core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
Test rendering fields with EntityDisplay build().
FormActionXssTest::testFormActionXss in core/tests/Drupal/KernelTests/Core/Form/FormActionXssTest.php
Tests form action attribute for XSS.
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.
LinkGenerationTest::testHookLinkAlter in core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php
Tests how hook_link_alter() can affect escaping of the link text.
MessageTest::testMessages in core/tests/Drupal/KernelTests/Core/Theme/MessageTest.php
Tests setting messages output.
MissingCheckedRequirementsTest::testCheckRequirements in core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php
Ensures test will not run when requirements are missing.
RawStringFormatterTest::testStringFormatter in core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
Tests string formatter output.
StringFormatterTest::testStringFormatter in core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
Tests string formatter output.
SummaryLengthTest::testSummaryLength in core/modules/node/tests/src/Kernel/SummaryLengthTest.php
Tests the node summary length functionality.
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::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.
TextFormatElementFormTest::testTextFormatElement in core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php
Tests that values are returned.
TimestampFormatterTest::testTimestampAgoFormatter in core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
Tests TimestampAgoFormatter.
TimestampFormatterTest::testTimestampFormatter in core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
Tests TimestampFormatter.
TwigFilterTest::testTwigWithoutFilter in core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php
Test Twig "without" filter.
TwigRawTest::testAutoescapeRaw in core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php
Tests the raw filter inside an autoescape tag.
UpdateTestBase::standardTests in core/modules/update/src/Tests/UpdateTestBase.php
Runs a series of assertions that are applicable to all update statuses.
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.
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.

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