Home
last modified time | relevance | path

Searched refs:problemCounter (Results 1 – 3 of 3) sorted by relevance

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DLocaleCompletionData.java8 public LocaleCompletionData(Counter<NotificationCategory> problemCounter) { in LocaleCompletionData() argument
9 error = (int) problemCounter.get(NotificationCategory.error); in LocaleCompletionData()
10 missing = (int) problemCounter.get(NotificationCategory.missingCoverage); in LocaleCompletionData()
11 provisional = (int) problemCounter.get(NotificationCategory.notApproved); in LocaleCompletionData()
DVettingViewer.java354 return new LocaleCompletionData(fileInfo.vc.problemCounter); in generateLocaleCompletion()
358 private final Counter<NotificationCategory> problemCounter = new Counter<>(); field in VettingViewer.VettingCounters
370 problemCounter.addAll(other.problemCounter); in addAll()
494 vc.problemCounter.increment(NotificationCategory.changedOldValue); in handleOnePath()
534 vc.problemCounter.increment(NotificationCategory.abstained); in updateVotedOrAbstained()
560 vc.problemCounter.increment(NotificationCategory.missingCoverage); in recordMissingChangedEtc()
575 vc.problemCounter.increment(NotificationCategory.englishChanged); in recordEnglishChanged()
590 vc.problemCounter.increment(choice); in recordChoice()
599 vc.problemCounter.increment(choice); in recordChoice()
611 vc.problemCounter.increment(NotificationCategory.weLost); in recordLosingDisputedEtc()
[all …]
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestUtilities.java225 Counter<NotificationCategory> problemCounter = new Counter<>(); in TestUntimedCounter() local
226 problemCounter.increment(NotificationCategory.error); in TestUntimedCounter()
227 problemCounter.increment(NotificationCategory.error); in TestUntimedCounter()
228 problemCounter.increment(NotificationCategory.warning); in TestUntimedCounter()
230 assertEquals("problemCounter error", 2, problemCounter.get(NotificationCategory.error)); in TestUntimedCounter()
231 assertEquals("problemCounter warning", 1, problemCounter.get(NotificationCategory.warning)); in TestUntimedCounter()
232 assertEquals("problemCounter weLost", 0, problemCounter.get(NotificationCategory.weLost)); in TestUntimedCounter()
235 otherCounter.addAll(problemCounter); in TestUntimedCounter()