/external/webkit/Tools/Scripts/webkitpy/common/config/ |
committers_unittest.py | 30 from webkitpy.common.config.committers import CommitterList, Committer, Reviewer 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 looku [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/steps/ |
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...] |
suggestreviewers.py | 47 print "\n".join([reviewer.full_name for reviewer in reviewers]) 50 reviewer_emails = [reviewer.bugzilla_email() for reviewer in reviewers]
|
updatechangelogswithreview_unittest.py | 39 expected_stderr = "0 reviewed patches on bug 75, cannot infer reviewer.\n" 45 options.reviewer = 'MOCK reviewer'
|
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)
|
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/ |
commitinfo_unittest.py | 32 from webkitpy.common.config.committers import CommitterList, Committer, Reviewer 39 reviewer = Reviewer("Reviewer", "reviewer@example.com") 40 committer_list = CommitterList(committers=[author, committer], reviewers=[reviewer]) 47 "reviewer_text": "Reviewer", 48 "reviewer": reviewer, 57 self.assertEqual(commit.reviewer_text(), "Reviewer") [all...] |
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())
|
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]
|
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")),
|
api_unittest.py | 173 self.assertEqual(commitinfo.reviewer(), None) 219 reviewer_names = [reviewer.full_name for reviewer in reviewers]
|
scm_unittest.py | 284 attachment.reviewer = lambda: joe_cool 465 # Joe Cool matches the reviewer set in SCMTest._create_patch [all...] |
/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl | 37 reviewer => "Sue", 84 my $reviewer = $testCase->{reviewer}; 88 my $got = VCSUtils::setChangeLogDateAndReviewer($fixedChangeLog->{patch}, $reviewer, $epochTime);
|
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/ |
commandtest.py | 46 options.reviewer = 'MOCK reviewer'
|
queries.py | 58 print "\n".join([reviewer.full_name for reviewer in reviewers])
|
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/ |
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)
|
attachment.py | 106 def reviewer(self): member in class:Attachment 108 self._reviewer = self._validate_flag_value("reviewer")
|
/external/webkit/Tools/Scripts/ |
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); [all...] |
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);
|
VCSUtils.pm | [all...] |
/external/chromium/testing/gmock/scripts/ |
upload.py | [all...] |
/external/chromium/testing/gtest/scripts/ |
upload.py | [all...] |