TestMigrateExecutable.php
Same filename in this branch
Same filename in other branches
- 8.9.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php
- 8.9.x core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
- 10 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php
- 10 core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
- 11.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php
- 11.x core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
Namespace
Drupal\Tests\migrate\KernelFile
-
core/
modules/ migrate/ tests/ src/ Kernel/ TestMigrateExecutable.php
View source
<?php
namespace Drupal\Tests\migrate\Kernel;
use Drupal\migrate\MigrateExecutable;
/**
* Tests MigrateExecutable.
*/
class TestMigrateExecutable extends MigrateExecutable {
/**
* {@inheritdoc}
*/
protected function getIdMap() {
// This adds test coverage that this works.
return new TestFilterIterator(parent::getIdMap());
}
/**
* {@inheritdoc}
*/
protected function getSource() {
// This adds test coverage that this works.
return new TestFilterIterator(parent::getSource());
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
TestMigrateExecutable | Tests MigrateExecutable. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.