You are here

protected property LanguageTest::$expectedResults in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/tests/src/Unit/Migrate/LanguageTest.php \Drupal\Tests\language\Unit\Migrate\LanguageTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/language/tests/src/Unit/Migrate/LanguageTest.php, line 59
Contains \Drupal\Tests\language\Unit\Migrate\LanguageTest.

Class

LanguageTest
@coversDefaultClass \Drupal\language\Plugin\migrate\source\Language @group language

Namespace

Drupal\Tests\language\Unit\Migrate

Code

protected $expectedResults = array(
  array(
    'language' => 'en',
    'name' => 'English',
    'native' => 'English',
    'direction' => '0',
    'enabled' => '1',
    'plurals' => '0',
    'formula' => '',
    'domain' => '',
    'prefix' => '',
    'weight' => '0',
    'javascript' => '',
  ),
  array(
    'language' => 'fr',
    'name' => 'French',
    'native' => 'Français',
    'direction' => '0',
    'enabled' => '0',
    'plurals' => '2',
    'formula' => '($n>1)',
    'domain' => '',
    'prefix' => 'fr',
    'weight' => '0',
    'javascript' => '',
  ),
);