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

Side by Side Diff: tests/scm_unittest.py

Issue 14247007: Use --internal-diff only for svn >= 1.7. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Created 7 years, 8 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
« scm.py ('K') | « scm.py ('k') | tests/trychange_unittest.py » ('j') | 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 scm.py.""" 6 """Unit tests for scm.py."""
7 7
8 import logging 8 import logging
9 import os 9 import os
10 import sys 10 import sys
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 def testMembersChanged(self): 197 def testMembersChanged(self):
198 self.mox.ReplayAll() 198 self.mox.ReplayAll()
199 members = [ 199 members = [
200 'AssertVersion', 200 'AssertVersion',
201 'Capture', 201 'Capture',
202 'CaptureLocalInfo', 202 'CaptureLocalInfo',
203 'CaptureRemoteInfo', 203 'CaptureRemoteInfo',
204 'CaptureRevision', 204 'CaptureRevision',
205 'CaptureStatus', 205 'CaptureStatus',
206 'current_version', 206 'current_version',
207 'DiffItem',
208 'GenerateDiff', 207 'GenerateDiff',
209 'GetCheckoutRoot', 208 'GetCheckoutRoot',
210 'GetEmail', 209 'GetEmail',
211 'GetFileProperty', 210 'GetFileProperty',
212 'IsMoved', 211 'IsMoved',
213 'IsMovedInfo', 212 'IsMovedInfo',
214 'IsValidRevision', 213 'IsValidRevision',
215 'ReadSimpleAuth', 214 'ReadSimpleAuth',
216 'Revert', 215 'Revert',
217 'RunAndGetFileList', 216 'RunAndGetFileList',
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 # Asserting the tree is not sufficient, svn status must come out clear too. 466 # Asserting the tree is not sufficient, svn status must come out clear too.
468 self.assertEquals('', self._capture(['status'])) 467 self.assertEquals('', self._capture(['status']))
469 468
470 469
471 if __name__ == '__main__': 470 if __name__ == '__main__':
472 if '-v' in sys.argv: 471 if '-v' in sys.argv:
473 logging.basicConfig(level=logging.DEBUG) 472 logging.basicConfig(level=logging.DEBUG)
474 unittest.main() 473 unittest.main()
475 474
476 # vim: ts=2:sw=2:tw=80:et: 475 # vim: ts=2:sw=2:tw=80:et:
OLDNEW
« scm.py ('K') | « scm.py ('k') | tests/trychange_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698