Search for assert

  1. Search 7.x for assert
  2. Search 9.5.x for assert
  3. Search 10.3.x for assert
  4. Search 11.x for assert
  5. Other projects
Title Object type File name Summary
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.
MigrateLanguageContentTaxonomyVocabularySettingsTest::assertLanguageContentSettings function core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentTaxonomyVocabularySettingsTest.php Asserts a content language settings configuration.
MigrateLanguageContentTaxonomyVocabularySettingsTest::assertLanguageContentSettings function core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentTaxonomyVocabularySettingsTest.php Asserts a content language settings configuration.
MigrateLanguageTest::assertLanguage function core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageTest.php Asserts various properties of a configurable language entity.
MigrateMenuLinkTest::assertEntity function core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTest.php Asserts various aspects of a menu link entity.
MigrateMenuLinkTest::assertEntity function core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php Asserts various aspects of a menu link entity.
MigrateMenuTest::assertEntity function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTest.php Asserts various aspects of a menu.
MigrateNodeCompleteTest::assertRevision function core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeCompleteTest.php Asserts various aspects of a node revision.
MigrateNodeCompleteTest::assertRevision function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeCompleteTest.php Asserts various aspects of a node revision.
MigrateNodeCounterTest::assertNodeCounter function core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php Asserts various aspects of a node counter.
MigrateNodeCounterTest::assertNodeCounter function core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php Asserts various aspects of a node counter.
MigrateNodeRevisionTest::assertRevision function core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeRevisionTest.php Asserts various aspects of a node revision.
MigrateNodeRevisionTest::assertRevision function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeRevisionTest.php Asserts various aspects of a node revision.
MigrateNodeTest::assertEntity function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php Asserts various aspects of a node.
MigrateNodeTest::assertRevision function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php Asserts various aspects of a node revision.
MigrateNodeTitleLabelTest::assertEntity function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php Asserts various aspects of a base_field_override entity.
MigrateNodeTypeTest::assertEntity function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php Tests a single node type.
MigrateRdfMappingTest::assertRdfMapping function core/modules/rdf/tests/src/Kernel/Migrate/d7/MigrateRdfMappingTest.php Asserts various aspects of a RDF mapping.
MigrateSearchPageTest::assertEntity function core/modules/search/tests/src/Kernel/Migrate/d7/MigrateSearchPageTest.php Asserts various aspects of an SearchPage entity.
MigrateShortcutSetTest::assertEntity function core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php Asserts various aspects of a shortcut set entity.
MigrateShortcutTest::assertEntity function core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutTest.php Asserts various aspects of a shortcut entity.
MigrateTaxonomyTermTest::assertEntity function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php Validate a migrated term contains the expected values.
MigrateTaxonomyTermTest::assertHierarchy function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php Assert that a term is present in the tree storage, with the right parents.
MigrateTaxonomyTermTranslationTest::assertEntity function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTranslationTest.php Validates a migrated term contains the expected values.
MigrateTaxonomyTermTranslationTest::assertEntity function core/modules/content_translation/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTranslationTest.php Validate a migrated term contains the expected values.
MigrateTaxonomyTermTranslationTest::assertHierarchy function core/modules/content_translation/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTranslationTest.php Assert that a term is present in the tree storage, with the right parents.
MigrateTaxonomyTermTranslationTest::assertHierarchy function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTranslationTest.php Asserts that a term is present in the tree storage, with the right parents.
MigrateTaxonomyVocabularyTest::assertEntity function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyVocabularyTest.php Validate a migrated vocabulary contains the expected values.
MigrateTermLocalizedTranslationTest::assertEntity function core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermLocalizedTranslationTest.php Validates a migrated term contains the expected values.
MigrateTermLocalizedTranslationTest::assertEntity function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTermLocalizedTranslationTest.php Validates a migrated term contains the expected values.
MigrateTermLocalizedTranslationTest::assertHierarchy function core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermLocalizedTranslationTest.php Asserts that a term is present in the tree storage, with the right parents.
MigrateTermLocalizedTranslationTest::assertHierarchy function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTermLocalizedTranslationTest.php Asserts that a term is present in the tree storage, with the right parents.
MigrateTestCase::retrievalAssertHelper function core/modules/migrate/tests/src/Unit/MigrateTestCase.php Asserts tested values during test retrieval.
MigrateUpgradeFormStepsTest::assertFirstForm function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php Helper to test that a path goes to the Overview form.
MigrateUpgradeTestBase::assertIdConflict function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php Helper method that asserts text on the ID conflict form.
MigrateUpgradeTestBase::assertMigrationResults function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php Checks that migrations have been performed successfully.
MigrateUpgradeTestBase::assertReviewPage function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php Helper method to assert the text on the 'Upgrade analysis report' page.
MigrateUpgradeTestBase::assertUpgradePaths function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php Tests the displayed upgrade paths.
MigrateUrlAliasTest::assertPath function core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php Asserts that a path alias matches a set of conditions.
MigrateUserPictureD6FileTest::assertEntity function core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureD6FileTest.php Asserts a file entity.
MigrateUserRoleTest::assertEntity function core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserRoleTest.php Asserts aspects of a user role config entity.
MigrateUserRoleTest::assertRole function core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php Helper function to perform assertions on a user role.
MigrateUserRoleTest::assertRoles function core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php Helper function to test the migration of the user roles. The user roles
will be re-imported and the tests here will be repeated.

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