Home
last modified time | relevance | path

Searched refs:expectLocale (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DICUResourceBundleCollationTest.java169 ULocale expectLocale = new ULocale(testCases[i+2]); in getFunctionalEquivalentTestCases() local
172 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
177 if((gotAvail != expectAvail) || !equivLocale.equals(expectLocale)) { in getFunctionalEquivalentTestCases()
179 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUResourceBundleCollationTest.java172 ULocale expectLocale = new ULocale(testCases[i+2]); in getFunctionalEquivalentTestCases() local
175 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
180 if((gotAvail != expectAvail) || !equivLocale.equals(expectLocale)) { in getFunctionalEquivalentTestCases()
182 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
DULocaleTest.java1565 String expectLocale=ACCEPT_LANGUAGE_TESTS[i][0]; in TestAcceptLanguage() local
1567 logln("#" + i + ": expecting: " + expectLocale + " (" + expectBoolean + ")"); in TestAcceptLanguage()
1571 if((n==null)&&(expectLocale!=null)) { in TestAcceptLanguage()
1575 if(((n==null)&&(expectLocale==null)) || (n.toString().equals(expectLocale))) { in TestAcceptLanguage()
1578 errln("expected " + expectLocale + " but got " + n.toString()); in TestAcceptLanguage()
1675 String expectLocale=ACCEPT_LANGUAGE_TESTS[i][0]; in TestAcceptLanguage2() local
1677 logln("#" + i + ": expecting: " + expectLocale + " (" + expectBoolean + ")"); in TestAcceptLanguage2()
1681 if((n==null)&&(expectLocale!=null)) { in TestAcceptLanguage2()
1685 if(((n==null)&&(expectLocale==null)) || (n.toString().equals(expectLocale))) { in TestAcceptLanguage2()
1688 errln("expected " + expectLocale + " but got " + n.toString()); in TestAcceptLanguage2()
DICUResourceBundleTest.java800 ULocale expectLocale = new ULocale(testCases[i+2]); in getFunctionalEquivalentTestCases() local
803 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
808 if((gotAvail != expectAvail) || !equivLocale.equals(expectLocale)) { in getFunctionalEquivalentTestCases()
810 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java1562 String expectLocale=ACCEPT_LANGUAGE_TESTS[i][0]; in TestAcceptLanguage() local
1564 logln("#" + i + ": expecting: " + expectLocale + " (" + expectBoolean + ")"); in TestAcceptLanguage()
1568 if((n==null)&&(expectLocale!=null)) { in TestAcceptLanguage()
1572 if(((n==null)&&(expectLocale==null)) || (n.toString().equals(expectLocale))) { in TestAcceptLanguage()
1575 errln("expected " + expectLocale + " but got " + n.toString()); in TestAcceptLanguage()
1672 String expectLocale=ACCEPT_LANGUAGE_TESTS[i][0]; in TestAcceptLanguage2() local
1674 logln("#" + i + ": expecting: " + expectLocale + " (" + expectBoolean + ")"); in TestAcceptLanguage2()
1678 if((n==null)&&(expectLocale!=null)) { in TestAcceptLanguage2()
1682 if(((n==null)&&(expectLocale==null)) || (n.toString().equals(expectLocale))) { in TestAcceptLanguage2()
1685 errln("expected " + expectLocale + " but got " + n.toString()); in TestAcceptLanguage2()
DICUResourceBundleTest.java797 ULocale expectLocale = new ULocale(testCases[i+2]); in getFunctionalEquivalentTestCases() local
800 inLocale.toString() + "\t\t" + expectLocale.toString()); in getFunctionalEquivalentTestCases()
805 if((gotAvail != expectAvail) || !equivLocale.equals(expectLocale)) { in getFunctionalEquivalentTestCases()
807 …inLocale.toString() + "\t\t--> " + expectLocale.toString() + ", but got " + new Boolean(gotAvail)… in getFunctionalEquivalentTestCases()
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c2597 const char *expectLocale = testCases[i+2]; in TestGetFunctionalEquivalentOf() local
2601 … log_verbose("%d: %c %s\texpect %s\n",i/3, expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()
2608 i/3,expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()
2612 if((gotAvail != expectAvail) || strcmp(equivLocale, expectLocale)) { in TestGetFunctionalEquivalentOf()
2616 expectAvail?'t':'f', inLocale, expectLocale); in TestGetFunctionalEquivalentOf()