Home
last modified time | relevance | path

Searched refs:formatToString (Results 1 – 17 of 17) sorted by relevance

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
DMessageFormat2Test.java46 mf2.formatToString(Args.NONE)); in test()
57 mf2.formatToString(Args.of("exp", expiration))); in testDateFormat()
64 mf2.formatToString(Args.of("exp", expiration))); in testDateFormat()
70 mf2.formatToString(Args.of("exp", expiration))); in testDateFormat()
76 mf2.formatToString(Args.of("exp", expiration))); in testDateFormat()
82 mf2.formatToString(Args.of("exp", expiration))); in testDateFormat()
90 mf2.formatToString(Args.of("exp", cal))); in testDateFormat()
98 mf2.formatToString(Args.of("exp", expiration))); in testDateFormat()
101 mf2.formatToString(Args.of("exp", cal))); in testDateFormat()
112 mf2.formatToString(Args.of("exp", calNotRegistered))); in testDateFormat()
[all …]
DMf2IcuTest.java35 form.formatToString(Args.of("count", "abc", "where", "def"))); in testSample()
48 .formatToString(arguments)); in testStaticFormat()
63 … assertEquals("format", "The disk \"MyDisk\" contains 0 file(s).", form.formatToString(testArgs1)); in testSimpleFormat()
65 form.formatToString(testArgs2); in testSimpleFormat()
66 … assertEquals("format", "The disk \"MyDisk\" contains 1 file(s).", form.formatToString(testArgs2)); in testSimpleFormat()
68 form.formatToString(testArgs3); in testSimpleFormat()
69 …assertEquals("format", "The disk \"MyDisk\" contains 12 file(s).", form.formatToString(testArgs3)); in testSimpleFormat()
85 mf.formatToString(Args.of("userName", "Charlotte", "userGender", "female"))); in testSelectFormatToPattern()
88 mf.formatToString(Args.of("userName", "Guillaume", "userGender", "male"))); in testSelectFormatToPattern()
91 mf.formatToString(Args.of("userName", "Dominique", "userGender", "unnown"))); in testSelectFormatToPattern()
[all …]
DCustomFormatterMessageRefTest.java61 result = mf.formatToString(options); in format()
67 public String formatToString(Object toFormat, Map<String, Object> variableOptions) { in formatToString() method in CustomFormatterMessageRefTest.ResourceManagerFactory.ResourceManagerFactoryImpl
91 assertEquals("cust-grammar", "Firefox", mf.formatToString(Args.of("gcase", "whatever"))); in testSimpleGrammarSelection()
92 assertEquals("cust-grammar", "Firefoxin", mf.formatToString(Args.of("gcase", "genitive"))); in testSimpleGrammarSelection()
97 assertEquals("cust-grammar", "Chrome", mf.formatToString(Args.of("gcase", "whatever"))); in testSimpleGrammarSelection()
98 assertEquals("cust-grammar", "Chromen", mf.formatToString(Args.of("gcase", "genitive"))); in testSimpleGrammarSelection()
118 assertEquals("cust-grammar", "Please start Firefoxin", mf1.formatToString(arguments)); in test()
119 assertEquals("cust-grammar", "Please start Firefox", mf2.formatToString(arguments)); in test()
122 assertEquals("cust-grammar", "Please start Chromen", mf1.formatToString(arguments)); in test()
123 assertEquals("cust-grammar", "Please start Chrome", mf2.formatToString(arguments)); in test()
[all …]
DCustomFormatterGrammarCaseTest.java57 public String formatToString(Object toFormat, Map<String, Object> variableOptions) { in formatToString() method in CustomFormatterGrammarCaseTest.GrammarCasesFormatterFactory.GrammarCasesFormatterImpl
98 … assertEquals("case - genitive", "Cartea Mariei", mf.formatToString(Args.of("owner", "Maria"))); in test()
99 … assertEquals("case - genitive", "Cartea Rodicăi", mf.formatToString(Args.of("owner", "Rodica"))); in test()
100 … assertEquals("case - genitive", "Cartea Ilenei", mf.formatToString(Args.of("owner", "Ileana"))); in test()
101 … assertEquals("case - genitive", "Cartea lui Petre", mf.formatToString(Args.of("owner", "Petre"))); in test()
109 …assertEquals("case - nominative", "M-a sunat Maria", mf.formatToString(Args.of("owner", "Maria"))); in test()
110 …assertEquals("case - nominative", "M-a sunat Rodica", mf.formatToString(Args.of("owner", "Rodica")… in test()
111 …assertEquals("case - nominative", "M-a sunat Ileana", mf.formatToString(Args.of("owner", "Ileana")… in test()
112 …assertEquals("case - nominative", "M-a sunat Petre", mf.formatToString(Args.of("owner", "Petre"))); in test()
DTestUtils.java37 String result = mf.formatToString(testCase.arguments); in runTestCase()
DCustomFormatterListTest.java55 public String formatToString(Object toFormat, Map<String, Object> variableOptions) { in formatToString() method in CustomFormatterListTest.ListFormatterFactory.ListFormatterImpl
DCustomFormatterPersonTest.java61 public String formatToString(Object toFormat, Map<String, Object> variableOptions) { in formatToString() method in CustomFormatterPersonTest.PersonNameFormatterFactory.PersonNameFormatterImpl
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPersonNameFormatterTest.java81 String actualResult = formatter.formatToString(name); in executeTestCases()
411 String actualResult = pnf.formatToString(name); in TestLiteralTextElision2()
438 String actualResult = pnf.formatToString(name); in TestPatternSelection()
461 String actualResult = pnf.formatToString(name); in TestCapitalization()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPersonNameFormatter.java344 public String formatToString(PersonName name) { in formatToString() method in PersonNameFormatter
346 return impl.formatToString(name); in formatToString()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
DFormatter.java29 String formatToString(Object toFormat, Map<String, Object> variableOptions); in formatToString() method
DIdentityFormatterFactory.java35 public String formatToString(Object toFormat, Map<String, Object> variableOptions) { in formatToString() method in IdentityFormatterFactory.IdentityFormatterImpl
DMessageFormatter.java219 public String formatToString(Map<String, Object> arguments) { in formatToString() method in MessageFormatter
DDateTimeFormatterFactory.java103 public String formatToString(Object toFormat, Map<String, Object> variableOptions) { in formatToString() method in DateTimeFormatterFactory.DateTimeFormatter
DNumberFormatterFactory.java72 public String formatToString(Object toFormat, Map<String, Object> variableOptions) { in formatToString() method in NumberFormatterFactory.NumberFormatterImpl
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/personname/
DPersonNameFormatterImpl.java128 public String formatToString(PersonName name) { in formatToString() method in PersonNameFormatterImpl
138 String result = nativeFormatter.formatToString(name); in formatToString()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcInternalformatTests.cpp1803 std::string formatToString(GLenum format) in formatToString() function
1853 std::string format = formatToString(tf.format); in init()
1855 std::string internalFormat = formatToString(tf.internalFormat); in init()
1874 std::string name = formatToString(ctif.internalFormat); in init()
1884 std::string name = formatToString(rbf.format); in init()
/third_party/icu/icu4j/tools/build/
Dicu4j72.api3.gz