• Home
  • Raw
  • Download

Lines Matching refs:locString

24 const char *locString(const Locale *loc) {  in locString()  function
101 assertEquals("getBestMatch(fr)", "(null)", locString(best)); in testEmpty()
103 assertEquals("getBestMatchResult(fr).des", "(null)", locString(result.getDesiredLocale())); in testEmpty()
106 "(null)", locString(result.getSupportedLocale())); in testEmpty()
131 assertEquals("fromRange.getBestMatch(en_GB)", "en_GB", locString(best)); in testBasics()
133 assertEquals("fromRange.getBestMatch(en_US)", "en", locString(best)); in testBasics()
135 assertEquals("fromRange.getBestMatch(fr_FR)", "fr", locString(best)); in testBasics()
137 assertEquals("fromRange.getBestMatch(ja_JP)", "fr", locString(best)); in testBasics()
145 assertEquals("fromRange.getBestMatch(en_GB)", "en_GB", locString(best)); in testBasics()
147 assertEquals("fromRange.getBestMatch(en_US)", "en", locString(best)); in testBasics()
149 assertEquals("fromRange.getBestMatch(fr_FR)", "fr", locString(best)); in testBasics()
151 assertEquals("fromRange.getBestMatch(ja_JP)", "fr", locString(best)); in testBasics()
158 assertEquals("fromIter.getBestMatch(en_GB)", "en_GB", locString(best)); in testBasics()
160 assertEquals("fromIter.getBestMatch(en_US)", "en", locString(best)); in testBasics()
162 assertEquals("fromIter.getBestMatch(fr_FR)", "fr", locString(best)); in testBasics()
164 assertEquals("fromIter.getBestMatch(ja_JP)", "fr", locString(best)); in testBasics()
175 assertEquals("viaConverter.getBestMatch(en_GB)", "en_GB", locString(best)); in testBasics()
177 assertEquals("viaConverter.getBestMatch(en_US)", "en", locString(best)); in testBasics()
179 assertEquals("viaConverter.getBestMatch(fr_FR)", "fr", locString(best)); in testBasics()
181 assertEquals("viaConverter.getBestMatch(ja_JP)", "fr", locString(best)); in testBasics()
190 assertEquals("added.getBestMatch(en_GB)", "en_GB", locString(best)); in testBasics()
192 assertEquals("added.getBestMatch(en_US)", "en", locString(best)); in testBasics()
194 assertEquals("added.getBestMatch(fr_FR)", "fr", locString(best)); in testBasics()
196 assertEquals("added.getBestMatch(ja_JP)", "fr", locString(best)); in testBasics()
204 assertEquals("fromList.getBestMatch(en_GB)", "en_GB", locString(best)); in testBasics()
206 assertEquals("fromList.getBestMatch(en_US)", "en", locString(best)); in testBasics()
208 assertEquals("fromList.getBestMatch(fr_FR)", "fr", locString(best)); in testBasics()
210 assertEquals("fromList.getBestMatch(ja_JP)", "fr", locString(best)); in testBasics()
222 assertEquals("withDefault.getBestMatch(en_GB)", "en_GB", locString(best)); in testBasics()
224 assertEquals("withDefault.getBestMatch(en_US)", "en", locString(best)); in testBasics()
226 assertEquals("withDefault.getBestMatch(fr_FR)", "fr", locString(best)); in testBasics()
228 assertEquals("withDefault.getBestMatch(ja_JP)", "de", locString(best)); in testBasics()
236 "en_GB", locString(result.getSupportedLocale())); in testBasics()
244 "en_US", locString(result.getDesiredLocale())); in testBasics()
251 assertEquals("withDefault: en-US supported", "en", locString(result.getSupportedLocale())); in testBasics()
255 assertEquals("withDefault: ja-JP desired", "(null)", locString(result.getDesiredLocale())); in testBasics()
257 assertEquals("withDefault: ja-JP supported", "de", locString(result.getSupportedLocale())); in testBasics()
271 assertEquals("getBestMatch(en_GB)", "en_GB", locString(best)); in testSupportedDefault()
273 assertEquals("getBestMatch(en_US)", "en", locString(best)); in testSupportedDefault()
275 assertEquals("getBestMatch(fr_FR)", "fr", locString(best)); in testSupportedDefault()
277 assertEquals("getBestMatch(ja_JP)", "en_GB", locString(best)); in testSupportedDefault()
280 "en_GB", locString(result.getSupportedLocale())); in testSupportedDefault()
295 assertEquals("getBestMatch(en_GB)", "en_GB", locString(best)); in testUnsupportedDefault()
297 assertEquals("getBestMatch(en_US)", "en", locString(best)); in testUnsupportedDefault()
299 assertEquals("getBestMatch(fr_FR)", "fr", locString(best)); in testUnsupportedDefault()
301 assertEquals("getBestMatch(ja_JP)", "de", locString(best)); in testUnsupportedDefault()
304 "de", locString(result.getSupportedLocale())); in testUnsupportedDefault()
318 assertEquals("getBestMatch(en_GB)", "en_GB", locString(best)); in testNoDefault()
320 assertEquals("getBestMatch(en_US)", "en", locString(best)); in testNoDefault()
322 assertEquals("getBestMatch(fr_FR)", "fr", locString(best)); in testNoDefault()
324 assertEquals("getBestMatch(ja_JP)", "(null)", locString(best)); in testNoDefault()
327 "(null)", locString(result.getSupportedLocale())); in testNoDefault()
342 "de_CH", locString(noDemotion.getBestMatch(desiredIter, errorCode))); in testDemotion()
351 "fr", locString(regionDemotion.getBestMatch(desiredIter, errorCode))); in testDemotion()
369 locString(withOneWay.getBestMatch(desiredIter, errorCode))); in testDirection()
381 locString(onlyTwoWay.getBestMatch(desiredIter, errorCode))); in testDirection()
451 assertEquals("best", "ar_EG", locString(result.getSupportedLocale())); in testResolvedLocale()
597 locString(expMatch), locString(bestSupported))) { in dataDriven()
606 locString(expMatch), locString(bestSupported)); in dataDriven()
610 locString(expMatch), locString(result.getSupportedLocale())); in dataDriven()
614 locString(expMatch), locString(bestSupported)); in dataDriven()
621 locString(expMatch), locString(result.getSupportedLocale())); in dataDriven()
626 locString(expDesired), locString(result.getDesiredLocale())); in dataDriven()
638 locString(expCombined), locString(&combined)); in dataDriven()