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

Unified Diff: tests/gclient_test.py

Issue 7918027: Add a --unmanaged flag to gclient config to allow the main solution to be unmanaged by the scm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 9 years, 3 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 | « tests/gclient_smoketest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_test.py
===================================================================
--- tests/gclient_test.py (revision 101995)
+++ tests/gclient_test.py (working copy)
@@ -199,7 +199,7 @@
# Invalid urls causes pain when specifying requirements. Make sure it's
# auto-fixed.
d = gclient.Dependency(
- None, 'name', 'proto://host/path/@revision', None, None,
+ None, 'name', 'proto://host/path/@revision', None, None, None,
None, '', True)
self.assertEquals('proto://host/path@revision', d.url)
@@ -210,23 +210,25 @@
options, _ = parser.parse_args([])
obj = gclient.GClient('foo', options)
obj.dependencies.append(
- gclient.Dependency(obj, 'foo', 'url', None, None, None, 'DEPS', True))
+ gclient.Dependency(obj, 'foo', 'url', None, None, None, None, 'DEPS',
+ True))
obj.dependencies.append(
- gclient.Dependency(obj, 'bar', 'url', None, None, None, 'DEPS', True))
+ gclient.Dependency(obj, 'bar', 'url', None, None, None, None, 'DEPS',
+ True))
obj.dependencies[0].dependencies.append(
gclient.Dependency(
- obj.dependencies[0], 'foo/dir1', 'url', None, None, None, 'DEPS',
- True))
+ obj.dependencies[0], 'foo/dir1', 'url', None, None, None, None,
+ 'DEPS', True))
obj.dependencies[0].dependencies.append(
gclient.Dependency(
obj.dependencies[0], 'foo/dir2',
- gclient.GClientKeywords.FromImpl('bar'), None, None, None, 'DEPS',
- True))
+ gclient.GClientKeywords.FromImpl('bar'), None, None, None, None,
+ 'DEPS', True))
obj.dependencies[0].dependencies.append(
gclient.Dependency(
obj.dependencies[0], 'foo/dir3',
- gclient.GClientKeywords.FileImpl('url'), None, None, None, 'DEPS',
- True))
+ gclient.GClientKeywords.FileImpl('url'), None, None, None, None,
+ 'DEPS', True))
obj.dependencies[0]._file_list.append('foo')
self.assertEquals(434, len(str(obj)), '%d\n%s' % (len(str(obj)), str(obj)))
« no previous file with comments | « tests/gclient_smoketest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698