Home
last modified time | relevance | path

Searched refs:expectedShort (Results 1 – 11 of 11) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScript.java340 String[] expectedShort = new String[]{ in TestNewCode() local
388 if(name==null || !name.equals(expectedShort[j])){ in TestNewCode()
389 errln("UScript.getShortName failed for code"+ i + name +"!=" +expectedShort[j]); in TestNewCode()
393 int[] ret = UScript.getCode(expectedShort[i]); in TestNewCode()
395 …"UScript.getCode did not return expected number of codes for script"+ expectedShort[i]+". EXPECTED… in TestNewCode()
398 …errln("UScript.getCode did not return expected code for script"+ expectedShort[i]+". EXPECTED: "+ … in TestNewCode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java337 String[] expectedShort = new String[]{ in TestNewCode() local
385 if(name==null || !name.equals(expectedShort[j])){ in TestNewCode()
386 errln("UScript.getShortName failed for code"+ i + name +"!=" +expectedShort[j]); in TestNewCode()
390 int[] ret = UScript.getCode(expectedShort[i]); in TestNewCode()
392 …"UScript.getCode did not return expected number of codes for script"+ expectedShort[i]+". EXPECTED… in TestNewCode()
395 …errln("UScript.getCode did not return expected code for script"+ expectedShort[i]+". EXPECTED: "+ … in TestNewCode()
/external/icu/icu4c/source/test/cintltst/
Dcucdapi.c425 static const char* expectedShort[] = { in TestUScriptCodeAPI() local
472 if(name==NULL || strcmp(name,expectedShort[j])!=0){ in TestUScriptCodeAPI()
473 … log_err("uscript_getShortName failed for code %i: %s!=%s\n", i, name, expectedShort[j]); in TestUScriptCodeAPI()
480 len = uscript_getCode(expectedShort[i], fillIn, UPRV_LENGTHOF(fillIn), &status); in TestUScriptCodeAPI()
482 …log_err("uscript_getCode failed for script name %s. Error: %s\n",expectedShort[i], u_errorName(sta… in TestUScriptCodeAPI()
485 … not return expected number of codes for script %s. EXPECTED: 1 GOT: %i\n", expectedShort[i], len); in TestUScriptCodeAPI()
488 … did not return expected code for script %s. EXPECTED: %i GOT: %i\n", expectedShort[i], (USCRIPT_B… in TestUScriptCodeAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DCompactDecimalFormatTest.java610 String expectedShort = expectedShortLong[i][0]; in TestLongShortFallback() local
616 assertEquals("Short, locale " + loc, expectedShort, actualShort); in TestLongShortFallback()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DCompactDecimalFormatTest.java613 String expectedShort = expectedShortLong[i][0]; in TestLongShortFallback() local
619 assertEquals("Short, locale " + loc, expectedShort, actualShort); in TestLongShortFallback()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCurrencyTest.java263 String expectedShort = (String) cas[2]; in testCurrencyVariants() local
270 expectedShort, cdn.getSymbol(isoCode)); in testCurrencyVariants()
280 expectedShort, currency.getName(locale, Currency.SYMBOL_NAME, null)); in testCurrencyVariants()
DLocaleMatcherTest.java713 ULocale expectedShort; field in LocaleMatcherTest.PerfCase
719 expectedShort = new ULocale(expShort); in PerfCase()
822 assertEquals(desired.toString(), pc.expectedShort, matcherShort.getBestMatch(desired)); in testPerf()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCurrencyTest.java266 String expectedShort = (String) cas[2]; in testCurrencyVariants() local
273 expectedShort, cdn.getSymbol(isoCode)); in testCurrencyVariants()
283 expectedShort, currency.getName(locale, Currency.SYMBOL_NAME, null)); in testCurrencyVariants()
DLocaleMatcherTest.java716 ULocale expectedShort; field in LocaleMatcherTest.PerfCase
722 expectedShort = new ULocale(expShort); in PerfCase()
825 assertEquals(desired.toString(), pc.expectedShort, matcherShort.getBestMatch(desired)); in testPerf()
/external/icu/icu4c/source/data/unidata/
Dchanges.txt2889 -> add to expectedLong and expectedShort names in cintltst/cucdapi.c/TestUScriptCodeAPI()
3158 -> add to expectedLong and expectedShort names in cintltst/cucdapi.c/TestUScriptCodeAPI()
3589 -> add to expectedLong and expectedShort names in cintltst/cucdapi.c/TestUScriptCodeAPI()
3791 -> add to expectedLong and expectedShort names in cintltst/cucdapi.c/TestUScriptCodeAPI()
3908 -> add to expectedLong and expectedShort names in cintltst/cucdapi.c/TestUScriptCodeAPI()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp2126 const char16_t* expectedShort; in TestCurrencyVariants() member
2176 cas.expectedShort, actualShort); in TestCurrencyVariants()