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

Unified Diff: tests/gclient_scm_test.py

Issue 180243006: Make gclient_scm.py use cache_dir (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Remove cache_locks, also more membership tests. Created 6 years, 10 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
« no previous file with comments | « git_cache.py ('k') | tests/gclient_utils_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_scm_test.py
diff --git a/tests/gclient_scm_test.py b/tests/gclient_scm_test.py
index 741727e34f69c58b42145616866fff6377fae95c..a0a08872efdf532cede5e53306927fbfeb054196 100755
--- a/tests/gclient_scm_test.py
+++ b/tests/gclient_scm_test.py
@@ -96,32 +96,6 @@ class SVNWrapperTestCase(BaseTestCase):
BaseTestCase.setUp(self)
self.url = self.SvnUrl()
- def testDir(self):
- members = [
- 'BinaryExists',
- 'FullUrlForRelativeUrl',
- 'GetCheckoutRoot',
- 'GetRevisionDate',
- 'GetUsableRev',
- 'Svnversion',
- 'RunCommand',
- 'cleanup',
- 'diff',
- 'name',
- 'pack',
- 'relpath',
- 'revert',
- 'revinfo',
- 'runhooks',
- 'status',
- 'update',
- 'updatesingle',
- 'url',
- ]
-
- # If you add a member, be sure to add the relevant test!
- self.compareMembers(self._scm_wrapper('svn://a'), members)
-
def testUnsupportedSCM(self):
args = ['gopher://foo', self.root_dir, self.relpath]
exception_msg = 'No SCM found for url gopher://foo'
@@ -831,33 +805,6 @@ from :3
class ManagedGitWrapperTestCase(BaseGitWrapperTestCase):
- def testDir(self):
- members = [
- 'BinaryExists',
- 'FullUrlForRelativeUrl',
- 'GetCheckoutRoot',
- 'GetRevisionDate',
- 'GetUsableRev',
- 'RunCommand',
- 'cache_dir',
- 'cache_locks',
- 'cleanup',
- 'diff',
- 'name',
- 'pack',
- 'UpdateSubmoduleConfig',
- 'relpath',
- 'remote',
- 'revert',
- 'revinfo',
- 'runhooks',
- 'status',
- 'update',
- 'url',
- ]
-
- # If you add a member, be sure to add the relevant test!
- self.compareMembers(gclient_scm.CreateSCM(url=self.url), members)
def testRevertMissing(self):
if not self.enabled:
« no previous file with comments | « git_cache.py ('k') | tests/gclient_utils_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698