Home
last modified time | relevance | path

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

/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DBcp47MapperTest.java35 CldrData cldrData = cldrData( in testSimple() local
42 ImmutableList<IcuData> icuData = Bcp47Mapper.process(cldrData); in testSimple()
69 CldrData cldrData = cldrData( in testSimpleTimezone() local
76 ImmutableList<IcuData> icuData = Bcp47Mapper.process(cldrData); in testSimpleTimezone()
105 CldrData cldrData = cldrData( in testKeyAliases() local
108 ImmutableList<IcuData> icuData = Bcp47Mapper.process(cldrData); in testKeyAliases()
118 CldrData cldrData = cldrData( in testTypeAliases_single() local
121 ImmutableList<IcuData> icuData = Bcp47Mapper.process(cldrData); in testTypeAliases_single()
130 CldrData cldrData = cldrData( in testTypeAliases_multiple() local
133 ImmutableList<IcuData> icuData = Bcp47Mapper.process(cldrData); in testTypeAliases_multiple()
[all …]
DCollationMapperTest.java27 CollationMapper.process(icuData, cldrData(), Optional.empty(), CLDR_VERSION); in testEmpty()
36 CollationMapper.process(rootData, cldrData(), Optional.empty(), CLDR_VERSION); in testEmpty()
46 CldrData cldrData = in testDefault() local
47 cldrData(CldrValue.parseValue("//ldml/collations/defaultCollation", "any value")); in testDefault()
50 CollationMapper.process(icuData, cldrData, Optional.empty(), CLDR_VERSION); in testDefault()
64 CldrData cldrData = cldrData( in testLastAltRuleOverridesExisting() local
70 CollationMapper.process(icuData, cldrData, Optional.empty(), CLDR_VERSION); in testLastAltRuleOverridesExisting()
78 CldrData cldrData = cldrData( in testCommentAndWhitespaceStripping() local
88 CollationMapper.process(icuData, cldrData, Optional.empty(), CLDR_VERSION); in testCommentAndWhitespaceStripping()
106 CldrData cldrData = cldrData( in testEmoji() local
[all …]
DRbnfMapperTest.java53 CldrData cldrData = cldrData( in testSingleRuleset() local
59 RbnfMapper.process(icuData, cldrData, Optional.empty()); in testSingleRuleset()
76 CldrData cldrData = cldrData( in testMultipleRulesets() local
87 RbnfMapper.process(icuData, cldrData, Optional.empty()); in testMultipleRulesets()
107 CldrData specials = cldrData( in testSpecials()
115 CldrData cldrData = cldrData( in testSpecials() local
121 RbnfMapper.process(icuData, cldrData, Optional.of(specials)); in testSpecials()
146 CldrData cldrData = cldrData( in testEscaping() local
153 RbnfMapper.process(icuData, cldrData, Optional.empty()); in testEscaping()
163 private static CldrData cldrData(CldrValue... values) { in cldrData() method in RbnfMapperTest
DDayPeriodsMapperTest.java53 CldrData cldrData = cldrData( in testSimple() local
61 IcuData icuData = DayPeriodsMapper.process(cldrData); in testSimple()
85 CldrData cldrData = cldrData( in testMultipleRuleSets() local
91 IcuData icuData = DayPeriodsMapper.process(cldrData); in testMultipleRuleSets()
115 CldrData cldrData = cldrData( in testRulesetLabels() local
119 IcuData icuData = DayPeriodsMapper.process(cldrData); in testRulesetLabels()
131 CldrData cldrData = cldrData( in testNoDataValidation() local
135 IcuData icuData = DayPeriodsMapper.process(cldrData); in testNoDataValidation()
149 private static CldrData cldrData(CldrValue... values) { in cldrData() method in DayPeriodsMapperTest
DBreakIteratorMapperTest.java48 CldrData cldrData = cldrData( in testSingleSuppression() local
54 BreakIteratorMapper.process(icuData, cldrData, Optional.empty()); in testSingleSuppression()
68 CldrData cldrData = cldrData( in testMultipleSupressionTypes() local
77 BreakIteratorMapper.process(icuData, cldrData, Optional.empty()); in testMultipleSupressionTypes()
92 CldrData specials = cldrData( in testSpecials_dictionary()
97 BreakIteratorMapper.process(icuData, cldrData(), Optional.of(specials)); in testSpecials_dictionary()
106 CldrData specials = cldrData( in testSpecials_boundaries()
111 BreakIteratorMapper.process(icuData, cldrData(), Optional.of(specials)); in testSpecials_boundaries()
120 private static CldrData cldrData(CldrValue... values) { in cldrData() method in BreakIteratorMapperTest
DPluralsMapperTest.java52 CldrData cldrData = cldrData( in testSimple() local
67 IcuData icuData = PluralsMapper.process(cldrData); in testSimple()
97 CldrData cldrData = cldrData( in testGroupDeduplication_subsets() local
108 IcuData icuData = PluralsMapper.process(cldrData); in testGroupDeduplication_subsets()
126 CldrData cldrData = cldrData( in testGroupDeduplication_type() local
136 IcuData icuData = PluralsMapper.process(cldrData); in testGroupDeduplication_type()
152 CldrData cldrData = cldrData( in testGroupDeduplication_locales() local
162 IcuData icuData = PluralsMapper.process(cldrData); in testGroupDeduplication_locales()
173 private static CldrData cldrData(CldrValue... values) { in cldrData() method in PluralsMapperTest
DTransformsMapperTest.java70 IcuData icuData = TransformsMapper.process(cldrData(), wrap(fileMap), HEADER_LINES); in testDefaultContent()
90 CldrData cldrData = in testForward() local
91 cldrData(oneWay("foo", "bar", FORWARD, null, INTERNAL, "first second third", ++idx)); in testForward()
94 IcuData icuData = TransformsMapper.process(cldrData, wrap(fileMap), HEADER_LINES); in testForward()
120 CldrData cldrData = in testBackward() local
121 cldrData(oneWay("foo", "bar", BACKWARD, "variant", EXTERNAL, "one two three", ++idx)); in testBackward()
124 IcuData icuData = TransformsMapper.process(cldrData, wrap(fileMap), HEADER_LINES); in testBackward()
151 CldrData cldrData = cldrData( in testBoth() local
155 IcuData icuData = TransformsMapper.process(cldrData, wrap(fileMap), HEADER_LINES); in testBoth()
197 private static CldrData cldrData(CldrValue... values) { in cldrData() method in TransformsMapperTest
DPluralRangesMapperTest.java43 CldrData cldrData = cldrData( in testSimple() local
49 IcuData icuData = PluralRangesMapper.process(cldrData); in testSimple()
71 CldrData cldrData = cldrData( in testMultipleSets() local
77 IcuData icuData = PluralRangesMapper.process(cldrData); in testMultipleSets()
95 private static CldrData cldrData(CldrValue... values) { in cldrData() method in PluralRangesMapperTest
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DAbstractPathValueMapper.java42 private final CldrData cldrData; field in AbstractPathValueMapper
52 AbstractPathValueMapper(CldrData cldrData, PathValueTransformer transformer) { in AbstractPathValueMapper() argument
53 this.cldrData = checkNotNull(cldrData); in AbstractPathValueMapper()
93 return cldrData; in getCldrData()
117 CldrValue cldrValue = cldrData.get(p); in getVarsFn()
DTransformsMapper.java100 CldrData cldrData = src.getDataForType(SUPPLEMENTAL); in process() local
101 return process(cldrData, fileWriterFn, header); in process()
106 CldrData cldrData, Function<Path, PrintWriter> fileWriterFn, List<String> header) { in process() argument
109 CLDR_PROCESSOR.process(cldrData, mapper); in process()
DRbnfMapper.java57 IcuData icuData, CldrData cldrData, Optional<CldrData> icuSpecialData) { in process() argument
64 RBNF_PROCESSOR.process(cldrData, mapper, DTD); in process()
DBreakIteratorMapper.java63 IcuData icuData, CldrData cldrData, Optional<CldrData> icuSpecialData) { in process() argument
67 CLDR_PROCESSOR.process(cldrData, mapper); in process()
DCollationMapper.java72 IcuData icuData, CldrData cldrData, Optional<CldrData> icuSpecialData, String cldrVersion) { in process() argument
76 CLDR_PROCESSOR.process(cldrData, mapper, DTD); in process()
DBcp47Mapper.java90 static ImmutableList<IcuData> process(CldrData cldrData) { in process() argument
91 Bcp47Mapper mapper = BCP47_PROCESSOR.process(cldrData, new Bcp47Mapper(), DTD); in process()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCompareIso3166_1Status.java69 final Map<LstrField, String> cldrData = entry.getValue(); in main() local
70 String description = setStatus(regionCode, cldrData, cldrStatus, true); in main()
165 …private static String setStatus(String regionCode, final Map<LstrField, String> cldrData, Map<Stri… in setStatus() argument
166 String description = cldrData.get(LstrField.Description); in setStatus()
168 if (cldrData.containsKey(LstrField.Deprecated)) { in setStatus()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLocaleDistanceMapperTest.java13 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.cldrData;
58 CldrData testData = cldrData( in testEndToEnd()
DTestData.java44 static CldrData cldrData(CldrValue... values) { in cldrData() method in TestData