Searched refs:problemCounter (Results 1 – 3 of 3) sorted by relevance
8 public LocaleCompletionData(Counter<NotificationCategory> problemCounter) { in LocaleCompletionData() argument9 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()
354 return new LocaleCompletionData(fileInfo.vc.problemCounter); in generateLocaleCompletion()358 private final Counter<NotificationCategory> problemCounter = new Counter<>(); field in VettingViewer.VettingCounters370 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 …]
225 Counter<NotificationCategory> problemCounter = new Counter<>(); in TestUntimedCounter() local226 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()