diff options
author | dbeam <dbeam@chromium.org> | 2016-02-10 14:58:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-10 23:00:46 +0000 |
commit | 37e8e740cb9888582189876d07e0b4dbdc1cae37 (patch) | |
tree | 6c5772059e65c4b142b953422b2bfda04e66e8d5 /PRESUBMIT_test_mocks.py | |
parent | 2901378a3c187dbe7ce9c4ac9a5201194d6e4e49 (diff) | |
download | chromium_src-37e8e740cb9888582189876d07e0b4dbdc1cae37.zip chromium_src-37e8e740cb9888582189876d07e0b4dbdc1cae37.tar.gz chromium_src-37e8e740cb9888582189876d07e0b4dbdc1cae37.tar.bz2 |
Add presubmit warning about deprecated compiled_resources.gyp
Just use v2 instead ;) (compiled_resources2.gyp)
R=maruel@chromium.org,cpu@chromium.org
BUG=585553
Review URL: https://codereview.chromium.org/1686663002
Cr-Commit-Position: refs/heads/master@{#374762}
Diffstat (limited to 'PRESUBMIT_test_mocks.py')
-rw-r--r-- | PRESUBMIT_test_mocks.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PRESUBMIT_test_mocks.py b/PRESUBMIT_test_mocks.py index 8e15d8c..f68c134 100644 --- a/PRESUBMIT_test_mocks.py +++ b/PRESUBMIT_test_mocks.py @@ -97,6 +97,9 @@ class MockFile(object): self._new_contents = new_contents self._changed_contents = [(i + 1, l) for i, l in enumerate(new_contents)] + def Action(self): + return 'A' # TODO(dbeam): feel free to change if your test actually uses. + def ChangedContents(self): return self._changed_contents |