You are here

function CountriesBaseSetupTest::getNonStandardCountries in Countries 7.2

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

These are the invalid strings in core.

2 calls to CountriesBaseSetupTest::getNonStandardCountries()
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 79
Tests for countries.module.

Class

CountriesBaseSetupTest
Test the node_load_multiple() function.

Code

function getNonStandardCountries() {
  return array(
    'AX' => t('Aland Islands'),
    'BN' => t('Brunei'),
    'BO' => t('Bolivia'),
    'CD' => t('Congo (Kinshasa)'),
    'CG' => t('Congo (Brazzaville)'),
    'CI' => t('Ivory Coast'),
    'FK' => t('Falkland Islands'),
    'FM' => t('Micronesia'),
    'IR' => t('Iran'),
    'KP' => t('North Korea'),
    'KR' => t('South Korea'),
    'LA' => t('Laos'),
    'MD' => t('Moldova'),
    'MK' => t('Macedonia'),
    'MO' => t('Macao S.A.R., China'),
    'PS' => t('Palestinian Territory'),
    'RE' => t('Reunion'),
    'RU' => t('Russia'),
    'SH' => t('Saint Helena'),
    'TW' => t('Taiwan'),
    'TZ' => t('Tanzania'),
    'VA' => t('Vatican'),
    'VE' => t('Venezuela'),
    'VG' => t('British Virgin Islands'),
    'VI' => t('U.S. Virgin Islands'),
    'VN' => t('Vietnam'),
  );
}