Home | History | Annotate | Download | only in webkitpy

Lines Matching full:self

179     def __init__(self, bugzilla):
180 Mock.__init__(self)
181 self._bugzilla = bugzilla
183 def _all_bugs(self):
184 return map(lambda bug_dictionary: Bug(bug_dictionary, self._bugzilla),
185 self._bugzilla.bug_cache.values())
187 def fetch_bug_ids_from_commit_queue(self):
190 self._all_bugs())
193 def fetch_attachment_ids_from_review_queue(self):
195 for bug in self._all_bugs()], [])
198 def fetch_patches_from_commit_queue(self):
200 for bug in self._all_bugs()], [])
202 def fetch_bug_ids_from_pending_commit_list(self):
204 self._all_bugs())
211 def fetch_patches_from_pending_commit_list(self):
212 return sum([bug.reviewed_patches() for bug in self._all_bugs()], [])
236 def __init__(self):
237 Mock.__init__(self)
238 self.queries = MockBugzillaQueries(self)
239 self.committers = CommitterList(reviewers=[Reviewer("Foo Bar",
242 def fetch_bug(self, bug_id):
243 return Bug(self.bug_cache.get(bug_id), self)
245 def fetch_attachment(self, attachment_id):
247 attachment_dictionary = self.attachment_cache[attachment_id]
248 bug = self.fetch_bug(attachment_dictionary["bug_id"])
253 def bug_url_for_bug_id(self, bug_id):
254 return "%s/%s" % (self.bug_server_url, bug_id)
256 def fetch_bug_dictionary(self, bug_id):
257 return self.bug_cache.get(bug_id)
259 def attachment_url_for_id(self, attachment_id, action="view"):
263 return "%s/%s%s" % (self.bug_server_url, attachment_id, action_param)
268 def builder_statuses(self):
277 def red_core_builders_names(self):
283 def __init__(self):
284 Mock.__init__(self)
285 self.checkout_root = os.getcwd()
287 def create_patch(self):
290 def commit_ids_from_commitish_arguments(self, args):
293 def commit_message_for_local_commit(self, commit_id):
302 def create_patch_from_local_commit(self, commit_id):
309 def diff_for_revision(self, revision):
313 def svn_revision_from_commit_text(self, commit_text):
316 def modified_changelogs(self):
328 def edit(self, files):
331 def page(self, message):
334 def confirm(self, message=None):
337 def open_url(self, url):
344 def __init__(self):
345 self.host = "example.com"
347 def patch_status(self, queue_name, patch_id):
350 def update_status(self, queue_name, status, patch=None, results_file=None):
356 def __init__(self):
357 self.bugs = MockBugzilla()
358 self.buildbot = MockBuildBot()
359 self.executive = Mock()
360 self.user = MockUser()
361 self._scm = MockSCM()
362 self.status_server = MockStatusServer()
364 def scm(self):
365 return self._scm
367 def path(self):