Searched refs:fmt_arr (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | tmsgfmt.cpp | 1128 Formattable* fmt_arr = msg.parse( source, count, err ); in testParse() local 1129 if (U_FAILURE(err) || (!fmt_arr)) { in testParse() 1136 if ((fmt_arr[0].getType() == Formattable::kString) in testParse() 1137 && (fmt_arr[1].getType() == Formattable::kString) in testParse() 1138 && (fmt_arr[0].getString(tmp1) == "abc") in testParse() 1139 && (fmt_arr[1].getString(tmp2) == "def")) { in testParse() 1146 delete[] fmt_arr; in testParse() 1150 fmt_arr = msg.parse( source, pp, count ); in testParse() 1151 if ((pp == 0) || (!fmt_arr)) { in testParse() 1158 if ((fmt_arr[0].getType() == Formattable::kString) in testParse() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TestMessageFormat.java | 551 Object[] fmt_arr = msg.parse(source); in TestParse() local 552 if (fmt_arr.length != 2) { in TestParse() 556 if (fmt_arr.length != 2) { in TestParse() 559 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 560 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() 569 Object[] fmt_arr = msg.parse(source, pp); in TestParse() local 570 if (pp.getIndex()==0 || fmt_arr==null) { in TestParse() 573 if (fmt_arr.length != 2) { in TestParse() 576 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 577 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TestMessageFormat.java | 554 Object[] fmt_arr = msg.parse(source); in TestParse() local 555 if (fmt_arr.length != 2) { in TestParse() 559 if (fmt_arr.length != 2) { in TestParse() 562 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 563 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() 572 Object[] fmt_arr = msg.parse(source, pp); in TestParse() local 573 if (pp.getIndex()==0 || fmt_arr==null) { in TestParse() 576 if (fmt_arr.length != 2) { in TestParse() 579 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 580 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() [all …]
|