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

Side by Side Diff: Tools/Scripts/webkitpy/tool/steps/haslanded_unittest.py

Issue 20652002: Fix trailing whitespace in scripts and misc. files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't change literal diff. Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (C) 2009 Google Inc. All rights reserved. 1 # Copyright (C) 2009 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 index 219ba72..0390b73 100644 186 index 219ba72..0390b73 100644
187 --- a/Tools/ChangeLog 187 --- a/Tools/ChangeLog
188 +++ b/Tools/ChangeLog 188 +++ b/Tools/ChangeLog
189 @@ -1,3 +1,32 @@ 189 @@ -1,3 +1,32 @@
190 +2013-01-17 Tim 'mithro' Ansell <mithro@mithis.com> 190 +2013-01-17 Tim 'mithro' Ansell <mithro@mithis.com>
191 + 191 +
192 + Adding "has-landed" command to webkit-patch which allows a person to 192 + Adding "has-landed" command to webkit-patch which allows a person to
193 + Reviewed by NOBODY (OOPS!). 193 + Reviewed by NOBODY (OOPS!).
194 + 194 +
195 2013-01-20 Tim 'mithro' Ansell <mithro@mithis.com> 195 2013-01-20 Tim 'mithro' Ansell <mithro@mithis.com>
196 196
197 Extend diff_parser to support the --full-index output. 197 Extend diff_parser to support the --full-index output.
198 diff --git a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py b/Tools/Scripts/w ebkitpy/common/net/bugzilla/bug.py 198 diff --git a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py b/Tools/Scripts/w ebkitpy/common/net/bugzilla/bug.py
199 index 4bf8ec6..3a128cb 100644 199 index 4bf8ec6..3a128cb 100644
200 --- a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 200 --- a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
201 +++ b/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 201 +++ b/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
202 @@ -28,6 +28,8 @@ 202 @@ -28,6 +28,8 @@
203 +import re 203 +import re
204 + 204 +
205 from .attachment import Attachment 205 from .attachment import Attachment
206 206
207 """) 207 """)
208 testafter1 = HasLanded.convert_to_svn("""\ 208 testafter1 = HasLanded.convert_to_svn("""\
209 diff --git a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py b/Tools/Scripts/w ebkitpy/common/net/bugzilla/bug.py 209 diff --git a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py b/Tools/Scripts/w ebkitpy/common/net/bugzilla/bug.py
210 index 4bf8ec6..3a128cb 100644 210 index 4bf8ec6..3a128cb 100644
211 --- a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 211 --- a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
212 +++ b/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 212 +++ b/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
213 @@ -28,6 +28,8 @@ 213 @@ -28,6 +28,8 @@
214 +import re 214 +import re
215 + 215 +
216 from .attachment import Attachment 216 from .attachment import Attachment
217 217
218 diff --git a/Tools/ChangeLog b/Tools/ChangeLog 218 diff --git a/Tools/ChangeLog b/Tools/ChangeLog
219 index 219ba72..0390b73 100644 219 index 219ba72..0390b73 100644
220 --- a/Tools/ChangeLog 220 --- a/Tools/ChangeLog
221 +++ b/Tools/ChangeLog 221 +++ b/Tools/ChangeLog
222 @@ -1,3 +1,32 @@ 222 @@ -1,3 +1,32 @@
223 +2013-01-17 Tim 'mithro' Ansell <mithro@mithis.com> 223 +2013-01-17 Tim 'mithro' Ansell <mithro@mithis.com>
224 + 224 +
225 + Adding "has-landed" command to webkit-patch which allows a person to 225 + Adding "has-landed" command to webkit-patch which allows a person to
226 + Reviewed by NOBODY (OOPS!). 226 + Reviewed by NOBODY (OOPS!).
227 + 227 +
228 2013-01-20 Tim 'mithro' Ansell <mithro@mithis.com> 228 2013-01-20 Tim 'mithro' Ansell <mithro@mithis.com>
229 229
230 Extend diff_parser to support the --full-index output. 230 Extend diff_parser to support the --full-index output.
231 """) 231 """)
232 testexpected1 = """\ 232 testexpected1 = """\
233 Index: Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 233 Index: Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
234 =================================================================== 234 ===================================================================
235 --- Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 235 --- Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
236 +++ Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 236 +++ Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
237 @@ -28,6 +28,8 @@ 237 @@ -28,6 +28,8 @@
238 +import re 238 +import re
239 + 239 +
240 from .attachment import Attachment 240 from .attachment import Attachment
241 241
242 """ 242 """
243 testmiddle1 = HasLanded.convert_to_svn("""\ 243 testmiddle1 = HasLanded.convert_to_svn("""\
244 diff --git a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py b/Tools/Scripts/w ebkitpy/common/net/bugzilla/bug.py 244 diff --git a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py b/Tools/Scripts/w ebkitpy/common/net/bugzilla/bug.py
245 index 4bf8ec6..3a128cb 100644 245 index 4bf8ec6..3a128cb 100644
246 --- a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 246 --- a/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
247 +++ b/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 247 +++ b/Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
248 @@ -28,6 +28,8 @@ 248 @@ -28,6 +28,8 @@
249 +import re 249 +import re
250 + 250 +
251 from .attachment import Attachment 251 from .attachment import Attachment
252 252
253 diff --git a/ChangeLog b/ChangeLog 253 diff --git a/ChangeLog b/ChangeLog
254 index 219ba72..0390b73 100644 254 index 219ba72..0390b73 100644
255 --- a/ChangeLog 255 --- a/ChangeLog
256 +++ b/ChangeLog 256 +++ b/ChangeLog
257 @@ -1,3 +1,32 @@ 257 @@ -1,3 +1,32 @@
258 +2013-01-17 Tim 'mithro' Ansell <mithro@mithis.com> 258 +2013-01-17 Tim 'mithro' Ansell <mithro@mithis.com>
259 + 259 +
260 + Adding "has-landed" command to webkit-patch which allows a person to 260 + Adding "has-landed" command to webkit-patch which allows a person to
261 + Reviewed by NOBODY (OOPS!). 261 + Reviewed by NOBODY (OOPS!).
262 + 262 +
263 2013-01-20 Tim 'mithro' Ansell <mithro@mithis.com> 263 2013-01-20 Tim 'mithro' Ansell <mithro@mithis.com>
264 264
265 Extend diff_parser to support the --full-index output. 265 Extend diff_parser to support the --full-index output.
266 diff --git a/Tools/Scripts/webkitpy/common/other.py b/Tools/Scripts/webkitpy/com mon/other.py 266 diff --git a/Tools/Scripts/webkitpy/common/other.py b/Tools/Scripts/webkitpy/com mon/other.py
267 index 4bf8ec6..3a128cb 100644 267 index 4bf8ec6..3a128cb 100644
268 --- a/Tools/Scripts/webkitpy/common/other.py 268 --- a/Tools/Scripts/webkitpy/common/other.py
269 +++ b/Tools/Scripts/webkitpy/common/other.py 269 +++ b/Tools/Scripts/webkitpy/common/other.py
270 @@ -28,6 +28,8 @@ 270 @@ -28,6 +28,8 @@
271 +import re 271 +import re
272 + 272 +
273 from .attachment import Attachment 273 from .attachment import Attachment
274 274
275 """) 275 """)
276 testexpected2 = """\ 276 testexpected2 = """\
277 Index: Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 277 Index: Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
278 =================================================================== 278 ===================================================================
279 --- Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 279 --- Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
280 +++ Tools/Scripts/webkitpy/common/net/bugzilla/bug.py 280 +++ Tools/Scripts/webkitpy/common/net/bugzilla/bug.py
281 @@ -28,6 +28,8 @@ 281 @@ -28,6 +28,8 @@
282 +import re 282 +import re
283 + 283 +
284 from .attachment import Attachment 284 from .attachment import Attachment
285 285
286 Index: Tools/Scripts/webkitpy/common/other.py 286 Index: Tools/Scripts/webkitpy/common/other.py
287 =================================================================== 287 ===================================================================
288 --- Tools/Scripts/webkitpy/common/other.py 288 --- Tools/Scripts/webkitpy/common/other.py
289 +++ Tools/Scripts/webkitpy/common/other.py 289 +++ Tools/Scripts/webkitpy/common/other.py
290 @@ -28,6 +28,8 @@ 290 @@ -28,6 +28,8 @@
291 +import re 291 +import re
292 + 292 +
293 from .attachment import Attachment 293 from .attachment import Attachment
294 294
295 """ 295 """
296 296
297 self.assertMultiLineEqual(testexpected1, HasLanded.strip_change_log(test before1)) 297 self.assertMultiLineEqual(testexpected1, HasLanded.strip_change_log(test before1))
298 self.assertMultiLineEqual(testexpected1, HasLanded.strip_change_log(test after1)) 298 self.assertMultiLineEqual(testexpected1, HasLanded.strip_change_log(test after1))
299 self.assertMultiLineEqual(testexpected2, HasLanded.strip_change_log(test middle1)) 299 self.assertMultiLineEqual(testexpected2, HasLanded.strip_change_log(test middle1))
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py ('k') | Tools/Scripts/webkitpy/tool/steps/metastep.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698