/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
D | Bcp47MapperTest.java | 35 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 …]
|
D | CollationMapperTest.java | 27 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 …]
|
D | RbnfMapperTest.java | 53 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
|
D | DayPeriodsMapperTest.java | 53 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
|
D | BreakIteratorMapperTest.java | 48 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
|
D | PluralsMapperTest.java | 52 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
|
D | TransformsMapperTest.java | 70 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
|
D | PluralRangesMapperTest.java | 43 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/ |
D | AbstractPathValueMapper.java | 42 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()
|
D | TransformsMapper.java | 100 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()
|
D | RbnfMapper.java | 57 IcuData icuData, CldrData cldrData, Optional<CldrData> icuSpecialData) { in process() argument 64 RBNF_PROCESSOR.process(cldrData, mapper, DTD); in process()
|
D | BreakIteratorMapper.java | 63 IcuData icuData, CldrData cldrData, Optional<CldrData> icuSpecialData) { in process() argument 67 CLDR_PROCESSOR.process(cldrData, mapper); in process()
|
D | CollationMapper.java | 72 IcuData icuData, CldrData cldrData, Optional<CldrData> icuSpecialData, String cldrVersion) { in process() argument 76 CLDR_PROCESSOR.process(cldrData, mapper, DTD); in process()
|
D | Bcp47Mapper.java | 90 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/ |
D | CompareIso3166_1Status.java | 69 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/ |
D | LocaleDistanceMapperTest.java | 13 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.cldrData; 58 CldrData testData = cldrData( in testEndToEnd()
|
D | TestData.java | 44 static CldrData cldrData(CldrValue... values) { in cldrData() method in TestData
|