當前位置: 首頁>>代碼示例>>Python>>正文


Python TestDriverBase.showUsage方法代碼示例

本文整理匯總了Python中testdriver.base.TestDriverBase.showUsage方法的典型用法代碼示例。如果您正苦於以下問題:Python TestDriverBase.showUsage方法的具體用法?Python TestDriverBase.showUsage怎麽用?Python TestDriverBase.showUsage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在testdriver.base.TestDriverBase的用法示例。


在下文中一共展示了TestDriverBase.showUsage方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: showUsage

# 需要導入模塊: from testdriver.base import TestDriverBase [as 別名]
# 或者: from testdriver.base.TestDriverBase import showUsage [as 別名]
 def showUsage(self):
     rc = TestDriverBase.showUsage(self);
     #             0         1         2         3         4         5         6         7         8
     #             012345678901234567890123456789012345678901234567890123456789012345678901234567890
     reporter.log('');
     reporter.log('vboxinstaller Options:');
     reporter.log('  --vbox-build    <url[,url2[,..]]>');
     reporter.log('      Comma separated list of URL to file to download and install or/and');
     reporter.log('      unpack.  URLs without a schema are assumed to be files on the');
     reporter.log('      build share and will be copied off it.');
     reporter.log('  --no-puel-extpack');
     reporter.log('      Indicates that the PUEL extension pack should not be installed if found.');
     reporter.log('      The default is to install it if found in the vbox-build.');
     reporter.log('  --');
     reporter.log('      Indicates the end of our parameters and the start of the sub');
     reporter.log('      testdriver and its arguments.');
     return rc;
開發者ID:zBMNForks,項目名稱:virtualbox-org-svn-vbox-trunk,代碼行數:19,代碼來源:vboxinstaller.py


注:本文中的testdriver.base.TestDriverBase.showUsage方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。