Home
last modified time | relevance | path

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

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCheckDisplayCollisions.java48 List<CheckStatus> possibleErrors = new ArrayList<>(); in checkFile() local
50 cdc.setCldrFileToCheck(frCa, options, possibleErrors); in checkFile()
51 if (!possibleErrors.isEmpty()) { in checkFile()
52 System.out.println("init: " + possibleErrors); in checkFile()
53 possibleErrors.clear(); in checkFile()
57 cdc.check(path, path, value, options, possibleErrors); in checkFile()
58 if (!possibleErrors.isEmpty()) { in checkFile()
59 System.out.println(path + "\t" + possibleErrors); in checkFile()
60 possibleErrors.clear(); in checkFile()
DTestCheckWidths.java30 List<CheckStatus> possibleErrors = new ArrayList<>(); in TestBasic() local
31 x.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in TestBasic()
33 possibleErrors); in TestBasic()
34 possibleErrors.clear(); in TestBasic()
35 x.check(path, path, value, options, possibleErrors); in TestBasic()
36 if (assertNotEquals("path", Collections.EMPTY_LIST, possibleErrors)) { in TestBasic()
37 CheckStatus err = possibleErrors.get(0); in TestBasic()
DTestCheckCLDR.java84 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in TestCheckConsistentCasing() local
86 c.setCldrFileToCheck(english, options, possibleErrors); in TestCheckConsistentCasing()
89 english.getStringValue(path), options, possibleErrors); in TestCheckConsistentCasing()
115 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in TestPlaceholders() local
117 test.setCldrFileToCheck(english, options, possibleErrors); in TestPlaceholders()
248 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in checkLocale() local
250 test.setCldrFileToCheck(nativeFile, options, possibleErrors); in checkLocale()
326 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in TestCheckNames() local
328 c.setCldrFileToCheck(english, options, possibleErrors); in TestCheckNames()
331 possibleErrors); in TestCheckNames()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckChildren.java62 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
75 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
89 possibleErrors.add(item); in setCldrFileToCheck()
DCheckCoverage.java115 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
124 possibleErrors.add(new CheckStatus() in setCldrFileToCheck()
132 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DFactoryCheckCLDR.java52 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
53 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckAlt.java99 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
109 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckZones.java31 …heckCLDR setCldrFileToCheck(CLDRFile cldrFile, Options options, List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
40 super.setCldrFileToCheck(cldrFile, options, possibleErrors); in setCldrFileToCheck()
44 possibleErrors.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in setCldrFileToCheck()
DCheckForExemplars.java171 …heckCLDR setCldrFileToCheck(CLDRFile cldrFile, Options options, List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
174 super.setCldrFileToCheck(cldrFile, options, possibleErrors); in setCldrFileToCheck()
188 exemplars = safeGetExemplars("", possibleErrors, resolvedFile, ok); in setCldrFileToCheck()
194 possibleErrors.add(item); in setCldrFileToCheck()
208 …UnicodeSet auxiliary = safeGetExemplars("auxiliary", possibleErrors, resolvedFile, ok); // resolve… in setCldrFileToCheck()
215 …UnicodeSet punctuation = safeGetExemplars("punctuation", possibleErrors, resolvedFile, ok); // res… in setCldrFileToCheck()
245 …private UnicodeSet safeGetExemplars(String type, List<CheckStatus> possibleErrors, CLDRFile resolv… in safeGetExemplars() argument
252 possibleErrors.add(new CheckStatus() in safeGetExemplars()
DCheckNew.java23 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
34 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckCasing.java30 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
32 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckCLDR.java644 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
645 return setCldrFileToCheck(cldrFileToCheck, new Options(options), possibleErrors); in setCldrFileToCheck()
661 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
1266 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
1272 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
1273 possibleErrors.clear(); in setCldrFileToCheck()
1281 item.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
1290 addError(possibleErrors, item, e); in setCldrFileToCheck()
DCheckConsistentCasing.java52 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
54 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
75 possibleErrors.add(new CheckStatus().setCause(this) in setCldrFileToCheck()
DCheckForCopy.java229 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
251 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckExemplars.java119 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
121 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
139 possibleErrors.add( in setCldrFileToCheck()
DCheckWidths.java353 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
358 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckAttributeValues.java244 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
254 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
264 possibleErrors.add(new CheckStatus() in setCldrFileToCheck()
DCheckDates.java159 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
161 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
220 possibleErrors.add(item); in setCldrFileToCheck()
246 possibleErrors.add(item); in setCldrFileToCheck()
DCheckNumbers.java86 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
88 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckDisplayCollisions.java639 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
641 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
/external/cldr/tools/java/org/unicode/cldr/tool/
DConvertXTB.java499 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in check() local
500 checkCldr.setCldrFileToCheck(cldrFile, options, possibleErrors); in check()
501 for (CheckStatus status : possibleErrors) { in check()
509 checkCldr.check(xpath, fullPath, value, options, possibleErrors); in check()
510 numErrors += displayErrors(locale, info.messageId, xpath, value, possibleErrors); in check()
531 String value, List<CheckStatus> possibleErrors) { in displayErrors() argument
536 for (CheckStatus status : possibleErrors) { in displayErrors()