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

Side by Side Diff: tests/gclient_scm_test.py

Issue 10454088: Automatically update submodule config entries on sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 8 years, 6 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_scm.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) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 """Unit tests for gclient_scm.py.""" 6 """Unit tests for gclient_scm.py."""
7 7
8 # pylint: disable=E1103 8 # pylint: disable=E1103
9 9
10 # Import before super_mox to keep valid references. 10 # Import before super_mox to keep valid references.
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 def testDir(self): 778 def testDir(self):
779 members = [ 779 members = [
780 'BinaryExists', 780 'BinaryExists',
781 'FullUrlForRelativeUrl', 781 'FullUrlForRelativeUrl',
782 'GetRevisionDate', 782 'GetRevisionDate',
783 'GetUsableRev', 783 'GetUsableRev',
784 'RunCommand', 784 'RunCommand',
785 'cleanup', 785 'cleanup',
786 'diff', 786 'diff',
787 'pack', 787 'pack',
788 'UpdateSubmoduleConfig',
788 'relpath', 789 'relpath',
789 'revert', 790 'revert',
790 'revinfo', 791 'revinfo',
791 'runhooks', 792 'runhooks',
792 'status', 793 'status',
793 'update', 794 'update',
794 'url', 795 'url',
795 ] 796 ]
796 797
797 # If you add a member, be sure to add the relevant test! 798 # If you add a member, be sure to add the relevant test!
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 1225
1225 if __name__ == '__main__': 1226 if __name__ == '__main__':
1226 if '-v' in sys.argv: 1227 if '-v' in sys.argv:
1227 logging.basicConfig( 1228 logging.basicConfig(
1228 level=logging.DEBUG, 1229 level=logging.DEBUG,
1229 format='%(asctime).19s %(levelname)s %(filename)s:' 1230 format='%(asctime).19s %(levelname)s %(filename)s:'
1230 '%(lineno)s %(message)s') 1231 '%(lineno)s %(message)s')
1231 unittest.main() 1232 unittest.main()
1232 1233
1233 # vim: ts=2:sw=2:tw=80:et: 1234 # vim: ts=2:sw=2:tw=80:et:
OLDNEW
« no previous file with comments | « gclient_scm.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698