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

Side by Side Diff: tests/gclient_utils_test.py

Issue 7909012: Retry "Initial step into making Dependency thread safe"" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: rebase against head Created 9 years, 3 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 | « gclient_utils.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # pylint: disable=E1101,W0403 6 # pylint: disable=E1101,W0403
7 7
8 import os 8 import os
9 import StringIO 9 import StringIO
10 10
(...skipping 17 matching lines...) Expand all
28 """General gclient_utils.py tests.""" 28 """General gclient_utils.py tests."""
29 def testMembersChanged(self): 29 def testMembersChanged(self):
30 members = [ 30 members = [
31 'CheckCallAndFilter', 31 'CheckCallAndFilter',
32 'CheckCallAndFilterAndHeader', 'Error', 'ExecutionQueue', 'FileRead', 32 'CheckCallAndFilterAndHeader', 'Error', 'ExecutionQueue', 'FileRead',
33 'FileWrite', 'FindFileUpwards', 'FindGclientRoot', 33 'FileWrite', 'FindFileUpwards', 'FindGclientRoot',
34 'GetGClientRootAndEntries', 'IsDateRevision', 'MakeDateRevision', 34 'GetGClientRootAndEntries', 'IsDateRevision', 'MakeDateRevision',
35 'MakeFileAutoFlush', 'MakeFileAnnotated', 'PathDifference', 35 'MakeFileAutoFlush', 'MakeFileAnnotated', 'PathDifference',
36 'PrintableObject', 'RemoveDirectory', 'SoftClone', 'SplitUrlRevision', 36 'PrintableObject', 'RemoveDirectory', 'SoftClone', 'SplitUrlRevision',
37 'SyntaxErrorToError', 'WorkItem', 37 'SyntaxErrorToError', 'WorkItem',
38 'errno', 'logging', 'os', 'Queue', 're', 'rmtree', 38 'errno', 'lockedmethod', 'logging', 'os', 'Queue', 're', 'rmtree',
39 'stat', 'subprocess2', 'sys','threading', 'time', 39 'stat', 'subprocess2', 'sys','threading', 'time',
40 ] 40 ]
41 # If this test fails, you should add the relevant test. 41 # If this test fails, you should add the relevant test.
42 self.compareMembers(gclient_utils, members) 42 self.compareMembers(gclient_utils, members)
43 43
44 44
45 45
46 class CheckCallAndFilterTestCase(GclientUtilBase): 46 class CheckCallAndFilterTestCase(GclientUtilBase):
47 class ProcessIdMock(object): 47 class ProcessIdMock(object):
48 def __init__(self, test_string): 48 def __init__(self, test_string):
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 os.chmod(l3, 0) 167 os.chmod(l3, 0)
168 os.chmod(l2, 0) 168 os.chmod(l2, 0)
169 os.chmod(l1, 0) 169 os.chmod(l1, 0)
170 170
171 171
172 if __name__ == '__main__': 172 if __name__ == '__main__':
173 import unittest 173 import unittest
174 unittest.main() 174 unittest.main()
175 175
176 # vim: ts=2:sw=2:tw=80:et: 176 # vim: ts=2:sw=2:tw=80:et:
OLDNEW
« no previous file with comments | « gclient_utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698