You are here

public function LingotekLocaleTest::testConvertDrupal2Lingotek in Lingotek Translation 3.5.x

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

File

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

Class

LingotekLocaleTest
Tests LingotekLocale.

Namespace

Drupal\Tests\lingotek\Functional

Code

public function testConvertDrupal2Lingotek() {

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