@Test public void testGetCountryNameString() { assertEquals(Locale.US.getDisplayCountry(), LocationUtils.getCountryName( "US")); assertEquals(UNKNOWN_COUNTRY, LocationUtils.getCountryName(null)); assertEquals("XX", LocationUtils.getCountryName("XX")); }
@Deprecated static public String getCountryName(String countryCode) { return getCountryName(countryCode, Locale.getDefault()); }
LocationUtils { @Deprecated static public String getCountryName(String countryCode) { return getCountryName(countryCode, Locale.getDefault()); } }
LocationUtils { @Deprecated static public String getCountryName(String countryCode) { return getCountryName(countryCode, Locale.getDefault()); } private  LocationUtils(); }
LocationUtils { @Deprecated static public String getCountryName(String countryCode) { return getCountryName(countryCode, Locale.getDefault()); } private  LocationUtils(); static String getContinentCode(String countryCode); @Deprecated static String getContinentName(String continentCode); static String getContinentName(String continentCode, Locale locale); @Deprecated static String getCountryName(String countryCode); static String getCountryCode(String countryName); static String getCountryName(String countryCode, Locale locale); }
LocationUtils { @Deprecated static public String getCountryName(String countryCode) { return getCountryName(countryCode, Locale.getDefault()); } private  LocationUtils(); static String getContinentCode(String countryCode); @Deprecated static String getContinentName(String continentCode); static String getContinentName(String continentCode, Locale locale); @Deprecated static String getCountryName(String countryCode); static String getCountryCode(String countryName); static String getCountryName(String countryCode, Locale locale);  }