Searched refs:TestDataTypes (Results 1 – 3 of 3) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateLocaleIDTestData.java | 10 import org.unicode.cldr.util.LsrvCanonicalizer.TestDataTypes; 26 …+ "# " + LsrvCanonicalizer.TestDataTypes.explicit + ": a short list of explicit test cases.\n" in main() 27 …+ "# " + LsrvCanonicalizer.TestDataTypes.fromAliases + ": test cases generated from the alias da… in main() 28 …+ "# " + LsrvCanonicalizer.TestDataTypes.decanonicalized + ": test cases generated by reversing … in main() 29 …+ "# " + LsrvCanonicalizer.TestDataTypes.withIrrelevants + ": test cases generated from the othe… in main() 36 … for (Entry<TestDataTypes, Map<String, String>> mainEntry : rrs.getTestData(null).entrySet()) { in main() 37 TestDataTypes type = mainEntry.getKey(); in main()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | LsrvCanonicalizer.java | 428 public enum TestDataTypes {explicit, fromAliases, decanonicalized, withIrrelevants} enum in LsrvCanonicalizer 435 public Map<TestDataTypes,Map<String, String>> getTestData(Set<TestDataTypes> testDataTypes) { in getTestData() 436 Map<TestDataTypes,Map<String, String>> result = new TreeMap<>(); in getTestData() 439 testDataTypes = EnumSet.allOf(TestDataTypes.class); in getTestData() 442 if (testDataTypes.contains(TestDataTypes.explicit)) { in getTestData() 468 result.put(TestDataTypes.explicit, ImmutableMap.copyOf(testData2)); in getTestData() 471 if (testDataTypes.contains(TestDataTypes.fromAliases)) { in getTestData() 481 result.put(TestDataTypes.fromAliases, ImmutableMap.copyOf(testData2)); in getTestData() 484 if (testDataTypes.contains(TestDataTypes.decanonicalized)) { in getTestData() 496 result.put(TestDataTypes.decanonicalized, ImmutableMap.copyOf(testData2)); in getTestData() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestLsrvCanonicalizer.java | 14 import org.unicode.cldr.util.LsrvCanonicalizer.TestDataTypes; 50 … for (Entry<TestDataTypes, Map<String, String>> mainEntry : rrs.getTestData(null).entrySet()) { in testAgainstData() 51 TestDataTypes type = mainEntry.getKey(); in testAgainstData()
|