OLD | NEW |
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 Loading... |
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 Loading... |
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: |
OLD | NEW |