Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: commit-queue/verification/fake.py

Issue 135363007: Delete public commit queue to avoid confusion after move to internal repo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « commit-queue/verification/base.py ('k') | commit-queue/verification/presubmit_check.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit-queue/verification/fake.py
===================================================================
--- commit-queue/verification/fake.py (revision 249146)
+++ commit-queue/verification/fake.py (working copy)
@@ -1,41 +0,0 @@
-# coding=utf8
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-"""A verifier that does nothing."""
-
-from verification import base
-
-
-class FakeVerifier(base.Verifier):
- name = 'fake'
-
- def __init__(self, state):
- super(FakeVerifier, self).__init__()
- self.state = state
-
- def verify(self, pending):
- pending.verifications[self.name] = base.SimpleStatus(self.state)
-
- def update_status(self, queue):
- pass
-
-
-class DeferredFakeVerifier(base.Verifier):
- name = 'fake'
-
- def __init__(self, state, delay):
- super(DeferredFakeVerifier, self).__init__()
- self.state = state
- self.delay = delay
-
- def verify(self, pending):
- pending.verifications[self.name] = base.SimpleStatus()
-
- def update_status(self, queue):
- if self.delay:
- self.delay -= 1
- return
-
- for _, fake in self.loop(queue, base.SimpleStatus, True):
- fake.state = self.state
« no previous file with comments | « commit-queue/verification/base.py ('k') | commit-queue/verification/presubmit_check.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698