/external/webkit/WebKitTools/Scripts/webkitpy/commands/ |
upload_unittest.py | 36 tool = MockBugzillaTool() 39 tool._scm.commit_message_for_this_commit = lambda: mock_commit_message_for_this_commit 41 self.assert_execute_outputs(CommitMessageForCurrentDiff(), [], expected_stdout=expected_stdout, tool=tool) 47 tool = MockBugzillaTool() 49 self.assert_execute_outputs(AssignToCommitter(), [], expected_stderr=expected_stderr, tool=tool) 50 tool.bugs.reassign_bug.assert_called_with(42, "eric@webkit.org", "Attachment 128 was posted by a committer and has review+, assigning to Eric Seidel for commit.") 75 tool = MockBugzillaTool() 76 tool._scm.last_svn_commit_log = lambda: "r9876 | [all...] |
abstractsequencedcommand.py | 39 def _prepare_state(self, options, args, tool): 42 def execute(self, options, args, tool): 43 self._sequence.run_and_handle_errors(tool, options, self._prepare_state(options, args, tool))
|
commandtest.py | 36 def assert_execute_outputs(self, command, args, expected_stdout="", expected_stderr="", options=Mock(), tool=MockBugzillaTool()): 37 command.bind_to_tool(tool) 38 OutputCapture().assert_outputs(self, command.execute, [options, args, tool], expected_stdout=expected_stdout, expected_stderr=expected_stderr)
|
queries.py | 44 def execute(self, options, args, tool): 46 bug_ids = tool.bugs.queries.fetch_bug_ids_from_commit_queue() 55 def execute(self, options, args, tool): 56 patches = tool.bugs.queries.fetch_patches_from_commit_queue() 83 def execute(self, options, args, tool): 84 patches = tool.bugs.queries.fetch_patches_from_pending_commit_list() 90 print "%s" % tool.bugs.bug_url_for_bug_id(bug_id) 93 print "%s" % tool.bugs.attachment_url_for_id(patch.id(), action="edit") 100 def execute(self, options, args, tool): 101 patch_ids = tool.bugs.queries.fetch_attachment_ids_from_review_queue( [all...] |
upload.py | 54 def execute(self, options, args, tool): 55 os.chdir(tool.scm().checkout_root) 56 print "%s" % tool.scm().commit_message_for_this_commit().message() 74 def execute(self, options, args, tool): 76 for bug_id in tool.bugs.queries.fetch_bug_ids_from_pending_commit_list(): 77 bug = self.tool.bugs.fetch_bug(bug_id) 84 self.tool.bugs.obsolete_attachment(patch.id(), message) 99 bug = self.tool.bugs.fetch_bug(bug_id) 101 if assigned_to_email != self.tool.bugs.unassigned_email: 123 self.tool.bugs.reassign_bug(bug_id, committer.bugzilla_email(), reassign_message [all...] |
download.py | 87 def _prepare_state(self, options, args, tool): 89 "bug_id" : (args and args[0]) or parse_bug_id(tool.scm().create_patch()), 97 # def _fetch_list_of_patches_to_process(self, options, args, tool): 98 # def _prepare_to_process(self, options, args, tool): 107 def execute(self, options, args, tool): 108 self._prepare_to_process(options, args, tool) 109 patches = self._fetch_list_of_patches_to_process(options, args, tool) 116 self._process_patch(patch, options, args, tool) 130 def _prepare_to_process(self, options, args, tool): 131 self._prepare_sequence.run_and_handle_errors(tool, options [all...] |
queues.py | 65 self.tool.bugs.add_cc_to_bug(bug_id, self.watchers) 71 self.tool.status_server.update_status(self.name, message, patch, results_file) 90 log("CAUTION: %s will discard all local changes in \"%s\"" % (self.name, self.tool.scm().checkout_root)) 92 response = self.tool.user.prompt("Are you sure? Type \"yes\" to continue: ") 113 webkit_patch_args = [self.tool.path()] 115 webkit_patch_args += ["--status-host=%s" % self.tool.status_server.host] 117 self.tool.executive.run_and_throw_if_fail(webkit_patch_args) 122 def execute(self, options, args, tool, engine=QueueEngine): 124 self.tool = tool [all...] |
queues_unittest.py | 57 tool = MockBugzillaTool() 58 queue.bind_to_tool(tool) 62 tool.executive.run_and_throw_if_fail.assert_called_with(expected_run_args) 72 tool = MockBugzillaTool() 73 queue.bind_to_tool(tool)
|
openbugs.py | 44 bug_url = self.tool.bugs.bug_url_for_bug_id(bug_id) 45 self.tool.user.open_url(bug_url) 54 def execute(self, options, args, tool):
|
early_warning_system.py | 73 def handle_script_error(cls, tool, state, script_error): 75 status_id = cls._update_status_for_script_error(tool, state, script_error, is_error=is_svn_apply) 78 results_link = tool.status_server.results_url_for_status(status_id) 80 tool.bugs.post_comment_to_bug(state["patch"].bug_id(), message, cc=cls.watchers)
|
/external/webkit/WebKitTools/Scripts/webkitpy/steps/ |
cleanworkingdirectorywithlocalcommits.py | 32 def __init__(self, tool, options): 34 CleanWorkingDirectory.__init__(self, tool, options, allow_local_commits=True)
|
steps_unittest.py | 39 def _run_step(self, step, tool=None, options=None, state=None): 40 if not tool: 41 tool = MockBugzillaTool() 46 step(tool, options).run(state) 54 tool = MockBugzillaTool() 55 tool.user.prompt = lambda message: 42 56 self._run_step(PromptForBugOrTitle, tool=tool)
|
metastep.py | 35 def __init__(self, tool, options): 36 AbstractStep.__init__(self, tool, options) 39 self._step_instances.append(step_class(tool, options))
|
cleanworkingdirectory.py | 36 def __init__(self, tool, options, allow_local_commits=False): 37 AbstractStep.__init__(self, tool, options)
|
abstractstep.py | 34 def __init__(self, tool, options): 35 self._tool = tool 44 # FIXME: The port should live on the tool.
|
/external/webkit/WebKitTools/Scripts/webkitpy/ |
stepsequence.py | 39 def handle_script_error(cls, tool, patch, script_error): 58 def _run(self, tool, options, state): 60 step(tool, options).run(state) 62 def run_and_handle_errors(self, tool, options, state=None): 66 self._run(tool, options, state) 75 command = tool.command_by_name(options.parent_command) 76 command.handle_script_error(tool, state, e)
|
multicommandtool_unittest.py | 42 def execute(self, options, args, tool): 66 expected_missing_args_error = "2 arguments required, 1 argument provided. Provided: 'foo' Required: ARG1 ARG2\nSee 'trivial-tool help trivial' for usage.\n" 73 MultiCommandTool.__init__(self, name="trivial-tool", commands=commands) 102 tool = TrivialTool() 103 self.assertEqual(tool.command_by_name("trivial").name, "trivial") 104 self.assertEqual(tool.command_by_name("bar"), None) 106 def _assert_tool_main_outputs(self, tool, main_args, expected_stdout, expected_stderr = "", expected_exit_code=0): 107 exit_code = OutputCapture().assert_outputs(self, tool.main, [main_args], expected_stdout=expected_stdout, expected_stderr=expected_stderr) 111 tool = TrivialTool(commands=[TrivialCommand(), UncommonCommand()]) 112 expected_common_commands_help = """Usage: trivial-tool [options] COMMAND [ARGS [all...] |
multicommandtool.py | 32 # tool-name [global options] command-name [command options] 52 self.tool = None 53 # option_parser can be overriden by the tool using set_option_parser 58 # the tool to be able to create and modify the option_parser 69 # The tool calls bind_to_tool on each Command after adding it to its list. 70 def bind_to_tool(self, tool): 71 # Command instances can only be bound to one tool at a time. 72 if self.tool and tool != self.tool [all...] |
/build/tools/rgb2565/ |
Android.mk | 8 # rgb2565 host tool
|
/external/libffi/testsuite/lib/ |
wrapper.exp | 19 # ${tool}_maybe_build_wrapper -- Build wrapper object if the target 24 proc ${tool}_maybe_build_wrapper { filename args } {
|
/external/proguard/bin/ |
retrace.bat | 3 REM Start-up script for Retrace -- companion tool for ProGuard, free class file
|
/build/tools/zipalign/ |
Android.mk | 4 # Zip alignment tool
|
/external/skia/gm/ |
Android.mk | 13 # additional optional class for this tool
|
/frameworks/base/tools/aidl/ |
Android.mk | 5 # This tool is prebuilt if we're doing an app-only build.
|
/external/emma/core/java12/com/vladium/emma/ |
Command.java | 38 final Command tool; local 43 tool = new runCommand (usageName, args); 45 tool = new instrCommand (usageName, args); 47 tool = new reportCommand (usageName, args); 49 tool = new mergeCommand (usageName, args); 53 tool.initialize (); 55 return tool;
|