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

Unified Diff: tests/gcl_unittest.py

Issue 2301003: Massive overhaul for gcl help (Closed)
Patch Set: Created 10 years, 7 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 | « gcl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gcl_unittest.py
diff --git a/tests/gcl_unittest.py b/tests/gcl_unittest.py
index 059306536451926a1c8e5b8c5d7614740da7b619..ae2df0716dc519fc17fd60f597617fb0dc176187 100755
--- a/tests/gcl_unittest.py
+++ b/tests/gcl_unittest.py
@@ -36,9 +36,9 @@ class GclUnittest(GclTestsBase):
'CMDdescription', 'CMDdiff', 'CMDhelp', 'CMDlint', 'CMDnothave',
'CMDopened', 'CMDpassthru', 'CMDpresubmit', 'CMDrename', 'CMDsettings',
'CMDstatus', 'CMDtry', 'CMDupload',
- 'ChangeInfo', 'DEFAULT_LINT_IGNORE_REGEX',
- 'DEFAULT_LINT_REGEX', 'CheckHomeForFile',
- 'DoPresubmitChecks', 'ErrorExit', 'FILES_CACHE', 'FilterFlag',
+ 'ChangeInfo', 'Command', 'DEFAULT_LINT_IGNORE_REGEX',
+ 'DEFAULT_LINT_REGEX', 'CheckHomeForFile', 'DoPresubmitChecks',
+ 'ErrorExit', 'FILES_CACHE', 'FilterFlag', 'GenUsage',
'GenerateChangeName', 'GenerateDiff', 'GetCLs', 'GetCacheDir',
'GetCachedFile', 'GetChangelistInfoFile', 'GetChangesDir',
'GetCodeReviewSetting', 'GetEditor', 'GetFilesNotInCL', 'GetInfoDir',
@@ -48,7 +48,8 @@ class GclUnittest(GclTestsBase):
'OptionallyDoPresubmitChecks', 'REPOSITORY_ROOT',
'RunShell', 'RunShellWithReturnCode', 'SVN',
'SendToRietveld', 'TryChange', 'UnknownFiles', 'Warn',
- 'breakpad', 'gclient_utils', 'getpass', 'main', 'need_change', 'os',
+ 'attrs', 'breakpad', 'defer_attributes', 'gclient_utils', 'getpass',
+ 'main', 'need_change', 'need_change_and_args', 'no_args', 'os',
'random', 're', 'shutil', 'string', 'subprocess', 'sys', 'tempfile',
'time', 'upload', 'urllib2',
]
@@ -85,8 +86,7 @@ class GclUnittest(GclTestsBase):
self.assertEquals(gcl.GetRepositoryRoot(), root_path + '.~')
def testHelp(self):
- gcl.sys.stdout.write(mox.StrContains('GCL is a wrapper for Subversion'))
- gcl.sys.stdout.write('\n')
+ gcl.sys.stdout.write = lambda x: None
self.mox.ReplayAll()
gcl.CMDhelp([])
« no previous file with comments | « gcl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698