Home
last modified time | relevance | path

Searched refs:msgFmt (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1255 MessageFormat msgFmt = new MessageFormat( in testNestedFormatsInPluralFormat() local
1262 String result = msgFmt.format(objArray); in testNestedFormatsInPluralFormat()
1357 MessageFormat msgFmt = null ; in testSelectFormat() local
1361 msgFmt = new MessageFormat(pattern); in testSelectFormat()
1362 assertNotNull( "ERROR:Failure in constructing with simple French pattern", msgFmt); in testSelectFormat()
1377 exp[i] , msgFmt.format(testArgs[i]) ); in testSelectFormat()
1382 msgFmt = new MessageFormat(pattern); in testSelectFormat()
1383 assertNotNull( "ERROR:Failure in constructing with quoted French pattern", msgFmt); in testSelectFormat()
1398 exp1[i] , msgFmt.format(testArgs1[i]) ); in testSelectFormat()
1404 msgFmt = new MessageFormat(pattern); in testSelectFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java1259 MessageFormat msgFmt = new MessageFormat( in testNestedFormatsInPluralFormat() local
1266 String result = msgFmt.format(objArray); in testNestedFormatsInPluralFormat()
1361 MessageFormat msgFmt = null ; in testSelectFormat() local
1365 msgFmt = new MessageFormat(pattern); in testSelectFormat()
1366 assertNotNull( "ERROR:Failure in constructing with simple French pattern", msgFmt); in testSelectFormat()
1381 exp[i] , msgFmt.format(testArgs[i]) ); in testSelectFormat()
1386 msgFmt = new MessageFormat(pattern); in testSelectFormat()
1387 assertNotNull( "ERROR:Failure in constructing with quoted French pattern", msgFmt); in testSelectFormat()
1402 exp1[i] , msgFmt.format(testArgs1[i]) ); in testSelectFormat()
1408 msgFmt = new MessageFormat(pattern); in testSelectFormat()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.h73 void internalFormat(MessageFormat* msgFmt ,
Dtmsgfmt.cpp609 MessageFormat* msgFmt = new MessageFormat(t5, Locale("fr"), err); in testMsgFormatPlural() local
613 delete msgFmt; in testMsgFormatPlural()
618 msgFmt->format(&testArgs3, 1, argNameResult, ignore, err); in testMsgFormatPlural()
626 delete msgFmt; in testMsgFormatPlural()
631 MessageFormat msgFmt(UNICODE_STRING_SIMPLE( in testApostropheInPluralAndSelect() local
642 &msgFmt, args, 2, expected, in testApostropheInPluralAndSelect()
646 void TestMessageFormat::internalFormat(MessageFormat* msgFmt , in internalFormat() argument
655 msgFmt->format( args , numOfArgs , result, ignore, status); in internalFormat()
671 MessageFormat* msgFmt = new MessageFormat(pattern, locale, status); in internalCreate() local
677 return msgFmt; in internalCreate()