Search for assert

  1. Search 7.x for assert
  2. Search 9.5.x for assert
  3. Search 8.9.x for assert
  4. Search 10.3.x for assert
  5. Other projects
Title Object type File name Summary
MediaUiReferenceWidgetTest::assertHelpTexts function core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php Asserts that the given texts are present exactly once.
MediaUiReferenceWidgetTest::assertNoHelpLink function core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php Asserts that a given link is not present.
MediaUiReferenceWidgetTest::assertNoHelpTexts function core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php Asserts that none of the given texts are present.
MenuAccessTest::assertMenuItemRoutesAccess function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Asserts route requests connected to menu items have the expected access.
MenuAccessTest::assertUserRoutesAccess function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Asserts which routes a user has access to.
MenuLinksTest::assertMenuLinkParents function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Assert that at set of links is properly parented.
MenuTreeStorageTest::assertMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests that a link's stored representation matches the expected values.
MenuUiNodeTypeTest::assertMenuNamesAreSorted function core/modules/menu_ui/tests/src/Kernel/MenuUiNodeTypeTest.php Asserts that the available menu names are sorted alphabetically by label.
MenuUiTrait::assertMenuLink function core/modules/menu_ui/tests/src/Traits/MenuUiTrait.php Asserts that a menu fetched from the database matches an expected one.
MessageCommandTest::assertAnnounceContains function core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php Checks for inclusion of text in #drupal-live-announce.
MessageCommandTest::assertAnnounceNotContains function core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php Checks for absence of the given text from #drupal-live-announce.
MessageCommandTest::testJsStatusMessageAssertions function core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php Tests methods in JsWebAssert related to status messages.
MigrateActionsTest::assertEntity function core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php Asserts various aspects of an Action entity.
MigrateActionsTest::assertEntity function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php Asserts various aspects of an Action entity.
MigrateBlockContentEntityDisplayTest::assertDisplay function core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityDisplayTest.php Asserts a display entity.
MigrateBlockContentEntityFormDisplayTest::assertDisplay function core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityFormDisplayTest.php Asserts a display entity.
MigrateBlockNoBlockContentTest::assertEntity function core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockNoBlockContentTest.php Asserts various aspects of a block.
MigrateBlockTest::assertEntity function core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php Asserts various aspects of a block.
MigrateBlockTest::assertEntity function core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockTest.php Asserts various aspects of a block.
MigrateBlockTest::assertEntity function core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php Asserts various aspects of a block.
MigrateCommentEntityDisplayTest::assertDisplay function core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityDisplayTest.php Asserts various aspects of a comment component in an entity view display.
MigrateCommentEntityDisplayTest::assertDisplay function core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityDisplayTest.php Asserts various aspects of a comment component in an entity view display.
MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible function core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php Asserts that the comment subject field is not visible for a node type.
MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible function core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php Asserts that the comment subject field is not visible for a node type.
MigrateCommentEntityFormDisplaySubjectTest::assertSubjectVisible function core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php Asserts that the comment subject field is visible for a node type.
MigrateCommentEntityFormDisplaySubjectTest::assertSubjectVisible function core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php Asserts that the comment subject field is visible for a node type.
MigrateCommentEntityFormDisplayTest::assertDisplay function core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php Asserts various aspects of a comment component in an entity form display.
MigrateCommentEntityFormDisplayTest::assertDisplay function core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php Asserts various aspects of a comment component in an entity form display.
MigrateCommentFieldInstanceTest::assertEntity function core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php Asserts a comment field instance entity.
MigrateCommentFieldInstanceTest::assertEntity function core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php Asserts a comment field instance entity.
MigrateCommentFieldTest::assertEntity function core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldTest.php Asserts a comment field entity.
MigrateCommentFieldTest::assertEntity function core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php Asserts a comment field entity.
MigrateCommentTypeTest::assertEntity function core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentTypeTest.php Asserts a comment type entity.
MigrateCommentTypeTest::assertEntity function core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentTypeTest.php Asserts a comment type entity.
MigrateContactCategoryTest::assertEntity function core/modules/contact/tests/src/Kernel/Migrate/MigrateContactCategoryTest.php Performs various assertions on a single contact form entity.
MigrateEntityContentBaseTest::assertTranslations function core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php Check the existing translations of an entity.
MigrateFieldFormatterSettingsTest::assertComponent function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php Asserts various aspects of a particular component of a view display.
MigrateFieldFormatterSettingsTest::assertComponentNotExists function core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php Asserts that a particular component is NOT included in a display.
MigrateFieldFormatterSettingsTest::assertComponentNotExists function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php Asserts that a particular component is NOT included in a display.
MigrateFieldFormatterSettingsTest::assertEntity function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php Asserts various aspects of a view display.
MigrateFieldInstanceTest::assertEntity function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceTest.php Asserts various aspects of a field config entity.
MigrateFieldInstanceTest::assertEntityReferenceFields function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceTest.php Asserts the settings of an entity reference field config entity.
MigrateFieldInstanceTest::assertLinkFields function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceTest.php Asserts the settings of a link field config entity.
MigrateFieldInstanceWidgetSettingsTest::assertComponent function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceWidgetSettingsTest.php Asserts various aspects of a particular component of a form display.
MigrateFieldInstanceWidgetSettingsTest::assertEntity function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceWidgetSettingsTest.php Asserts various aspects of a form display entity.
MigrateFieldTest::assertEntity function core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldTest.php Asserts various aspects of a field_storage_config entity.
MigrateFileTest::assertEntity function core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php Asserts a file entity.
MigrateFilterFormatTest::assertEntity function core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterFormatTest.php Asserts various aspects of a filter format entity.
MigrateImageCacheTest::assertImageEffect function core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php Assert that a given image effect is migrated.
MigrateImageStylesTest::assertEntity function core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageStylesTest.php Asserts various aspects of an ImageStyle entity.

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