Home
last modified time | relevance | path

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

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DLikelySubtagsTest.java151 final LanguageTagParser sourceLtp = new LanguageTagParser(); field in LikelySubtagsTest
172 sourceLtp.set(source); in checkAdding()
173 if (!sourceLtp.getRegion().isEmpty() in checkAdding()
174 && !StandardCodes.isCountry(sourceLtp.getRegion())) { in checkAdding()
180 if (!sourceLtp.getLanguage().equals("und")) in checkAdding()
182 sourceLtp.setLanguage(maxLtp.getLanguage()); in checkAdding()
185 if (!sourceLtp.getScript().isEmpty()) in checkAdding()
187 sourceLtp.setScript(maxLtp.getScript()); in checkAdding()
190 if (!sourceLtp.getRegion().isEmpty()) in checkAdding()
192 sourceLtp.setRegion(maxLtp.getRegion()); in checkAdding()
[all …]