/external/webkit/Tools/Scripts/webkitpy/common/config/ |
H A D | committers_unittest.py | 36 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 D | updatechangelogswithreviewer.py | 42 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 D | suggestreviewers.py | 47 print "\n".join([reviewer.full_name for reviewer in reviewers]) 50 reviewer_emails = [reviewer.bugzilla_email() for reviewer in reviewers]
|
H A D | updatechangelogswithreview_unittest.py | 39 expected_stderr = "0 reviewed patches on bug 75, cannot infer reviewer.\n" 45 options.reviewer = 'MOCK reviewer'
|
H A D | validatereviewer.py | 42 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 D | options.py | 56 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 D | commitinfo_unittest.py | 39 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 D | commitinfo.py | 44 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 D | api.py | 93 "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 D | changelog.py | 63 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 D | api_unittest.py | 173 self.assertEqual(commitinfo.reviewer(), None) 219 reviewer_names = [reviewer.full_name for reviewer in reviewers]
|
H A D | changelog_unittest.py | 102 self.assertTrue(latest_entry.reviewer()) # Make sure that our UTF8-based lookup of Tor works.
|
/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
H A D | fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl | 37 reviewer => "Sue", 84 my $reviewer = $testCase->{reviewer}; 88 my $got = VCSUtils::setChangeLogDateAndReviewer($fixedChangeLog->{patch}, $reviewer, $epochTime);
|
H A D | setChangeLogDateAndReviewer.pl | 35 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 D | commandtest.py | 46 options.reviewer = 'MOCK reviewer'
|
H A D | queries.py | 58 print "\n".join([reviewer.full_name for reviewer in reviewers])
|
H A D | upload.py | 76 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 D | attachment.py | 106 def reviewer(self): member in class:Attachment 108 self._reviewer = self._validate_flag_value("reviewer")
|
H A D | bug.py | 101 # 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 D | prepare-ChangeLog | 124 "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 D | svn-apply | 91 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 D | VCSUtils.pm | 1341 # 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 D | codereview.py | 208 # 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 D | upload.py | 1306 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 D | upload.py | 1306 for reviewer in options.reviewers.split(','): 1307 if "@" in reviewer and not reviewer.split("@")[1].count(".") == 1: 1308 ErrorExit("Invalid email address: %s" % reviewer)
|