Lines Matching refs:temp
239 UnicodeString temp;
252 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i]))
253 errln(" Language code mismatch: " + temp + " versus "
255 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i]))
256 errln(" Script code mismatch: " + temp + " versus "
258 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i]))
259 errln(" Country code mismatch: " + temp + " versus "
261 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i]))
262 errln(" Variant code mismatch: " + temp + " versus "
264 if ( (temp=testLocale.getName()) != (dataTable[NAME][i]))
265 errln(" Locale name mismatch: " + temp + " versus "
278 logln("Testing " + (temp=testLocale.getName()) + "...");
280 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i]))
281 errln("Language code mismatch: " + temp + " versus "
283 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i]))
284 errln("Script code mismatch: " + temp + " versus "
286 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i]))
287 errln("Country code mismatch: " + temp + " versus "
296 temp = test8.getLanguage();
297 if (temp != UnicodeString("x-klingon") )
298 errln("Language code mismatch: " + temp + " versus \"x-klingon\"");
300 temp = test8.getScript();
301 if (temp != UnicodeString("Latn") )
302 errln("Script code mismatch: " + temp + " versus \"Latn\"");
304 temp = test8.getCountry();
305 if (temp != UnicodeString("ZX") )
306 errln("Country code mismatch: " + temp + " versus \"ZX\"");
308 temp = test8.getVariant();
309 //if (temp != UnicodeString("SPECIAL") )
310 // errln("Variant code mismatch: " + temp + " versus \"SPECIAL\"");
312 if (temp != UnicodeString("") )
313 errln("Variant code mismatch: " + temp + " versus \"\"");
418 UnicodeString temp;
425 logln("Testing " + (temp=testLocale.getName()) + "...");
427 if ( (temp=testLocale.getISO3Language()) != (dataTable[LANG3][i]))
428 errln(" ISO-3 language code mismatch: " + temp
430 if ( (temp=testLocale.getISO3Country()) != (dataTable[CTRY3][i]))
431 errln(" ISO-3 country code mismatch: " + temp
687 UnicodeString temp;
700 const char* temp;
704 temp = Locale::getDataDirectory();
705 strcpy(oldDirectory, temp);
736 UnicodeString temp;
746 logln(" Testing " + (temp=testLocale.getName()) + "...");
1139 UnicodeString temp;
1146 if (thaiCurrency->getPositivePrefix(temp) != UnicodeString(&posPrefix, 1, 1))
1148 thaiCurrency->getPositivePrefix(temp) + "\"");
1149 if (thaiCurrency->getPositiveSuffix(temp) != "")
1151 thaiCurrency->getPositiveSuffix(temp) + "\"");
1200 UnicodeString temp;
1204 UnicodeString temp;
1218 logln("Ok: " + (temp=loc.getName()) +
1222 errln("Fail: " + (temp=loc.getName()) +
1399 UnicodeString temp;
1409 " for locale '" + (temp=locale.getName()) + "' rather than exception" );
1420 UnicodeString temp;
1430 " for locale '" + (temp=locale.getName()) + "' rather than exception" );
1466 UnicodeString temp;
1467 if (loc.getDisplayName(temp) != englishDisplayNames[i])
1469 englishDisplayNames[i] + ", got " + loc.getDisplayName(temp));
1470 if (loc.getDisplayName(loc, temp) != norwegianDisplayNames[i])
1473 loc.getDisplayName(loc, temp));
1561 UnicodeString temp;
1563 errln(UnicodeString("Percent for ") + LOC[i].getDisplayName(temp) + " should be 100%, got " + result);