MultilingualReviewPageTest.php

Same filename in this branch
  1. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
Same filename in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
  2. 9 core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
  3. 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d6/MultilingualReviewPageTest.php
  4. 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d7/MultilingualReviewPageTest.php
  5. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
  6. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
  7. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
  8. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d7

File

core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;

use Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase;
// cspell:ignore Filefield Flexslider Multiupload Imagefield rulesets

/**
 * Tests migrate upgrade review page for Drupal 7.
 *
 * Tests with translation modules enabled.
 *
 * @group migrate_drupal_7
 * @group migrate_drupal_ui
 */
class MultilingualReviewPageTest extends MultilingualReviewPageTestBase {
    
    /**
     * {@inheritdoc}
     */
    protected static $modules = [
        'datetime_range',
        'language',
        'content_translation',
        'telephone',
        'syslog',
        'update',
        // Test migrations states.
'migrate_state_finished_test',
        'migrate_state_not_finished_test',
    ];
    
    /**
     * {@inheritdoc}
     */
    protected function setUp() : void {
        parent::setUp();
        $this->loadFixture($this->getModulePath('migrate_drupal') . '/tests/fixtures/drupal7.php');
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getSourceBasePath() : string {
        return __DIR__ . '/files';
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getAvailablePaths() : array {
        return [
            'Block languages',
            'Blog',
            'Bulk Export',
            'Chaos tools',
            'Chaos Tools (CTools) AJAX Example',
            'Comment',
            'Contact',
            'Content translation',
            'Contextual links',
            'Custom content panes',
            'Custom rulesets',
            'Dashboard',
            'Database logging',
            'Date',
            'Date API',
            'Date All Day',
            'Date Context',
            'Date Migration',
            'Date Popup',
            'Date Repeat API',
            'Date Repeat Field',
            'Date Tools',
            'Date Views',
            'Email',
            'Entity API',
            'Entity Reference',
            'Entity Translation',
            'Entity feature module',
            'Entity tokens',
            'Field',
            'Field SQL storage',
            'Field UI',
            'File',
            'Filter',
            'Help',
            'Image',
            'Internationalization',
            'Link',
            'List',
            'Locale',
            'Menu',
            'Menu translation',
            'Multiupload Filefield Widget',
            'Multiupload Imagefield Widget',
            'Node',
            'Node Reference',
            'Number',
            'OpenID',
            'Overlay',
            'PHP filter',
            'Page manager',
            'Path',
            'Phone',
            'Poll',
            'Profile',
            'Search',
            'Search embedded form',
            'Shortcut',
            'String translation',
            'Stylizer',
            'Synchronize translations',
            'Syslog',
            'System',
            'Taxonomy translation',
            'Taxonomy',
            'Telephone',
            'Term Depth access',
            'Test search node tags',
            'Test search type',
            'Testing',
            'Text',
            'Title',
            'Toolbar',
            'Trigger',
            'Update manager',
            'User',
            'User Reference',
            'Views content panes',
            'Views UI',
        ];
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getMissingPaths() : array {
        return [
            // Action is set not_finished in migrate_state_not_finished_test.
'Aggregator',
            // Block is set not_finished in migrate_state_not_finished_test.
'Block',
            'Book',
            'Breakpoints',
            'Color',
            'Contact translation',
            'Entity Translation Menu',
            'Entity Translation Upgrade',
            'Field translation',
            // Flexslider_picture is a sub module of Picture module. Only the
            // styles from picture are migrated.
'FlexSlider Picture',
            'Forum',
            'Multilingual content',
            'Multilingual forum',
            'Multilingual select',
            // Options is set not_finished in migrate_state_not_finished_test.
'Options',
            'Path translation',
            'Picture',
            'RDF',
            'References',
            'References UUID',
            'Statistics',
            'Tracker',
            'Translation redirect',
            'Translation sets',
            'User mail translation',
            'Variable',
            'Variable admin',
            'Variable realm',
            'Variable store',
            'Variable translation',
            'Variable views',
            'Views',
            'migrate_status_active_test',
        ];
    }

}

Classes

Title Deprecated Summary
MultilingualReviewPageTest Tests migrate upgrade review page for Drupal 7.

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