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

Side by Side Diff: testing_support/patches_data.py

Issue 8539016: Fix deleted empty files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « patch.py ('k') | tests/rietveld_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Samples patches to test patch.py.""" 5 """Samples patches to test patch.py."""
6 6
7 7
8 class RAW(object): 8 class RAW(object):
9 PATCH = ( 9 PATCH = (
10 'Index: chrome/file.cc\n' 10 'Index: chrome/file.cc\n'
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 '-These are terrible, terrible hacks.\n' 91 '-These are terrible, terrible hacks.\n'
92 '-\n' 92 '-\n'
93 '-They are meant \n' 93 '-They are meant \n'
94 '-AND doing the normal \n' 94 '-AND doing the normal \n'
95 '-run during normal \n' 95 '-run during normal \n'
96 '-build system to do a syntax check.\n' 96 '-build system to do a syntax check.\n'
97 '-\n' 97 '-\n'
98 '-Also see\n' 98 '-Also see\n'
99 '\n') 99 '\n')
100 100
101 # http://codereview.chromium.org/download/issue8508015_6001_7001.diff
102 DELETE_EMPTY = (
103 'Index: tests/__init__.py\n'
104 'diff --git a/tests/__init__.py b/tests/__init__.py\n'
105 'deleted file mode 100644\n'
106 'index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..'
107 '0000000000000000000000000000000000000000\n')
108
101 # http://codereview.chromium.org/download/issue6250123_3013_6010.diff 109 # http://codereview.chromium.org/download/issue6250123_3013_6010.diff
102 RENAME_PARTIAL = ( 110 RENAME_PARTIAL = (
103 'Index: chromeos/views/webui_menu_widget.h\n' 111 'Index: chromeos/views/webui_menu_widget.h\n'
104 'diff --git a/chromeos/views/DOMui_menu_widget.h ' 112 'diff --git a/chromeos/views/DOMui_menu_widget.h '
105 'b/chromeos/views/webui_menu_widget.h\n' 113 'b/chromeos/views/webui_menu_widget.h\n'
106 'similarity index 79%\n' 114 'similarity index 79%\n'
107 'rename from chromeos/views/DOMui_menu_widget.h\n' 115 'rename from chromeos/views/DOMui_menu_widget.h\n'
108 'rename to chromeos/views/webui_menu_widget.h\n' 116 'rename to chromeos/views/webui_menu_widget.h\n'
109 'index 095d4c474fd9718f5aebfa41a1ccb2d951356d41..' 117 'index 095d4c474fd9718f5aebfa41a1ccb2d951356d41..'
110 '157925075434b590e8acaaf605a64f24978ba08b 100644\n' 118 '157925075434b590e8acaaf605a64f24978ba08b 100644\n'
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 MODE_EXE = ( 199 MODE_EXE = (
192 'diff --git a/git_cl/git-cl b/git_cl/git-cl\n' 200 'diff --git a/git_cl/git-cl b/git_cl/git-cl\n'
193 'old mode 100644\n' 201 'old mode 100644\n'
194 'new mode 100755\n') 202 'new mode 100755\n')
195 203
196 MODE_EXE_JUNK = ( 204 MODE_EXE_JUNK = (
197 'Index: Junk\n' 205 'Index: Junk\n'
198 'diff --git a/git_cl/git-cl b/git_cl/git-cl\n' 206 'diff --git a/git_cl/git-cl b/git_cl/git-cl\n'
199 'old mode 100644\n' 207 'old mode 100644\n'
200 'new mode 100755\n') 208 'new mode 100755\n')
OLDNEW
« no previous file with comments | « patch.py ('k') | tests/rietveld_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698