Home
last modified time | relevance | path

Searched refs:tool (Results 1 – 25 of 2269) sorted by relevance

12345678910>>...91

/external/webkit/Tools/Scripts/webkitpy/tool/steps/
D__init__.py30 from webkitpy.tool.steps.applypatch import ApplyPatch
31 from webkitpy.tool.steps.applypatchwithlocalcommit import ApplyPatchWithLocalCommit
32 from webkitpy.tool.steps.attachtobug import AttachToBug
33 from webkitpy.tool.steps.build import Build
34 from webkitpy.tool.steps.checkstyle import CheckStyle
35 from webkitpy.tool.steps.cleanworkingdirectory import CleanWorkingDirectory
36 from webkitpy.tool.steps.cleanworkingdirectorywithlocalcommits import CleanWorkingDirectoryWithLoca…
37 from webkitpy.tool.steps.closebug import CloseBug
38 from webkitpy.tool.steps.closebugforlanddiff import CloseBugForLandDiff
39 from webkitpy.tool.steps.closepatch import ClosePatch
[all …]
Dsteps_unittest.py33 from webkitpy.tool.mocktool import MockOptions, MockTool
34 from webkitpy.tool.steps.update import Update
35 from webkitpy.tool.steps.runtests import RunTests
36 from webkitpy.tool.steps.promptforbugortitle import PromptForBugOrTitle
48 def _run_step(self, step, tool=None, options=None, state=None): argument
49 if not tool:
50 tool = MockTool()
55 step(tool, options).run(state)
58 tool = MockTool()
62 …OutputCapture().assert_outputs(self, self._run_step, [Update, tool, options], expected_stderr=expe…
[all …]
Dcleanworkingdirectory_unittest.py32 from webkitpy.tool.mocktool import MockOptions, MockTool
33 from webkitpy.tool.steps.cleanworkingdirectory import CleanWorkingDirectory
38 tool = MockTool()
39 step = CleanWorkingDirectory(tool, MockOptions(clean=True, force_clean=False))
41 self.assertEqual(tool._scm.ensure_no_local_commits.call_count, 1)
42 self.assertEqual(tool._scm.ensure_clean_working_directory.call_count, 1)
45 tool = MockTool()
46 step = CleanWorkingDirectory(tool, MockOptions(clean=False))
48 self.assertEqual(tool._scm.ensure_no_local_commits.call_count, 0)
49 self.assertEqual(tool._scm.ensure_clean_working_directory.call_count, 0)
/external/webkit/Tools/Scripts/webkitpy/tool/commands/
Dupload.py37 from webkitpy.tool import steps
44 from webkitpy.tool.commands.abstractsequencedcommand import AbstractSequencedCommand
45 from webkitpy.tool.comments import bug_comment_from_svn_revision
46 from webkitpy.tool.grammar import pluralize, join_with_separators
47 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
60 def execute(self, options, args, tool): argument
63 print "%s" % tool.checkout().commit_message_for_this_commit(options.git_commit).message()
82 def execute(self, options, args, tool): argument
84 for bug_id in tool.bugs.queries.fetch_bug_ids_from_pending_commit_list():
100 def execute(self, options, args, tool): argument
[all …]
D__init__.py3 from webkitpy.tool.commands.bugsearch import BugSearch
4 from webkitpy.tool.commands.bugfortest import BugForTest
5 from webkitpy.tool.commands.download import *
6 from webkitpy.tool.commands.earlywarningsystem import *
7 from webkitpy.tool.commands.openbugs import OpenBugs
8 from webkitpy.tool.commands.prettydiff import PrettyDiff
9 from webkitpy.tool.commands.queries import *
10 from webkitpy.tool.commands.queues import *
11 from webkitpy.tool.commands.rebaseline import Rebaseline
12 from webkitpy.tool.commands.rebaselineserver import RebaselineServer
[all …]
Dqueues_unittest.py39 from webkitpy.tool.commands.commandtest import CommandsTest
40 from webkitpy.tool.commands.queues import *
41 from webkitpy.tool.commands.queuestest import QueuesTest
42 from webkitpy.tool.commands.stepsequence import StepSequence
43 from webkitpy.tool.mocktool import MockTool, MockSCM, MockStatusServer
64 tool = MockTool()
65 tool.status_server.bot_id = "gort"
66 tool.executive = Mock()
67 queue.bind_to_tool(tool)
76 tool.executive.run_and_throw_if_fail.assert_called_with(expected_run_args)
[all …]
Dstepsequence.py29 from webkitpy.tool import steps
34 from webkitpy.tool.bot.queueengine import QueueEngine
39 def handle_script_error(cls, tool, patch, script_error): argument
43 def handle_checkout_needs_update(cls, tool, state, options, error): argument
62 def _run(self, tool, options, state): argument
64 step(tool, options).run(state)
66 def run_and_handle_errors(self, tool, options, state=None): argument
70 self._run(tool, options, state)
74 command = tool.command_by_name(options.parent_command)
75 command.handle_checkout_needs_update(tool, state, options, e)
[all …]
Dupload_unittest.py30 from webkitpy.tool.commands.commandtest import CommandsTest
31 from webkitpy.tool.commands.upload import *
32 from webkitpy.tool.mocktool import MockOptions, MockTool
36 tool = MockTool()
38 …sert_execute_outputs(CommitMessageForCurrentDiff(), [], expected_stdout=expected_stdout, tool=tool)
44 tool = MockTool()
46 … self.assert_execute_outputs(AssignToCommitter(), [], expected_stderr=expected_stderr, tool=tool)
47tool.bugs.reassign_bug.assert_called_with(42, "eric@webkit.org", "Attachment 128 was posted by a c…
118 tool = MockTool()
119 tool._scm.last_svn_commit_log = lambda: "r9876 |"
[all …]
Ddownload.py32 from webkitpy.tool import steps
37 from webkitpy.tool.commands.abstractsequencedcommand import AbstractSequencedCommand
38 from webkitpy.tool.commands.stepsequence import StepSequence
39 from webkitpy.tool.comments import bug_comment_from_commit_text
40 from webkitpy.tool.grammar import pluralize
41 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
52 def _prepare_state(self, options, args, tool): argument
74 def _prepare_state(self, options, args, tool): argument
108 def _prepare_state(self, options, args, tool): argument
112 …"bug_id": (args and args[0]) or tool.checkout().bug_id_for_this_commit(options.git_commit, changed…
[all …]
Dqueries.py33 from webkitpy.tool import steps
40 from webkitpy.tool.grammar import pluralize
41 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
56 def execute(self, options, args, tool): argument
57 reviewers = tool.checkout().suggested_reviewers(options.git_commit)
65 def execute(self, options, args, tool): argument
67 bug_ids = tool.bugs.queries.fetch_bug_ids_from_commit_queue()
76 def execute(self, options, args, tool): argument
77 patches = tool.bugs.queries.fetch_patches_from_commit_queue()
104 def execute(self, options, args, tool): argument
[all …]
Dsheriffbot_unittest.py31 from webkitpy.tool.commands.queuestest import QueuesTest
32 from webkitpy.tool.commands.sheriffbot import SheriffBot
33 from webkitpy.tool.mocktool import *
41 tool = MockTool()
42 mock_work_item = MockFailureMap(tool.buildbot)
44 …"begin_work_queue": self._default_begin_work_queue_stderr("sheriff-bot", tool.scm().checkout_root),
Dqueuestest.py35 from webkitpy.tool.commands.stepsequence import StepSequenceErrorHandler
36 from webkitpy.tool.mocktool import MockTool
67 …ne, expected_stdout=None, expected_stderr=None, expected_exceptions=None, options=None, tool=None): argument
68 if not tool:
69 tool = MockTool()
72 tool.filesystem.write_text_file('/mock/results.html', "")
84 tool.user.prompt = lambda message: "yes"
86 queue.execute(options, args, tool, engine=MockQueueEngine)
98 …self.assert_outputs(queue.handle_script_error, "handle_script_error", [tool, {"patch": self.mock_w…
Dabstractsequencedcommand.py31 from webkitpy.tool.commands.stepsequence import StepSequence
32 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand
41 def _prepare_state(self, options, args, tool): argument
44 def execute(self, options, args, tool): argument
46 state = self._prepare_state(options, args, tool)
51 self._sequence.run_and_handle_errors(tool, options, state)
Ddownload_unittest.py33 from webkitpy.tool.commands.commandtest import CommandsTest
34 from webkitpy.tool.commands.download import *
35 from webkitpy.tool.mocktool import MockCheckout, MockOptions, MockTool
41 tool = MockTool()
42 command.bind_to_tool(tool)
51 tool._checkout.commit_info_for_revision = lambda revision: mock_commit_info
65 …ses(ScriptError, command._prepare_state, options=None, args=["125 r122 123", "Reason"], tool=None)
66 …aises(ScriptError, command._prepare_state, options=None, args=["125 foo 123", "Reason"], tool=None)
114 …uts(Land(), [42], options=self._default_options(), expected_stderr=expected_stderr, tool=mock_tool)
123 …uts(Land(), [42], options=self._default_options(), expected_stderr=expected_stderr, tool=mock_tool)
[all …]
Dqueues.py47 from webkitpy.tool.bot.botinfo import BotInfo
48 from webkitpy.tool.bot.commitqueuetask import CommitQueueTask, CommitQueueTaskDelegate
49 from webkitpy.tool.bot.feeders import CommitQueueFeeder, EWSFeeder
50 from webkitpy.tool.bot.queueengine import QueueEngine, QueueEngineDelegate
51 from webkitpy.tool.bot.flakytestreporter import FlakyTestReporter
52 from webkitpy.tool.commands.stepsequence import StepSequenceErrorHandler
53 from webkitpy.tool.steps.runtests import RunTests
54 from webkitpy.tool.multicommandtool import Command, TryAgain
141 def execute(self, options, args, tool, engine=QueueEngine): argument
143 self._tool = tool # FIXME: This code is wrong too! Command.bind_to_tool handles this!
[all …]
Dqueries_unittest.py33 from webkitpy.tool.commands.commandtest import CommandsTest
34 from webkitpy.tool.commands.queries import *
35 from webkitpy.tool.mocktool import MockTool
81 tool = MockTool()
83 command.bind_to_tool(tool)
89 tool.checkout().commit_info_for_revision = raising_mock
/external/webkit/Tools/Scripts/webkitpy/tool/bot/
Dirc_command.py36 from webkitpy.tool.bot.queueengine import TerminateQueue
37 from webkitpy.tool.grammar import join_with_separators
41 def execute(self, nick, args, tool, sheriff): argument
46 def execute(self, nick, args, tool, sheriff): argument
48 urls.view_revision_url(tool.buildbot.last_green_revision()))
52 def execute(self, nick, args, tool, sheriff): argument
53 tool.irc().post("Restarting...")
75 def execute(self, nick, args, tool, sheriff): argument
79 tool.irc().post("%s: Usage: SVN_REVISION [SVN_REVISIONS] REASON" % nick)
84 tool.irc().post("Preparing rollout for %s..." %
[all …]
Dflakytestreporter_unittest.py37 from webkitpy.tool.bot.flakytestreporter import FlakyTestReporter
38 from webkitpy.tool.mocktool import MockTool, MockStatusServer
59 tool = MockTool()
60 reporter = FlakyTestReporter(tool, 'dummy-queue')
62 tool.checkout().recent_commit_infos_for_files = lambda paths: set(commit_infos)
95 tool = MockTool()
96 reporter = FlakyTestReporter(tool, 'dummy-queue')
97 bug = tool.bugs.fetch_bug(78)
101 tool = MockTool()
102 tool.filesystem = MockFileSystem({"/mock/foo/bar-diffs.txt": "mock"})
[all …]
Dsheriffircbot_unittest.py33 from webkitpy.tool.bot.sheriff import Sheriff
34 from webkitpy.tool.bot.sheriffircbot import SheriffIRCBot
35 from webkitpy.tool.bot.sheriff_unittest import MockSheriffBot
36 from webkitpy.tool.mocktool import MockTool
40 tool = MockTool()
41 tool.ensure_irc_connected(None)
42 bot = SheriffIRCBot(tool, Sheriff(tool, MockSheriffBot()))
Dbotinfo_unittest.py31 from webkitpy.tool.bot.botinfo import BotInfo
32 from webkitpy.tool.mocktool import MockTool, MockStatusServer
38 tool = MockTool()
39 tool.status_server = MockStatusServer("MockBotId")
40 …self.assertEqual(BotInfo(tool).summary_text(), "Bot: MockBotId Port: MockPort Platform: MockPlat…
Dfeeders.py31 from webkitpy.tool.grammar import pluralize
35 def __init__(self, tool): argument
36 self._tool = tool
45 def __init__(self, tool): argument
46 AbstractFeeder.__init__(self, tool)
85 def __init__(self, tool): argument
87 AbstractFeeder.__init__(self, tool)
/external/webkit/Tools/Scripts/webkitpy/tool/
Dmulticommandtool_unittest.py35 from webkitpy.tool.multicommandtool import MultiCommandTool, Command, TryAgain
44 def execute(self, options, args, tool): argument
61 def execute(self, options, args, tool): argument
120 tool = TrivialTool()
121 self.assertEqual(tool.command_by_name("trivial").name, "trivial")
122 self.assertEqual(tool.command_by_name("bar"), None)
124 …def _assert_tool_main_outputs(self, tool, main_args, expected_stdout, expected_stderr = "", expect… argument
125 …exit_code = OutputCapture().assert_outputs(self, tool.main, [main_args], expected_stdout=expected_…
130 tool = TrivialTool(commands=[likes_to_retry])
131 tool.main(["tool", "likes-to-retry"])
[all …]
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DAntlr3Mojo.java235 protected Tool tool; field in Antlr3Mojo
305 tool = new Tool(); in execute()
315 tool.setDebug(debug); in execute()
316 tool.setGenerate_DFA_dot(dfa); in execute()
317 tool.setGenerate_NFA_dot(nfa); in execute()
318 tool.setProfile(profile); in execute()
319 tool.setReport(report); in execute()
320 tool.setPrintGrammar(printGrammar); in execute()
321 tool.setTrace(trace); in execute()
322 tool.setVerbose(verbose); in execute()
[all …]
/external/clang/tools/diag-build/
Ddiag-build.sh60 tool=$1
63 if [[ -z "$tool" ]]; then
66 elif [[ "$tool" == "xcodebuild" ]]; then
69 elif [[ "$tool" == "make" ]]; then
73 echo "Warning: unknown build system '$tool'" 1>&2
88 eval $tool $dry_run $set_compiler $@ 2>/dev/null |
100 if [[ "$tool" != "xcodebuild" ]]; then
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DBuildDependencyGenerator.java28 package org.antlr.tool;
80 protected Tool tool; field in BuildDependencyGenerator
85 public BuildDependencyGenerator(Tool tool, String grammarFileName) in BuildDependencyGenerator() argument
87 this.tool = tool; in BuildDependencyGenerator()
89 grammar = tool.getRootGrammar(grammarFileName); in BuildDependencyGenerator()
91 generator = new CodeGenerator(tool, grammar, language); in BuildDependencyGenerator()
100 File outputDir = tool.getOutputDirectory(grammarFileName); in getGeneratedFileList()
116 files.add(new File(tool.getOutputDirectory(), generator.getVocabFileName())); in getGeneratedFileList()
146 outputDir = tool.getOutputDirectory(g.getFileName()); in getGeneratedFileList()
170 String libdir = tool.getLibraryDirectory(); in getDependenciesFileList()
[all …]

12345678910>>...91