Home
last modified time | relevance | path

Searched refs:CheckStatus (Results 1 – 25 of 36) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java22 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
159 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
214 CheckStatus item = new CheckStatus() in setCldrFileToCheck()
216 .setMainType(CheckStatus.errorType) in setCldrFileToCheck()
241 CheckStatus item = new CheckStatus() in setCldrFileToCheck()
243 .setMainType(CheckStatus.errorType) in setCldrFileToCheck()
291 List<CheckStatus> result) { in handleCheck()
316 CheckStatus item = new CheckStatus() in handleCheck()
318 .setMainType(CheckStatus.warningType) in handleCheck()
331 CheckStatus item = new CheckStatus() in handleCheck()
[all …]
DCheckExemplars.java6 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
119 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
140 new CheckStatus().setCause(this) in setCldrFileToCheck()
141 .setMainType(CheckStatus.warningType) in setCldrFileToCheck()
150 List<CheckStatus> result) { in handleCheck()
182 .add(new CheckStatus() in handleCheck()
184 .setMainType(CheckStatus.errorType) in handleCheck()
208 CheckStatus message = new CheckStatus().setCause(this) in handleCheck()
209 .setMainType(CheckStatus.warningType) in handleCheck()
225 CheckStatus message = new CheckStatus().setCause(this) in handleCheck()
[all …]
DCheckNumbers.java13 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
86 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
107 List<CheckStatus> result) { in handleCheck()
115 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
127 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
132 … result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
137 … result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
142 … result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.warningType) in handleCheck()
149 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
158 result.add(new CheckStatus() in handleCheck()
[all …]
DCheckZones.java11 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
31 …public CheckCLDR setCldrFileToCheck(CLDRFile cldrFile, Options options, List<CheckStatus> possible… in setCldrFileToCheck()
44 possibleErrors.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in setCldrFileToCheck()
57 Options options, List<CheckStatus> result) { in handleCheck()
82 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
88 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.warningType) in handleCheck()
95 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.warningType) in handleCheck()
101 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.warningType) in handleCheck()
161 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.exampleType) in handleGetExamples()
DCheckNew.java6 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
23 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
41 List<CheckStatus> result) { in handleCheck()
57 result.add(new CheckStatus().setCause(this) in handleCheck()
58 .setMainType(CheckStatus.errorType) in handleCheck()
78 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.warningType) in handleCheck()
86 private boolean hasCoverageError(List<CheckStatus> result) { in hasCoverageError()
87 for (CheckStatus resultItem : result) { in hasCoverageError()
DCheckUnits.java6 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
18 List<CheckStatus> result) { in handleCheck()
35 result.add(new CheckStatus().setCause(this) in handleCheck()
36 .setMainType(CheckStatus.errorType) in handleCheck()
40 result.add(new CheckStatus().setCause(this) in handleCheck()
41 .setMainType(CheckStatus.errorType) in handleCheck()
45 result.add(new CheckStatus().setCause(this) in handleCheck()
46 .setMainType(CheckStatus.errorType) in handleCheck()
DCheckQuotes.java7 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
26 List<CheckStatus> result) { in handleCheck()
33 CheckStatus.Type type = CheckStatus.warningType; in handleCheck()
35 type = CheckStatus.errorType; in handleCheck()
38 result.add(new CheckStatus().setCause(this) in handleCheck()
46 result.add(new CheckStatus().setCause(this) in handleCheck()
47 .setMainType(CheckStatus.errorType) in handleCheck()
DCheckForExemplars.java19 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
171 …public CheckCLDR setCldrFileToCheck(CLDRFile cldrFile, Options options, List<CheckStatus> possible… in setCldrFileToCheck()
191 CheckStatus item = new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in setCldrFileToCheck()
245 …private UnicodeSet safeGetExemplars(String type, List<CheckStatus> possibleErrors, CLDRFile resolv… in safeGetExemplars()
252 possibleErrors.add(new CheckStatus() in safeGetExemplars()
253 … .setCause(this).setMainType(CheckStatus.errorType).setSubtype(Subtype.couldNotAccessExemplars) in safeGetExemplars()
261 Options options, List<CheckStatus> result) { in handleCheck()
290CheckStatus.Type errorOption = errorDefaultOption & sourceLocale.equals(getResolvedCldrFileToCheck… in handleCheck()
291 ? CheckStatus.errorType : CheckStatus.warningType; in handleCheck()
297 .add(new CheckStatus() in handleCheck()
[all …]
DCheckLogicalGroupings.java8 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
55 List<CheckStatus> result) { in handleCheck()
75 CheckStatus.Type showError = CheckStatus.errorType; in handleCheck()
77 showError = CheckStatus.warningType; in handleCheck()
79 result.add(new CheckStatus().setCause(this).setMainType(showError) in handleCheck()
148 CheckStatus.Type showError = CheckStatus.warningType; in handleCheck()
150 showError = CheckStatus.errorType; in handleCheck()
152 result.add(new CheckStatus().setCause(this).setMainType(showError) in handleCheck()
DCheckChildren.java9 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
24 Options options, List<CheckStatus> result) { in handleCheck()
51 CheckStatus item = new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
62 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
86CheckStatus item = new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in setCldrFileToCheck()
DTestCache.java6 import org.unicode.cldr.test.CheckCLDR.CheckStatus;
20 protected List<CheckStatus> possibleProblems = new ArrayList<CheckStatus>();
30 public List<CheckStatus> getPossibleProblems() { in getPossibleProblems()
34 public void check(String path, List<CheckStatus> result) { in check()
38 public void check(String path, List<CheckStatus> result, String value) { in check()
42 public void getExamples(String path, String value, List<CheckStatus> result) { in getExamples()
DCheckCoverage.java11 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
54 Options options, List<CheckStatus> result) { in handleCheck()
99 CheckStatus.Type coverageErrorType = CheckStatus.warningType; in handleCheck()
101 coverageErrorType = CheckStatus.errorType; in handleCheck()
103 result.add(new CheckStatus().setCause(this).setMainType(coverageErrorType) in handleCheck()
115 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
124 possibleErrors.add(new CheckStatus() in setCldrFileToCheck()
125 … .setCause(this).setMainType(CheckStatus.warningType).setSubtype(Subtype.missingPluralInfo) in setCldrFileToCheck()
DCheckMetazones.java5 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
17 List<CheckStatus> result) { in handleCheck()
37 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
47 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.errorType) in handleCheck()
DCheckCLDR.java26 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
314 for (CheckStatus item : value.getCheckStatusList()) { in getValueStatus()
315 CheckStatus.Type type = item.getType(); in getValueStatus()
316 if (type.equals(CheckStatus.Type.Error)) { in getValueStatus()
317 if (CheckStatus.crossCheckSubtypes.contains(item.getSubtype())) { in getValueStatus()
322 } else if (type.equals(CheckStatus.Type.Warning)) { in getValueStatus()
644 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
661 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
683 public static class CheckStatus { class in CheckCLDR
747 public CheckStatus() { in CheckStatus() method in CheckCLDR.CheckStatus
[all …]
DCheckPlaceHolders.java7 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
18 List<CheckStatus> result) { in handleCheck()
32 result.add(new CheckStatus().setCause(this) in handleCheck()
33 .setMainType(CheckStatus.errorType) in handleCheck()
40 result.add(new CheckStatus().setCause(this) in handleCheck()
41 .setMainType(CheckStatus.errorType) in handleCheck()
DCheckAlt.java7 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
20 Options options, List<CheckStatus> result) { in handleCheck()
65 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.warningType) in handleCheck()
99 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
DCheckForInheritanceMarkers.java5 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
12 List<CheckStatus> result) { in handleCheck()
18 result.add(new CheckStatus().setCause(this) in handleCheck()
19 .setMainType(CheckStatus.errorType) in handleCheck()
DCheckCurrencies.java5 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
18 List<CheckStatus> result) { in handleCheck()
55 result.add(new CheckStatus().setCause(this).setMainType(CheckStatus.warningType) in handleCheck()
DCheckCasing.java5 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
30 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
40 List<CheckStatus> result) { in handleCheck()
77 result.add(new CheckStatus().setCause(this) in handleCheck()
78 .setMainType(CheckStatus.errorType) in handleCheck()
DCheckWidths.java8 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
102 …boolean hasProblem(String value, List<CheckStatus> result, CheckCLDR cause, Boolean aliasedAndComp… in hasProblem()
126 CheckStatus.Type errorType = CheckStatus.warningType; in hasProblem()
133 errorType = CheckStatus.errorType; in hasProblem()
144 errorType = CheckStatus.warningType; in hasProblem()
146 errorType = CheckStatus.errorType; in hasProblem()
154 result.add(new CheckStatus().setCause(cause) in hasProblem()
318 …andleCheck(String path, String fullPath, String value, Options options, List<CheckStatus> result) { in handleCheck()
353 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
DCheckForCopy.java9 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
151 Options options, List<CheckStatus> result) { in handleCheck()
202 .add(new CheckStatus() in handleCheck()
204 .setMainType(CheckStatus.warningType) in handleCheck()
213 .add(new CheckStatus() in handleCheck()
215 .setMainType(CheckStatus.warningType) in handleCheck()
229 List<CheckStatus> possibleErrors) { in setCldrFileToCheck()
DCheckNames.java7 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
18 List<CheckStatus> result) { in handleCheck()
39 result.add(new CheckStatus().setCause(this) in handleCheck()
40 .setMainType(CheckStatus.errorType) in handleCheck()
DCheckAttributeValues.java18 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
80 List<CheckStatus> result) { in handleCheck()
109 result.add(new CheckStatus() in handleCheck()
110 … .setCause(this).setMainType(CheckStatus.errorType).setSubtype(Subtype.unexpectedAttributeValue) in handleCheck()
133 result.add(new CheckStatus() in handleCheck()
134 … .setCause(this).setMainType(CheckStatus.errorType).setSubtype(Subtype.illegalPlural) in handleCheck()
185 List<CheckStatus> result) { in check()
203 result.add(new CheckStatus() in check()
204 … .setCause(this).setMainType(CheckStatus.warningType).setSubtype(Subtype.deprecatedAttribute) in check()
209 .add(new CheckStatus() in check()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCheckCLDR.java15 import org.unicode.cldr.test.CheckCLDR.CheckStatus;
16 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
51 CheckStatus doTest() { in doTest()
55 return new CheckStatus() in doTest()
57 .setMainType(CheckStatus.warningType) in doTest()
66 String value, Options options, List<CheckStatus> result) { in handleCheck()
72 CheckStatus status = new MyCheckCldr().doTest(); in TestExceptions()
84 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in TestCheckConsistentCasing()
115 List<CheckStatus> possibleErrors = new ArrayList<CheckStatus>(); in TestPlaceholders()
118 List<CheckStatus> result = new ArrayList<CheckStatus>(); in TestPlaceholders()
[all …]
DTestCheckWidths.java8 import org.unicode.cldr.test.CheckCLDR.CheckStatus;
9 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Subtype;
10 import org.unicode.cldr.test.CheckCLDR.CheckStatus.Type;
30 List<CheckStatus> possibleErrors = new ArrayList<>(); in TestBasic()
37 CheckStatus err = possibleErrors.get(0); in TestBasic()

12