function MigrateUpgradeTestBase::getEntityCounts

Same name in other branches
  1. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::getEntityCounts()
  2. 10 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::getEntityCounts()
  3. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::getEntityCounts()

Gets the expected number of entities per entity type after migration.

Return value

int[] An array of expected counts keyed by entity type ID.

1 call to MigrateUpgradeTestBase::getEntityCounts()
MigrateUpgradeExecuteTestBase::doUpgradeAndIncremental in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php
Executes an upgrade and then an incremental upgrade.
13 methods override MigrateUpgradeTestBase::getEntityCounts()
CredentialFormTest::getEntityCounts in core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php
Gets the expected number of entities per entity type after migration.
DoubleSlashTest::getEntityCounts in core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php
Gets the expected number of entities per entity type after migration.
FilePathTest::getEntityCounts in core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php
Gets the expected number of entities per entity type after migration.
IdConflictTest::getEntityCounts in core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php
Gets the expected number of entities per entity type after migration.
IdConflictTest::getEntityCounts in core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php
Gets the expected number of entities per entity type after migration.

... See full list

File

core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php, line 143

Class

MigrateUpgradeTestBase
Provides a base class for testing migration upgrades in the UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

protected abstract function getEntityCounts();

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