/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
D | TestUtilities.java | 53 import org.unicode.cldr.util.VoteResolver; 54 import org.unicode.cldr.util.VoteResolver.Level; 55 import org.unicode.cldr.util.VoteResolver.Status; 56 import org.unicode.cldr.util.VoteResolver.VoterInfo; 385 VoteResolver<String> resolver = new VoteResolver<>(getTestVoterInfoList()); in TestTrunkStatus() 399 VoteResolver<String> resolver = new VoteResolver<>(getTestVoterInfoList()); in TestVoteResolverNgombaTrunkStatus() 410 VoteResolver<String> resolver = new VoteResolver<>(getTestVoterInfoList()); in TestVoteStatus() 445 VoteResolver<String> resolver = new VoteResolver<>(getTestVoterInfoList()); in TestLosingStatus() 478 VoteResolver<String> resolver = new VoteResolver<>(getTestVoterInfoList()); in TestTotalVotesStatus() 510 VoteResolver<String> resolver = new VoteResolver<>(getTestVoterInfoList()); in TestVoteDowngrade() [all …]
|
D | TestCoverageLevel.java | 49 import org.unicode.cldr.util.VoteResolver; 72 …private static final String TC_VOTES = Integer.toString(VoteResolver.Level.tc.getVotes(Organizatio…
|
D | TestCheckCLDR.java | 64 import org.unicode.cldr.util.VoteResolver.VoterInfo; 879 org.unicode.cldr.util.VoteResolver.Level.vetter,
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | VotelessUsersChoice.java | 21 public VoteResolver<String> getVoteResolver(CLDRFile cldrFile, CLDRLocale loc, String path) { in getVoteResolver() 22 final VoteResolver<String> r = new VoteResolver<>(noUsers); in getVoteResolver() 30 final VoteResolver.Status status = VoteResolver.calculateStatus(cldrFile, path); in getVoteResolver()
|
D | CLDRInfo.java | 7 import org.unicode.cldr.util.VoteResolver.Status; 8 import org.unicode.cldr.util.VoteResolver.VoterInfo;
|
D | VoterInfoList.java | 10 import org.unicode.cldr.util.VoteResolver.Level; 11 import org.unicode.cldr.util.VoteResolver.VoterInfo;
|
D | VoterReportStatus.java | 96 Set<T> userList, VoteResolver<ReportAcceptability> res) { in updateResolver()
|
D | VoteResolver.java | 71 public class VoteResolver<T> { class 74 public VoteResolver(VoterInfoList vil) { in VoteResolver() method in VoteResolver 1533 if (winningStatus.compareTo(VoteResolver.Status.contributed) >= 0) { in isDisputed() 1536 VoteResolver.Status possibleStatus = getPossibleWinningStatus(); in isDisputed() 1537 if (possibleStatus.compareTo(VoteResolver.Status.contributed) >= 0) { in isDisputed() 1959 Status status = draft == null ? Status.approved : VoteResolver.Status.fromString(draft); in calculateStatus()
|
D | VettingViewer.java | 155 VoteResolver<String> getVoteResolver(CLDRFile baselineFile, CLDRLocale loc, String path); in getVoteResolver() 551 … VoteResolver<String> resolver = userVoteStatus.getVoteResolver(baselineFile, cldrLocale, path); in recordMissingChangedEtc() 553 if (resolver.getWinningStatus() == VoteResolver.Status.missing) { in recordMissingChangedEtc()
|
D | SupplementalDataInfo.java | 2928 return VoteResolver.HIGH_BAR; 2930 return VoteResolver.LOWER_BAR; 2932 final VoteResolver.Level l = VoteResolver.Level.valueOf(votesStr);
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/ |
D | TestReportStatus.java | 13 import org.unicode.cldr.util.VoteResolver.Status; 14 import org.unicode.cldr.util.VoteResolver.VoterInfo; 85 VoteResolver.Level.vetter, in testResolver() 90 VoteResolver.Level.street, in testResolver() 95 VoteResolver.Level.tc, in testResolver() 100 VoteResolver.Level.vetter, in testResolver() 103 VoteResolver<ReportAcceptability> res = new VoteResolver<>( in testResolver()
|
D | TestSupplementalDataInfo.java | 19 assertEquals(VoteResolver.HIGH_BAR, arm.getRequiredVotes()); in TestApprovalRequirementMatcher() 24 assertEquals(VoteResolver.LOWER_BAR, arm.getRequiredVotes()); in TestApprovalRequirementMatcher() 29 … assertEquals(VoteResolver.Level.tc.getVotes(Organization.guest), arm.getRequiredVotes()); in TestApprovalRequirementMatcher()
|
D | TestVettingViewer.java | 48 …public VoteResolver<String> getVoteResolver(CLDRFile cldrFile, final CLDRLocale loc, final String … in testDashboardEnglishChanged() 49 VoteResolver<String> r = new VoteResolver<>(vil); in testDashboardEnglishChanged()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | ConsoleCheckCLDR.java | 61 import org.unicode.cldr.util.VoteResolver; 62 import org.unicode.cldr.util.VoteResolver.CandidateInfo; 63 import org.unicode.cldr.util.VoteResolver.UnknownVoterException; 364 voteResolver = new VoteResolver<>(voterInfoList); in main() 801 Counter<VoteResolver.Status> winningStatusCounter = new Counter<>(true); 812 …Map<Organization, VoteResolver.Level> orgToMaxVote = voterInfoList.getOrganizationToMaxVote(locale… in LocaleVotingData() 814 Map<Integer, Map<Integer, CandidateInfo>> info = VoteResolver in LocaleVotingData() 847 VoteResolver.Status winningStatus = voteResolver.getWinningStatus(); in LocaleVotingData() 852 if (winningStatus == VoteResolver.Status.approved) { in LocaleVotingData() 857 Map<Organization, VoteResolver.Level> orgToMaxVoteHere = voterInfoList in LocaleVotingData() [all …]
|
D | CheckCLDR.java | 42 import org.unicode.cldr.util.VoteResolver; 43 import org.unicode.cldr.util.VoteResolver.Status; 212 …if (userInfo != null && userInfo.getVoterInfo().getLevel().compareTo(VoteResolver.Level.tc) >= 0) { in getShowRowAction() 290 if (userInfo.getVoterInfo().getLevel().compareTo(VoteResolver.Level.tc) >= 0) { in getAcceptNewItemAction()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
D | ReadSql.java | 27 import org.unicode.cldr.util.VoteResolver.Level;
|
D | ShowLocaleCoverage.java | 62 import org.unicode.cldr.util.VoteResolver.VoterInfo; 1283 …mmyVoterInfo = new VoterInfo(Organization.cldr, org.unicode.cldr.util.VoteResolver.Level.vetter, "…
|
/external/cldr/docs/ldml/ |
D | tr35-info.md | 581 …lue, or it can be of the form `=vetter` where `vetter` is one of the `VoteResolver.Level` enumerat… 582 It can also be `=LOWER_BAR` (8) or `=HIGH_BAR` (same as `=tc`) referring to the `VoteResolver` con…
|