Searched refs:reviewer (Results 1 - 25 of 26) sorted by relevance

12

/external/webkit/Tools/Scripts/webkitpy/common/config/
H A Dcommitters_unittest.py36 reviewer = Reviewer('Test Two', ['two@test.com', 'two@rad.com', 'so_two@gmail.com'])
37 committer_list = CommitterList(committers=[committer], reviewers=[reviewer])
39 # Test valid committer and reviewer lookup
41 self.assertEqual(committer_list.reviewer_by_email('two@test.com'), reviewer)
42 self.assertEqual(committer_list.committer_by_email('two@test.com'), reviewer)
43 self.assertEqual(committer_list.committer_by_email('two@rad.com'), reviewer)
44 self.assertEqual(committer_list.reviewer_by_email('so_two@gmail.com'), reviewer)
46 # Test valid committer and reviewer lookup
48 self.assertEqual(committer_list.committer_by_name("Test Two"), reviewer)
54 # Test that a known committer is not returned during reviewer looku
[all...]
/external/webkit/Tools/Scripts/webkitpy/tool/steps/
H A Dupdatechangelogswithreviewer.py42 Options.reviewer,
48 log("%s on bug %s, cannot infer reviewer." % (pluralize("reviewed patch", len(patches)), bug_id))
51 log("Guessing \"%s\" as reviewer from attachment %s on bug %s." % (patch.reviewer().full_name, patch.id(), bug_id))
52 return patch.reviewer().full_name
59 reviewer = self._options.reviewer
60 if not reviewer:
62 log("No bug id provided and --reviewer= not provided. Not updating ChangeLogs with reviewer
[all...]
H A Dsuggestreviewers.py47 print "\n".join([reviewer.full_name for reviewer in reviewers])
50 reviewer_emails = [reviewer.bugzilla_email() for reviewer in reviewers]
H A Dupdatechangelogswithreview_unittest.py39 expected_stderr = "0 reviewed patches on bug 75, cannot infer reviewer.\n"
45 options.reviewer = 'MOCK reviewer'
H A Dvalidatereviewer.py42 if changelog_entry.reviewer():
61 log("%s found in %s does not appear to be a valid reviewer according to committers.py." % (reviewer_text, changelog_path))
62 error('%s neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).' % changelog_path)
H A Doptions.py56 reviewer = make_option("-r", "--reviewer", action="store", type="string", dest="reviewer", help="Update ChangeLogs to say Reviewed by REVIEWER.") variable in class:Options
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
H A Dcommitinfo_unittest.py39 reviewer = Reviewer("Reviewer", "reviewer@example.com")
40 committer_list = CommitterList(committers=[author, committer], reviewers=[reviewer])
48 "reviewer": reviewer,
58 self.assertEqual(commit.reviewer(), reviewer)
61 self.assertEqual(commit.responsible_parties(), set([author, committer, reviewer]))
H A Dcommitinfo.py44 self._reviewer = changelog_data["reviewer"]
70 def reviewer(self): member in class:CommitInfo
80 self.reviewer(),
91 string += " Reviewer: %s\n" % (self.reviewer() or self.reviewer_text())
H A Dapi.py93 "reviewer": changelog_entry.reviewer(),
142 reviewers = [commit_info.reviewer() for commit_info in commit_infos if commit_info.reviewer()]
160 if patch.reviewer():
161 args += ['--reviewer', patch.reviewer().full_name]
H A Dchangelog.py63 match = re.search("^\s+Reviewed by (?P<reviewer>.*?)[\.,]?\s*$", self._contents, re.MULTILINE) # Discard everything after the first period
64 self._reviewer_text = match.group("reviewer") if match else None
78 # FIXME: Eventually we would like to map reviwer names to reviewer objects.
83 def reviewer(self): member in class:ChangeLogEntry
169 def set_reviewer(self, reviewer):
173 print line.replace("NOBODY (OOPS!)", reviewer.encode("utf-8")),
H A Dapi_unittest.py173 self.assertEqual(commitinfo.reviewer(), None)
219 reviewer_names = [reviewer.full_name for reviewer in reviewers]
H A Dchangelog_unittest.py102 self.assertTrue(latest_entry.reviewer()) # Make sure that our UTF8-based lookup of Tor works.
/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/
H A DfixChangeLogPatchThenSetChangeLogDateAndReviewer.pl37 reviewer => "Sue",
84 my $reviewer = $testCase->{reviewer};
88 my $got = VCSUtils::setChangeLogDateAndReviewer($fixedChangeLog->{patch}, $reviewer, $epochTime);
H A DsetChangeLogDateAndReviewer.pl35 testName => "reviewer defined and \"NOBODY (OOPS!)\" in leading junk",
36 reviewer => "John Doe",
74 testName => "reviewer not defined and \"NOBODY (OOPS!)\" in leading junk",
75 reviewer => undef,
121 my $reviewer = $testCase->{reviewer};
124 my $got = VCSUtils::setChangeLogDateAndReviewer($patch, $reviewer, $epochTime);
/external/webkit/Tools/Scripts/webkitpy/tool/commands/
H A Dcommandtest.py46 options.reviewer = 'MOCK reviewer'
H A Dqueries.py58 print "\n".join([reviewer.full_name for reviewer in reviewers])
H A Dupload.py76 if patch.reviewer():
77 what_was_cleared.append("%s's review+" % patch.reviewer().full_name)
227 long_help = """land-safely updates the ChangeLog with the reviewer listed
/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/
H A Dattachment.py106 def reviewer(self): member in class:Attachment
108 self._reviewer = self._validate_flag_value("reviewer")
H A Dbug.py101 # Checking reviewer() ensures that it was both reviewed and has a valid
102 # reviewer.
103 return filter(lambda patch: patch.reviewer(), patches)
/external/webkit/Tools/Scripts/
H A Dprepare-ChangeLog124 "git-reviewer:s" => \$gitReviewer,
130 print STDERR basename($0) . " [-b|--bug=<bugid>] [-d|--diff] [-h|--help] [-o|--open] [-g|--git-commit=<committish>] [--git-reviewer=<name>] [svndir1 [svndir2 ...]]\n";
137 print STDERR " --git-reviewer When populating the ChangeLogs from a git commit claim that the spcified name reviewed the change.\n";
393 my ($reviewer, $description) = reviewerAndDescriptionForGitCommit($gitCommit) if $gitCommit;
394 $reviewer = "NOBODY (OO" . "PS!)" if !$reviewer;
396 print CHANGE_LOG normalizeLineEndings(" Reviewed by $reviewer.\n\n", $endl);
1657 my $reviewer;
1686 if (!$reviewer) {
1687 $reviewer
[all...]
H A Dsvn-apply91 my $reviewer;
97 "reviewer=s" => \$reviewer,
102 print STDERR basename($0) . " [-h|--help] [--force] [-m|--merge] [-r|--reviewer name] patch1 [patch2 ...]\n";
330 my $newPatch = setChangeLogDateAndReviewer($changeLogHash->{patch}, $reviewer, $epochTime);
H A DVCSUtils.pm1341 # Set the reviewer and date in a ChangeLog patch, and return the new patch.
1345 # $reviewer: the name of the reviewer, or undef if the reviewer should not be set.
1349 my ($patch, $reviewer, $epochTime) = @_;
1357 if (defined($reviewer)) {
1361 $patch =~ s/(\n\+.*)NOBODY \(OOPS!\)/$1$reviewer/;
/external/regex-re2/lib/codereview/
H A Dcodereview.py208 # too: the description, reviewer, and cc list are all stored there.
225 self.reviewer = []
261 s += "Reviewer: " + JoinComma(cl.reviewer) + "\n"
285 s += "\tReviewer: " + JoinComma(cl.reviewer) + "\n"
308 reviewers=JoinComma(self.reviewer), cc=JoinComma(self.cc),
333 ("reviewers", JoinComma(self.reviewer)),
402 pmsg = "Hello " + JoinComma(self.reviewer)
472 cl.reviewer = SplitCommaSpace(sections['Reviewer'])
547 cl.reviewer = d.get('reviewers', [])
935 cl.reviewer
[all...]
/external/chromium/testing/gmock/scripts/
H A Dupload.py1306 for reviewer in options.reviewers.split(','):
1307 if "@" in reviewer and not reviewer.split("@")[1].count(".") == 1:
1308 ErrorExit("Invalid email address: %s" % reviewer)
/external/chromium/testing/gtest/scripts/
H A Dupload.py1306 for reviewer in options.reviewers.split(','):
1307 if "@" in reviewer and not reviewer.split("@")[1].count(".") == 1:
1308 ErrorExit("Invalid email address: %s" % reviewer)

Completed in 6248 milliseconds

12