• Home
  • Raw
  • Download

Lines Matching refs:testLocale

293         Locale testLocale("");  in TestBasicGetters()  local
295testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters()
298 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters()
300 logln("Testing " + (UnicodeString)testLocale.getName() + "..."); in TestBasicGetters()
302 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i])) in TestBasicGetters()
305 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i])) in TestBasicGetters()
308 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i])) in TestBasicGetters()
311 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i])) in TestBasicGetters()
314 if ( (temp=testLocale.getName()) != (dataTable[NAME][i])) in TestBasicGetters()
321 Locale testLocale(""); in TestBasicGetters() local
323 testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i]); in TestBasicGetters()
326 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i]); in TestBasicGetters()
328 logln("Testing " + (temp=testLocale.getName()) + "..."); in TestBasicGetters()
330 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i])) in TestBasicGetters()
333 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i])) in TestBasicGetters()
336 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i])) in TestBasicGetters()
339 if (testLocale.getVariant()[0] != 0) in TestBasicGetters()
474 Locale testLocale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); in TestSimpleResourceInfo() local
475 logln("Testing " + (temp=testLocale.getName()) + "..."); in TestSimpleResourceInfo()
477 if ( (temp=testLocale.getISO3Language()) != (dataTable[LANG3][i])) in TestSimpleResourceInfo()
480 if ( (temp=testLocale.getISO3Country()) != (dataTable[CTRY3][i])) in TestSimpleResourceInfo()
484 sprintf(temp2, "%x", (int)testLocale.getLCID()); in TestSimpleResourceInfo()
789 Locale testLocale(""); in doTestDisplayNames() local
791testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]); in doTestDisplayNames()
794 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); in doTestDisplayNames()
796 logln(" Testing " + (temp=testLocale.getName()) + "..."); in doTestDisplayNames()
804 testLocale.getDisplayLanguage(displayLocale, testLang); in doTestDisplayNames()
805 testLocale.getDisplayScript(displayLocale, testScript); in doTestDisplayNames()
806 testLocale.getDisplayCountry(displayLocale, testCtry); in doTestDisplayNames()
807 testLocale.getDisplayVariant(displayLocale, testVar); in doTestDisplayNames()
808 testLocale.getDisplayName(displayLocale, testName); in doTestDisplayNames()
837 …(" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString(testLocale.getName()) + ") … in doTestDisplayNames()
839 …(" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString(testLocale.getName()) + ") … in doTestDisplayNames()
841 …(" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString(testLocale.getName()) + ") … in doTestDisplayNames()
843 …(" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString(testLocale.getName()) + ") … in doTestDisplayNames()
845 …(" + UnicodeString(displayLocale.getName()) + ") of (" + UnicodeString(testLocale.getName()) + ") … in doTestDisplayNames()