Searched refs:fileMap (Results 1 – 2 of 2) sorted by relevance
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
D | TransformsMapperTest.java | 69 Map<String, String> fileMap = new TreeMap<>(); in testDefaultContent() local 70 IcuData icuData = TransformsMapper.process(cldrData(), wrap(fileMap), HEADER_LINES); in testDefaultContent() 72 assertThat(fileMap).isEmpty(); in testDefaultContent() 93 Map<String, String> fileMap = new TreeMap<>(); in testForward() local 94 IcuData icuData = TransformsMapper.process(cldrData, wrap(fileMap), HEADER_LINES); in testForward() 107 assertThat(fileMap).hasSize(1); in testForward() 108 assertThat(fileMap).containsEntry("foo_bar.txt", headerPlusLines( in testForward() 123 Map<String, String> fileMap = new TreeMap<>(); in testBackward() local 124 IcuData icuData = TransformsMapper.process(cldrData, wrap(fileMap), HEADER_LINES); in testBackward() 138 assertThat(fileMap).hasSize(1); in testBackward() [all …]
|
/third_party/typescript/src/testRunner/unittests/ |
D | customTransforms.ts | 6 const fileMap = arrayToMap(roots, file => file.fileName); constant 9 getSourceFile: (fileName) => fileMap.get(fileName), 16 fileExists: (fileName) => fileMap.has(fileName), 17 … readFile: (fileName) => fileMap.has(fileName) ? fileMap.get(fileName)!.text : undefined, 21 …const program = createProgram(arrayFrom(fileMap.keys()), { newLine: NewLineKind.LineFeed, ...optio…
|