Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1123 Formattable* fmt_arr = msg.parse( source, count, err ); in testParse() local
1124 if (U_FAILURE(err) || (!fmt_arr)) { in testParse()
1131 if ((fmt_arr[0].getType() == Formattable::kString) in testParse()
1132 && (fmt_arr[1].getType() == Formattable::kString) in testParse()
1133 && (fmt_arr[0].getString(tmp1) == "abc") in testParse()
1134 && (fmt_arr[1].getString(tmp2) == "def")) { in testParse()
1141 delete[] fmt_arr; in testParse()
1145 fmt_arr = msg.parse( source, pp, count ); in testParse()
1146 if ((pp == 0) || (!fmt_arr)) { in testParse()
1153 if ((fmt_arr[0].getType() == Formattable::kString) in testParse()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java544 Object[] fmt_arr = msg.parse(source); in TestParse() local
545 if (fmt_arr.length != 2) { in TestParse()
549 if (fmt_arr.length != 2) { in TestParse()
552 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse()
553 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse()
562 Object[] fmt_arr = msg.parse(source, pp); in TestParse() local
563 if (pp.getIndex()==0 || fmt_arr==null) { in TestParse()
566 if (fmt_arr.length != 2) { in TestParse()
569 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse()
570 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java545 Object[] fmt_arr = msg.parse(source); in TestParse() local
546 if (fmt_arr.length != 2) { in TestParse()
550 if (fmt_arr.length != 2) { in TestParse()
553 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse()
554 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse()
563 Object[] fmt_arr = msg.parse(source, pp); in TestParse() local
564 if (pp.getIndex()==0 || fmt_arr==null) { in TestParse()
567 if (fmt_arr.length != 2) { in TestParse()
570 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse()
571 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse()
[all …]