From: Jennifer Chye Date: Wed, 16 Jan 2013 22:42:08 +0000 (+0000) Subject: ICU-9843 Remove testing of default from ICUResourceBundleTest/TestGetWithFallback X-Git-Tag: milestone-59-0-1~3209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff799e64462fbfa9bed520ee9f1c98fc5b558095;p=icu ICU-9843 Remove testing of default from ICUResourceBundleTest/TestGetWithFallback X-SVN-Rev: 33058 --- diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java index 3c1f843ee39..b80b205980f 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java @@ -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"); } }