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

Unified Diff: PRESUBMIT_unittest.py

Issue 119201: Add the tree check there instead of implementing it in the root PRESUBMIT.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « PRESUBMIT.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT_unittest.py
===================================================================
--- PRESUBMIT_unittest.py (revision 17630)
+++ PRESUBMIT_unittest.py (working copy)
@@ -40,7 +40,10 @@
def LocalPath(self):
return self.path
+ def AbsoluteLocalPath(self):
+ return self.path
+
class MockOutputApi(object):
class PresubmitError(object):
def __init__(self, msg, items=[], long_text=''):
« no previous file with comments | « PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698