• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python multicommandtool.AbstractDeclarativeCommand类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中webkitpy.tool.multicommandtool.AbstractDeclarativeCommand的典型用法代码示例。如果您正苦于以下问题:Python AbstractDeclarativeCommand类的具体用法?Python AbstractDeclarativeCommand怎么用?Python AbstractDeclarativeCommand使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了AbstractDeclarativeCommand类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: __init__

 def __init__(self):
     options = [
         make_option("--httpd-port", action="store", type="int", default=8127, help="Port to use for the HTTP server"),
         make_option("--no-show-results", action="store_false", default=True, dest="show_results",
                     help="Don't launch a browser with the rebaseline server"),
     ]
     AbstractDeclarativeCommand.__init__(self, options=options)
开发者ID:aobzhirov,项目名称:ChromiumGStreamerBackend,代码行数:7,代码来源:abstractlocalservercommand.py


示例2: __init__

 def __init__(self):
     options = [
         make_option("--all", action="store_true",
                     help="Show all bugs regardless of who is on CC (it might take a while)"),
         make_option("--include-cq-denied", action="store_true",
                     help="By default, r? patches with cq- are omitted unless this option is set"),
         make_option("--cc-email",
                     help="Specifies the email on the CC field (defaults to your bugzilla login email)"),
     ]
     AbstractDeclarativeCommand.__init__(self, options=options)
开发者ID:twnin,项目名称:webkit,代码行数:10,代码来源:queries.py


示例3: __init__

 def __init__(self):
     options = [
         optparse.make_option('--upload', action='store_true',
             help='upload the changed FlakyTest file for review'),
         optparse.make_option('--reviewers', action='store',
             help='comma-separated list of reviewers, defaults to blink gardeners'),
     ]
     AbstractDeclarativeCommand.__init__(self, options=options)
     # This is sorta silly, but allows for unit testing:
     self.expectations_factory = BotTestExpectationsFactory
开发者ID:335969568,项目名称:Blink-1,代码行数:10,代码来源:flakytests.py


示例4: __init__

    def __init__(self):
        options = [
            make_option("--committer-minimum", action="store", dest="committer_minimum", type="int", default=10, help="Specify minimum patch count for Committer nominations."),
            make_option("--reviewer-minimum", action="store", dest="reviewer_minimum", type="int", default=80, help="Specify minimum patch count for Reviewer nominations."),
            make_option("--max-commit-age", action="store", dest="max_commit_age", type="int", default=9, help="Specify max commit age to consider for nominations (in months)."),
            make_option("--show-commits", action="store_true", dest="show_commits", default=False, help="Show commit history with nomination suggestions."),
        ]

        AbstractDeclarativeCommand.__init__(self, options=options)
        # FIXME: This should probably be on the tool somewhere.
        self._committer_list = CommitterList()
开发者ID:BrianGFlores,项目名称:android_external_svmp_fbstream,代码行数:11,代码来源:suggestnominations.py


示例5: __init__

    def __init__(self):
        options = [
            make_option('--all', action='store_true', default=False,
                        help='display the expectations for *all* tests'),
            make_option('-x', '--exclude-keyword', action='append', default=[],
                        help='limit to tests not matching the given keyword (for example, "skip", "slow", or "crash". May specify multiple times'),
            make_option('-i', '--include-keyword', action='append', default=[],
                        help='limit to tests with the given keyword (for example, "skip", "slow", or "crash". May specify multiple times'),
            make_option('--csv', action='store_true', default=False,
                        help='Print a CSV-style report that includes the port name, modifiers, tests, and expectations'),
            make_option('-f', '--full', action='store_true', default=False,
                        help='Print a full test_expectations.txt-style line for every match'),
        ] + port_options(platform='port/platform to use. Use glob-style wildcards for multiple ports (implies --csv)')

        AbstractDeclarativeCommand.__init__(self, options=options)
        self._expectation_models = {}
开发者ID:mrragava,项目名称:os-design,代码行数:16,代码来源:queries.py


示例6: __init__

 def __init__(self):
     options = [
         make_option("--bugs", action="store_true", dest="bugs", help="Output bug links instead of patch links"),
     ]
     AbstractDeclarativeCommand.__init__(self, options=options)
开发者ID:UIKit0,项目名称:WebkitAIR,代码行数:5,代码来源:queries.py


示例7: __init__

 def __init__(self):
     options = [
         steps.Options.git_commit,
     ]
     AbstractDeclarativeCommand.__init__(self, options=options)
开发者ID:Moondee,项目名称:Artemis,代码行数:5,代码来源:upload.py


示例8: __init__

 def __init__(self):
     self._sequence = StepSequence(self.steps)
     AbstractDeclarativeCommand.__init__(self, self._sequence.options())
开发者ID:venkatarajasekhar,项目名称:Qt,代码行数:3,代码来源:abstractsequencedcommand.py


示例9: __init__

 def __init__(self):
     AbstractDeclarativeCommand.__init__(self)
     self._re_committed = re.compile(self.commited_pattern)
     self._re_rollout = re.compile(self.rollout_pattern)
     self._omahaproxy = OmahaProxy()
开发者ID:BrianGFlores,项目名称:android_external_svmp_fbstream,代码行数:5,代码来源:chromechannels.py


示例10: __init__

 def __init__(self):
     options = [
         make_option("--httpd-port", action="store", type="int", default=8127, help="Port to use for the the rebaseline HTTP server"),
     ]
     AbstractDeclarativeCommand.__init__(self, options=options)
开发者ID:mcgrawp,项目名称:webkit-webcl,代码行数:5,代码来源:rebaselineserver.py


示例11: __init__

 def __init__(self):
     options = [
         steps.Options.changelog_count,
     ]
     AbstractDeclarativeCommand.__init__(self, options=options)
开发者ID:Moondee,项目名称:Artemis,代码行数:5,代码来源:analyzechangelog.py


示例12: __init__

 def __init__(self):
     options = [make_option("--irc-password", default=None, help="Specify IRC password to use.")]
     AbstractDeclarativeCommand.__init__(self, options)
开发者ID:dreifachstein,项目名称:chromium-src,代码行数:3,代码来源:commitannouncer.py


示例13: __init__

 def __init__(self):
     options = [
         optparse.make_option('--suffixes', default=','.join(_baseline_suffix_list), action='store',
                              help='file types to rebaseline')]
     AbstractDeclarativeCommand.__init__(self, options=options)
     self._baseline_suffix_list = _baseline_suffix_list
开发者ID:Spencerx,项目名称:webkit,代码行数:6,代码来源:rebaseline.py


示例14: __init__

 def __init__(self):
     AbstractDeclarativeCommand.__init__(self)
     # This is sorta silly, but allows for unit testing:
     self.expectations_factory = BotTestExpectationsFactory
开发者ID:dreifachstein,项目名称:chromium-src,代码行数:4,代码来源:flakytests.py



注:本文中的webkitpy.tool.multicommandtool.AbstractDeclarativeCommand类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python multicommandtool.Command类代码示例发布时间:2022-05-26
下一篇:
Python mocktool.MockTool类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap