Home
last modified time | relevance | path

Searched refs:fmta (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1163 Formattable fmta; in testParse() local
1165 msg.parseObject( source, fmta, pp ); in testParse()
1170 fmta.getArray(count); in testParse()
1174 if ((fmta[0].getType() == Formattable::kString) in testParse()
1175 && (fmta[1].getType() == Formattable::kString) in testParse()
1176 && (fmta[0].getString(tmp1) == "abc") in testParse()
1177 && (fmta[1].getString(tmp2) == "def")) { in testParse()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java564 Object[] fmta; in TestParse() local
566 fmta = (Object[]) msg.parseObject( source, pp ); in TestParse()
570 if (fmta.length != 2) { in TestParse()
1038 Map fmta = (Map) msg.parseObject( source, pp ); in testParseNamedArguments() local
1042 if (fmta.keySet().size() != 2) { in testParseNamedArguments()
1045 assertEquals("parse()[0]", "abc", fmta.get("foo")); in testParseNamedArguments()
1046 assertEquals("parse()[1]", "def", fmta.get("bar")); in testParseNamedArguments()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java560 Object[] fmta; in TestParse() local
562 fmta = (Object[]) msg.parseObject( source, pp ); in TestParse()
566 if (fmta.length != 2) { in TestParse()
1034 Map fmta = (Map) msg.parseObject( source, pp ); in testParseNamedArguments() local
1038 if (fmta.keySet().size() != 2) { in testParseNamedArguments()
1041 assertEquals("parse()[0]", "abc", fmta.get("foo")); in testParseNamedArguments()
1042 assertEquals("parse()[1]", "def", fmta.get("bar")); in testParseNamedArguments()