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

Side by Side Diff: components/sync/PRESUBMIT_test.py

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
« no previous file with comments | « components/sync/PRESUBMIT.py ('k') | components/sync/android/BUILD.gn » ('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) 2016 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2016 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 import os 5 import os
6 import re 6 import re
7 import sys 7 import sys
8 import unittest 8 import unittest
9 import PRESUBMIT 9 import PRESUBMIT
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 mock_input_api.files = [ 130 mock_input_api.files = [
131 MockFile(os.path.abspath('./protocol/sync.proto'), 131 MockFile(os.path.abspath('./protocol/sync.proto'),
132 MOCK_PROTOFILE_CONTENTS), 132 MOCK_PROTOFILE_CONTENTS),
133 MockFile(os.path.abspath('./syncable/model_type.cc'), 133 MockFile(os.path.abspath('./syncable/model_type.cc'),
134 MOCK_MODELTYPE_CONTENTS % (modeltype_literal)) 134 MOCK_MODELTYPE_CONTENTS % (modeltype_literal))
135 ] 135 ]
136 136
137 return PRESUBMIT.CheckChangeOnCommit(mock_input_api, MockOutputApi()) 137 return PRESUBMIT.CheckChangeOnCommit(mock_input_api, MockOutputApi())
138 if __name__ == '__main__': 138 if __name__ == '__main__':
139 unittest.main() 139 unittest.main()
OLDNEW
« no previous file with comments | « components/sync/PRESUBMIT.py ('k') | components/sync/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698