Home
last modified time | relevance | path

Searched refs:VoteResolver (Results 1 – 18 of 18) sorted by relevance

/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestUtilities.java53 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 …]
DTestCoverageLevel.java49 import org.unicode.cldr.util.VoteResolver;
72 …private static final String TC_VOTES = Integer.toString(VoteResolver.Level.tc.getVotes(Organizatio…
DTestCheckCLDR.java64 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/
DVotelessUsersChoice.java21 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()
DCLDRInfo.java7 import org.unicode.cldr.util.VoteResolver.Status;
8 import org.unicode.cldr.util.VoteResolver.VoterInfo;
DVoterInfoList.java10 import org.unicode.cldr.util.VoteResolver.Level;
11 import org.unicode.cldr.util.VoteResolver.VoterInfo;
DVoterReportStatus.java96 Set<T> userList, VoteResolver<ReportAcceptability> res) { in updateResolver()
DVoteResolver.java71 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()
DVettingViewer.java155 VoteResolver<String> getVoteResolver(CLDRFile baselineFile, CLDRLocale loc, String path); in getVoteResolver()
551VoteResolver<String> resolver = userVoteStatus.getVoteResolver(baselineFile, cldrLocale, path); in recordMissingChangedEtc()
553 if (resolver.getWinningStatus() == VoteResolver.Status.missing) { in recordMissingChangedEtc()
DSupplementalDataInfo.java2928 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/
DTestReportStatus.java13 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()
DTestSupplementalDataInfo.java19 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()
DTestVettingViewer.java48 …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/
DConsoleCheckCLDR.java61 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 …]
DCheckCLDR.java42 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/
DReadSql.java27 import org.unicode.cldr.util.VoteResolver.Level;
DShowLocaleCoverage.java62 import org.unicode.cldr.util.VoteResolver.VoterInfo;
1283 …mmyVoterInfo = new VoterInfo(Organization.cldr, org.unicode.cldr.util.VoteResolver.Level.vetter, "…
/external/cldr/docs/ldml/
Dtr35-info.md581 …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…