Lines Matching refs:tempBuffer
105 UnicodeString tempBuffer; in Test4074764() local
107 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); in Test4074764()
108 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) in Test4074764()
110 logln("Formatted with one extra param : " + tempBuffer); in Test4074764()
124 tempBuffer.remove(); in Test4074764()
125 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status); in Test4074764()
127 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764()
129 logln("Formatted with no params : " + tempBuffer); in Test4074764()
131 tempBuffer.remove(); in Test4074764()
132 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); in Test4074764()
133 if (tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764()
134 errln("Formatted with arguments > subsitution failed. result = " + tempBuffer); in Test4074764()
135 logln("Formatted with extra params : " + tempBuffer); in Test4074764()
199 UnicodeString tempBuffer; in Test4031438() local
201 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); in Test4031438()
202 …if(tempBuffer != "Impossible {1} has occurred -- status code is 7 and message is {2}." || failure(… in Test4031438()
204 logln("Formatted with 7 : " + tempBuffer); in Test4031438()
207 Formattable *objs = messageFormatter->parse(tempBuffer, pp, count); in Test4031438()
265 tempBuffer.remove(); in Test4031438()
266 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); in Test4031438()
267 if (tempBuffer != "Double ' Quotes 7 test and quoted {1} test plus 'other {2} stuff'.") in Test4031438()
269 logln("Formatted with params : " + tempBuffer); in Test4031438()