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

Side by Side Diff: LayoutTests/PRESUBMIT.py

Issue 1295633003: Cache Storage: replace assert_object_equals w/ assert_response_equals (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review feedback and rebased Created 5 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/cachestorage/resources/test-helpers.js » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 """LayoutTests/ presubmit script for Blink. 5 """LayoutTests/ presubmit script for Blink.
6 6
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into gcl. 8 for more details about the presubmit API built into gcl.
9 """ 9 """
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 ], [ 42 ], [
43 'resources/testharnessreport.js', 43 'resources/testharnessreport.js',
44 'http/tests/resources/testharnessreport.js', 44 'http/tests/resources/testharnessreport.js',
45 'http/tests/w3c/resources/testharnessreport.js', 45 'http/tests/w3c/resources/testharnessreport.js',
46 ], [ 46 ], [
47 'resources/idlharness.js', 47 'resources/idlharness.js',
48 'http/tests/w3c/resources/idlharness.js', 48 'http/tests/w3c/resources/idlharness.js',
49 ], [ 49 ], [
50 'resources/WebIDLParser.js', 50 'resources/WebIDLParser.js',
51 'http/tests/w3c/resources/WebIDLParser.js', 51 'http/tests/w3c/resources/WebIDLParser.js',
52 ], [
53 'resources/testharness-helpers.js',
54 'http/tests/resources/testharness-helpers.js',
52 ]] 55 ]]
53 56
54 def _absolute_path(s): 57 def _absolute_path(s):
55 return input_api.os_path.join(input_api.PresubmitLocalPath(), *s.split(' /')) 58 return input_api.os_path.join(input_api.PresubmitLocalPath(), *s.split(' /'))
56 59
57 def _local_path(s): 60 def _local_path(s):
58 return input_api.os_path.join('LayoutTests', *s.split('/')) 61 return input_api.os_path.join('LayoutTests', *s.split('/'))
59 62
60 errors = [] 63 errors = []
61 for group in groups: 64 for group in groups:
(...skipping 12 matching lines...) Expand all
74 results.extend(_CheckTestharnessResults(input_api, output_api)) 77 results.extend(_CheckTestharnessResults(input_api, output_api))
75 results.extend(_CheckIdenticalFiles(input_api, output_api)) 78 results.extend(_CheckIdenticalFiles(input_api, output_api))
76 return results 79 return results
77 80
78 81
79 def CheckChangeOnCommit(input_api, output_api): 82 def CheckChangeOnCommit(input_api, output_api):
80 results = [] 83 results = []
81 results.extend(_CheckTestharnessResults(input_api, output_api)) 84 results.extend(_CheckTestharnessResults(input_api, output_api))
82 results.extend(_CheckIdenticalFiles(input_api, output_api)) 85 results.extend(_CheckIdenticalFiles(input_api, output_api))
83 return results 86 return results
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/cachestorage/resources/test-helpers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698