Home
last modified time | relevance | path

Searched refs:getFormats (Results 1 – 11 of 11) sorted by relevance

/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DMessageFormatTest.java80 assertTrue("Wrong locale2", format.getFormats()[0].equals(DateFormat in test_ConstructorLjava_lang_StringLjava_util_Locale()
82 assertTrue("Wrong locale3", format.getFormats()[1].equals(NumberFormat in test_ConstructorLjava_lang_StringLjava_util_Locale()
84 assertTrue("Wrong locale4", format.getFormats()[2].equals(NumberFormat in test_ConstructorLjava_lang_StringLjava_util_Locale()
97 Format[] formats = format.getFormats(); in test_ConstructorLjava_lang_String()
184 assertNull("Wrong format", format.getFormats()[0]); in test_applyPatternLjava_lang_String()
188 assertTrue("Wrong time format", format.getFormats()[0] in test_applyPatternLjava_lang_String()
192 assertTrue("Wrong short time format", format.getFormats()[0] in test_applyPatternLjava_lang_String()
197 assertTrue("Wrong medium time format", format.getFormats()[0] in test_applyPatternLjava_lang_String()
202 assertTrue("Wrong long time format", format.getFormats()[0] in test_applyPatternLjava_lang_String()
209 assertTrue("Wrong full time format", format.getFormats()[0] in test_applyPatternLjava_lang_String()
[all …]
DChoiceFormatTest.java145 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), in test_applyPatternLjava_lang_String()
157 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), in test_applyPatternLjava_lang_String()
181 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(), in test_applyPatternLjava_lang_String()
301 String[] f = (String[]) f1.getFormats(); in test_getFormats()
402 assertTrue("Formats copied", f.getFormats() == fs); in test_setChoices$D$Ljava_lang_String()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DControlTest.java83 assertEquals(FORMAT_DEFAULT, subControl.getFormats("")); in test_Constructor()
212 assertEquals(FORMAT_CLASS, controlC.getFormats("")); in test_getNoFallbackControl_LList()
213 assertEquals(FORMAT_DEFAULT, control.getFormats("")); in test_getNoFallbackControl_LList()
214 assertEquals(FORMAT_PROPERTIES, controlP.getFormats("")); in test_getNoFallbackControl_LList()
279 assertEquals(FORMAT_DEFAULT, control.getFormats("")); in test_getFormats_LString()
280 assertEquals(FORMAT_PROPERTIES, controlP.getFormats("")); in test_getFormats_LString()
281 assertEquals(FORMAT_CLASS, controlC.getFormats("")); in test_getFormats_LString()
283 controlC.getFormats(null); in test_getFormats_LString()
DResourceBundleTest.java366 public List<String> getFormats(@SuppressWarnings("unused") in getFormats() method in ResourceBundleTest.GivenFormatsControl
382 public List<String> getFormats(@SuppressWarnings("unused") in getFormats() method in ResourceBundleTest.ReverseNoFallbackLocaleControl
/external/icu4c/test/intltest/
Dtchcfmt.cpp91 const UnicodeString *gotFormats=form->getFormats(count); in TestSimpleExample()
110 const UnicodeString *gotFormats=form->getFormats(count); in TestSimpleExample()
242 const UnicodeString* retFormats = fileform->getFormats( retCount ); in TestComplexExample()
Dtmsgfmt.cpp1203 const Format** formats = msg.getFormats(count); in testAdopt()
1204 const Format** formatsCmp = msgCmp.getFormats(countCmp); in testAdopt()
1237 formatsChg = msg.getFormats(countChg); // tested function in testAdopt()
1264 formatsAct = msg.getFormats(countAct); in testAdopt()
1322 formatsAct = msg.getFormats(countAct); in testAdopt()
1374 formatsAct = msg.getFormats(countAct); in testAdopt()
/external/icu4c/i18n/unicode/
Dchoicfmt.h352 virtual const UnicodeString* getFormats(int32_t& count) const;
Dmsgfmt.h615 virtual const Format** getFormats(int32_t& count) const;
/external/icu4c/i18n/
Dchoicfmt.cpp365 ChoiceFormat::getFormats(int32_t& cnt) const in getFormats() function in ChoiceFormat
Ducurr.cpp774 fmt.getFormats(fmt_count); in getCurrencyNameCount()
897 const UnicodeString* formats = fmt.getFormats(fmt_count); in collectCurrencyNames()
Dmsgfmt.cpp788 MessageFormat::getFormats(int32_t& cnt) const in getFormats() function in MessageFormat