You are here

function CountriesBaseSetupTest::getNonStandardCountriesCorrected in Countries 7.2

Same name and namespace in other branches
  1. 8 tests/countries.test \CountriesBaseSetupTest::getNonStandardCountriesCorrected()

The valid list if ISO strings

2 calls to CountriesBaseSetupTest::getNonStandardCountriesCorrected()
CountriesBaseImportUnitTest::testCountriesCoreListingImport in tests/countries.test
Tests the import routines.
CountriesBaseImportUnitTest::testCountriesCoreListingPreImport in tests/countries.test
This browes the list of countries returned by Drupal to ensure that the module is correctly updating this.

File

tests/countries.test, line 113
Tests for countries.module.

Class

CountriesBaseSetupTest
Test the node_load_multiple() function.

Code

function getNonStandardCountriesCorrected() {
  return array(
    'AX' => t('Åland Islands'),
    'BN' => t('Brunei Darussalam'),
    'BO' => t('Bolivia, Plurinational State of'),
    'CD' => t('Congo, The Democratic Republic of the'),
    'CG' => t('Congo'),
    'CI' => t("Côte d'Ivoire"),
    'FK' => t('Falkland Islands (Malvinas)'),
    'FM' => t('Micronesia, Federated States of'),
    'HK' => t('Hong Kong'),
    'IR' => t('Iran, Islamic Republic of'),
    'KP' => t("Korea, Democratic People's Republic of"),
    'KR' => t('Korea, Republic of'),
    'LA' => t("Lao People's Democratic Republic"),
    'MD' => t('Moldova, Republic of'),
    'MK' => t('Macedonia, The Former Yugoslav Republic of'),
    'MO' => t('Macao'),
    'PS' => t('Palestine, State of'),
    'RE' => t('Réunion'),
    'RU' => t('Russian Federation'),
    'SH' => t('Saint Helena, Ascension and Tristan da Cunha'),
    'ST' => t('São Tomé and Príncipe'),
    'SY' => t('Syrian Arab Republic'),
    'TW' => t('Taiwan, Province of China'),
    'TZ' => t('Tanzania, United Republic of'),
    'VA' => t('Holy See (Vatican City State)'),
    'VE' => t('Venezuela, Bolivarian Republic of'),
    'VG' => t('Virgin Islands, British'),
    'VI' => t('Virgin Islands, U.S.'),
    'VN' => t('Viet Nam'),
  );
}