harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "spark shen (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1146) [classlib][luni] java.util.Locale lacks of country and language data
Date Fri, 11 Aug 2006 03:10:13 GMT
[classlib][luni] java.util.Locale lacks of country and language data
--------------------------------------------------------------------

                 Key: HARMONY-1146
                 URL: http://issues.apache.org/jira/browse/HARMONY-1146
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: spark shen
            Priority: Minor


The following test cases will demonstrate.
Testcase

public void test_getISO3Language() {
        Locale l_CountryCS = new Locale("", "CS"); 
        assertEquals("SCG", l_CountryCS.getISO3Country()); 
}

public void test_getDisplayCountry() {
        Locale l_countryCD = new Locale("", "CD"); 
        assertEquals("The Democratic Republic Of Congo", 
                l_countryCD.getDisplayCountry()); 
}

public void test_getDisplayLanguage() {
        Locale l_languageAE = new Locale("ae", ""); 
        assertEquals("Avestan", l_languageAE.getDisplayLanguage()); 
}

Result:       RI passed
              Harmony failed

I will attach a patch to fix this problem.

Best regards
Spark Shen

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message