Home
last modified time | relevance | path

Searched refs:NotificationCategory (Results 1 – 8 of 8) sorted by relevance

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DVettingViewer.java300 public final Set<NotificationCategory> problems;
304 …public WritingInfo(PathHeader ph, EnumSet<NotificationCategory> problems, CharSequence htmlMessage… in WritingInfo()
358 private final Counter<NotificationCategory> problemCounter = new Counter<>();
383 private final EnumSet<NotificationCategory> choices;
386 …private FileInfo(String localeId, Level level, EnumSet<NotificationCategory> choices, T organizati… in FileInfo()
427 … private final EnumSet<NotificationCategory> problems = EnumSet.noneOf(NotificationCategory.class);
491 if (!onlyRecordErrors && choices.contains(NotificationCategory.changedOldValue)) { in handleOnePath()
493 problems.add(NotificationCategory.changedOldValue); in handleOnePath()
494 vc.problemCounter.increment(NotificationCategory.changedOldValue); in handleOnePath()
532 } else if (choices.contains(NotificationCategory.abstained)) { in updateVotedOrAbstained()
[all …]
DMissingXmlGetter.java50 …final EnumSet<NotificationCategory> choiceSet = VettingViewer.getDashboardNotificationCategories(u… in getXml()
78 if (wi.problems.contains(NotificationCategory.missingCoverage)) { in populateMissingCldrFile()
81 wi.problems.contains(NotificationCategory.error) || in populateMissingCldrFile()
82 wi.problems.contains(NotificationCategory.notApproved) in populateMissingCldrFile()
106 if (wi.problems.contains(NotificationCategory.notApproved)) { in addPresentPath()
107 comment = NotificationCategory.notApproved.buttonLabel; in addPresentPath()
109 if (wi.problems.contains(NotificationCategory.error)) { in addPresentPath()
113 comment += NotificationCategory.error.buttonLabel + ": " + wi.subtype + "; "; in addPresentPath()
DLocaleCompletionData.java8 public LocaleCompletionData(Counter<NotificationCategory> problemCounter) { in LocaleCompletionData()
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()
DNotificationCategory.java3 public enum NotificationCategory { enum
84 NotificationCategory(char abbreviation, String label, String description) { in NotificationCategory() method in NotificationCategory
DVettingParameters.java7 final EnumSet<NotificationCategory> choices;
21 …public VettingParameters(EnumSet<NotificationCategory> choices, CLDRLocale locale, Level coverageL… in VettingParameters()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestVettingViewer.java11 … final EnumSet<NotificationCategory> set1 = VettingViewer.getPriorityItemsSummaryCategories(org); in TestNotificationCategories()
12 final EnumSet<NotificationCategory> set2 = VettingViewer.getLocaleCompletionCategories(); in TestNotificationCategories()
13 if (set1.contains(NotificationCategory.abstained)) { in TestNotificationCategories()
16 if (!set1.contains(NotificationCategory.warning)) { in TestNotificationCategories()
19 if (set2.contains(NotificationCategory.warning)) { in TestNotificationCategories()
DTestUtilities.java40 import org.unicode.cldr.util.NotificationCategory;
225 Counter<NotificationCategory> problemCounter = new Counter<>(); in TestUntimedCounter()
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()
234 Counter<NotificationCategory> otherCounter = new Counter<>(); in TestUntimedCounter()
236 otherCounter.increment(NotificationCategory.error); in TestUntimedCounter()
[all …]
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/
DTestVettingViewer.java63 EnumSet<NotificationCategory> choiceSet = EnumSet.of(NotificationCategory.englishChanged); in testDashboardEnglishChanged()
73 for(NotificationCategory problem : e.getValue().problems) { in testDashboardEnglishChanged()