You are here

public function LingotekLocaleTest::testConvertLingotek2Drupal in Lingotek Translation 3.3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  2. 4.0.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  3. 3.0.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  4. 3.1.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  5. 3.2.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  6. 3.4.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  7. 3.5.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  8. 3.6.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  9. 3.7.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()
  10. 3.8.x tests/src/Functional/LingotekLocaleTest.php \Drupal\Tests\lingotek\Functional\LingotekLocaleTest::testConvertLingotek2Drupal()

File

tests/src/Functional/LingotekLocaleTest.php, line 27

Class

LingotekLocaleTest
Tests LingotekLocale.

Namespace

Drupal\Tests\lingotek\Functional

Code

public function testConvertLingotek2Drupal() {

  // ToDo: Improve testing coverage.
  $this
    ->assertIdentical('zh_CN', LingotekLocale::convertDrupal2Lingotek('zh-hans'));
}