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

Unified Diff: tests/scm_unittest.py

Issue 538009: Fix case sensitivity issues and svn move patches for --sub_rep on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 10 years, 11 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 side-by-side diff with in-line comments
Download patch
« scm.py ('K') | « scm.py ('k') | trychange.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/scm_unittest.py
===================================================================
--- tests/scm_unittest.py (revision 35830)
+++ tests/scm_unittest.py (working copy)
@@ -24,9 +24,9 @@
def testMembersChanged(self):
self.mox.ReplayAll()
members = [
- 'GIT', 'SVN', 'ValidateEmail',
- 'gclient_utils', 'os', 're', 'shutil', 'subprocess', 'sys', 'tempfile',
- 'xml',
+ 'GetCasedPath', 'GIT', 'SVN', 'ValidateEmail',
+ 'gclient_utils', 'glob', 'os', 're', 'shutil', 'subprocess', 'sys',
+ 'tempfile', 'xml',
]
# If this test fails, you should add the relevant test.
self.compareMembers(scm, members)
@@ -153,7 +153,9 @@
def testGetCheckoutRoot(self):
self.mox.StubOutWithMock(scm.SVN, 'CaptureInfo')
+ self.mox.StubOutWithMock(scm, 'GetCasedPath')
scm.os.path.abspath(self.root_dir + 'x').AndReturn(self.root_dir)
+ scm.GetCasedPath(self.root_dir).AndReturn(self.root_dir)
result1 = { "Repository Root": "Some root" }
scm.SVN.CaptureInfo(self.root_dir, print_error=False).AndReturn(result1)
results2 = { "Repository Root": "A different root" }
« scm.py ('K') | « scm.py ('k') | trychange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698