Home
last modified time | relevance | path

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

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
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()
DTestCheckDisplayCollisions.java76 List<CheckStatus> possibleErrors = new ArrayList<>(); in checkFile() local
78 cdc.setCldrFileToCheck(frCa, options, possibleErrors); in checkFile()
79 if (!possibleErrors.isEmpty()) { in checkFile()
80 errln("init: " + possibleErrors); in checkFile()
81 possibleErrors.clear(); in checkFile()
90 cdc.check(path, path, value, options, possibleErrors); in checkFile()
91 if (!possibleErrors.isEmpty()) { in checkFile()
92 found.put(path, ImmutableList.copyOf(possibleErrors)); in checkFile()
93 possibleErrors.clear(); in checkFile()
DTestCheckCLDR.java109 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in TestCheckConsistentCasing() local
111 c.setCldrFileToCheck(english, options, possibleErrors); in TestCheckConsistentCasing()
114 english.getStringValue(path), options, possibleErrors); in TestCheckConsistentCasing()
140 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in TestTestCache() local
146 bundle.check(fullPath, possibleErrors, value); in TestTestCache()
157 assertEquals("possibleErrors, loop index " + i, possibleErrors.size(), 0); in TestTestCache()
190 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in TestPlaceholders() local
192 test.setCldrFileToCheck(english, options, possibleErrors); in TestPlaceholders()
323 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in checkLocale() local
325 test.setCldrFileToCheck(nativeFile, options, possibleErrors); in checkLocale()
[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.java124 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
133 possibleErrors.add(new CheckStatus() in setCldrFileToCheck()
141 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckAlt.java99 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
109 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DFactoryCheckCLDR.java52 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
53 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()
DCheckNew.java23 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
34 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); 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()
DCheckCasing.java29 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
31 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckLogicalGroupings.java36 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
37 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckForCopy.java240 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
258 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckCLDR.java640 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
641 return setCldrFileToCheck(cldrFileToCheck, new Options(options), possibleErrors); in setCldrFileToCheck()
657 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
1247 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
1253 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
1254 possibleErrors.clear(); in setCldrFileToCheck()
1262 item.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
1271 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()
DCheckExemplars.java119 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
121 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
139 possibleErrors.add( in setCldrFileToCheck()
DCheckWidths.java362 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
367 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckAttributeValues.java245 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
255 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
265 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.java93 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
95 super.setCldrFileToCheck(cldrFileToCheck, options, possibleErrors); in setCldrFileToCheck()
DCheckDisplayCollisions.java642 List<CheckStatus> possibleErrors) { in setCldrFileToCheck() argument
644 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()