mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-11 08:01:32 +00:00
ICU-4767 fixes for noDataCheck
X-SVN-Rev: 18657
This commit is contained in:
parent
64b0786af5
commit
1437101edb
2 changed files with 8 additions and 2 deletions
|
@ -1023,6 +1023,10 @@ public final class ICUResourceBundleTest extends TestFmwk {
|
|||
if(i!=4){
|
||||
errln("Did not get the expected number of keys");
|
||||
}
|
||||
UResourceBundle bundle4 = UResourceBundle.getBundleInstance(baseName,"fr_Latn_FR");
|
||||
if(bundle==null){
|
||||
errln("Could not load bundle fr_Latn_FR");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -41,11 +41,14 @@ public class LocaleAliasTest extends com.ibm.icu.dev.test.TestFmwk {
|
|||
};
|
||||
|
||||
private static final int _LOCALE_NUMBER = _LOCALES.length;
|
||||
private static final ULocale[] available = ULocale.getAvailableLocales();
|
||||
private static ULocale[] available = null;
|
||||
private HashMap availableMap = new HashMap();
|
||||
private static final ULocale _DEFAULT_LOCALE = ULocale.US;
|
||||
|
||||
public LocaleAliasTest(){
|
||||
}
|
||||
protected void init(){
|
||||
available = ULocale.getAvailableLocales();
|
||||
for(int i=0; i<available.length;i++){
|
||||
availableMap.put(available[i].toString(),"");
|
||||
}
|
||||
|
@ -53,7 +56,6 @@ public class LocaleAliasTest extends com.ibm.icu.dev.test.TestFmwk {
|
|||
public static void main(String[] args) {
|
||||
new LocaleAliasTest().run(args);
|
||||
}
|
||||
|
||||
public void TestCalendar() {
|
||||
ULocale defLoc = ULocale.getDefault();
|
||||
ULocale.setDefault(_DEFAULT_LOCALE);
|
||||
|
|
Loading…
Add table
Reference in a new issue