]> granicus.if.org Git - icu/commitdiff
ICU-9843 Remove testing of default from ICUResourceBundleTest/TestGetWithFallback
authorJennifer Chye <jchye@users.noreply.github.com>
Wed, 16 Jan 2013 22:42:08 +0000 (22:42 +0000)
committerJennifer Chye <jchye@users.noreply.github.com>
Wed, 16 Jan 2013 22:42:08 +0000 (22:42 +0000)
X-SVN-Rev: 33058

icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java

index 3c1f843ee3922bd77f9df1abe9f7d9ce46dd577f..b80b205980f4681a0f511636eb0f6efadbfd97f3 100644 (file)
@@ -1,6 +1,6 @@
 /**
  *******************************************************************************
- * Copyright (C) 2001-2012, International Business Machines Corporation and    *
+ * Copyright (C) 2001-2013, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -653,12 +653,10 @@ public final class ICUResourceBundleTest extends TestFmwk {
         }
         ICUResourceBundle b2 = b1.getWithFallback(defaultCal);
         ICUResourceBundle b3 = b2.getWithFallback("monthNames");
-        String defaultContext = b3.getStringWithFallback("default");
-        ICUResourceBundle b4 = b3.getWithFallback(defaultContext);
-        String defaultWidth  = b4.getStringWithFallback("default");
-        ICUResourceBundle b5 = b4.getWithFallback(defaultWidth);
+        ICUResourceBundle b4 = b3.getWithFallback("format");
+        ICUResourceBundle b5 = b4.getWithFallback("narrow");
         if(b5.getSize()!=12){
-            errln("Did not get the expected size for the default monthNames");
+            errln("Did not get the expected size for the monthNames");
         }
     }