Home
last modified time | relevance | path

Searched refs:expected_stderr (Results 1 – 25 of 31) sorted by relevance

12

/external/webkit/Tools/Scripts/webkitpy/tool/bot/
Dsheriffircbot_unittest.py50expected_stderr = 'MOCK: irc.post: "Only you can prevent forest fires." -- Smokey the Bear\n'
51 OutputCapture().assert_outputs(self, run, args=["hi"], expected_stderr=expected_stderr)
54expected_stderr = "MOCK: irc.post: mock_nick: Available commands: whois, hi, last-green-revision, …
55 OutputCapture().assert_outputs(self, run, args=["help"], expected_stderr=expected_stderr)
58 expected_stderr = "MOCK: irc.post: mock_nick: http://trac.webkit.org/changeset/9479\n"
59 …tCapture().assert_outputs(self, run, args=["last-green-revision"], expected_stderr=expected_stderr)
62expected_stderr = "MOCK: irc.post: Preparing rollout for r21654...\nMOCK: irc.post: mock_nick: Cre…
63 …puts(self, run, args=["rollout 21654 This patch broke the world"], expected_stderr=expected_stderr)
66expected_stderr = "MOCK: irc.post: Preparing rollout for r21654, r21655, and r21656...\nMOCK: irc.…
67 …gs=["rollout 21654 21655 21656 This 21654 patch broke the world"], expected_stderr=expected_stderr)
[all …]
Dcommitqueuetask_unittest.py81 …def _run_through_task(self, commit_queue, expected_stderr, expected_exception=None, expect_retry=F… argument
85 …success = OutputCapture().assert_outputs(self, task.run, expected_stderr=expected_stderr, expected…
91 expected_stderr = """run_webkit_patch: ['clean']
104 self._run_through_task(commit_queue, expected_stderr)
110 expected_stderr = """run_webkit_patch: ['clean']
113 self._run_through_task(commit_queue, expected_stderr, expect_retry=True)
120 expected_stderr = """run_webkit_patch: ['clean']
125 self._run_through_task(commit_queue, expected_stderr, expect_retry=True)
133 expected_stderr = """run_webkit_patch: ['clean']
140 self._run_through_task(commit_queue, expected_stderr, ScriptError)
[all …]
Dflakytestreporter_unittest.py72 expected_stderr = """MOCK create_bug
92 …_flaky_test, ['foo/bar.html', ['test@test.com'], 'FLAKE_MESSAGE'], expected_stderr=expected_stderr)
107 expected_stderr = """MOCK create_bug
146 …reporter.report_flaky_tests, [patch, test_results, MockZipFile()], expected_stderr=expected_stderr)
Dsheriff_unittest.py69 expected_stderr = u"""MOCK bug comment: bug_id=1234, cc=['watcher@example.com']
90 OutputCapture().assert_outputs(self, run, expected_stderr=expected_stderr)
Dfeeders_unittest.py41expected_stderr = u"""Warning, attachment 128 on bug 42 has invalid committer (non-committer@examp…
51 OutputCapture().assert_outputs(self, feeder.feed, expected_stderr=expected_stderr)
/external/webkit/Tools/Scripts/webkitpy/tool/commands/
Ddownload_unittest.py45 expected_stderr = "Preparing rollout for bug 42.\n"
46 …t_info = output.assert_outputs(self, command._commit_info, [1234], expected_stderr=expected_stderr)
52 expected_stderr = "Unable to parse bug number from diff.\n"
53 …t_info = output.assert_outputs(self, command._commit_info, [1234], expected_stderr=expected_stderr)
88 expected_stderr = "Updating working directory\nBuilding WebKit\n"
89 …sert_execute_outputs(Build(), [], options=self._default_options(), expected_stderr=expected_stderr)
92expected_stderr = "Updating working directory\nBuilding WebKit\nRunning Python unit tests\nRunning…
93 …ecute_outputs(BuildAndTest(), [], options=self._default_options(), expected_stderr=expected_stderr)
99expected_stderr = "Updating working directory\nProcessing 1 patch from 1 bug.\nProcessing patch 19…
100 ….assert_execute_outputs(ApplyAttachment(), [197], options=options, expected_stderr=expected_stderr)
[all …]
Dupload_unittest.py45expected_stderr = "Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.…
46 … self.assert_execute_outputs(AssignToCommitter(), [], expected_stderr=expected_stderr, tool=tool)
50 expected_stderr = "Obsoleting 2 old patches on bug 42\n"
51 self.assert_execute_outputs(ObsoleteAttachments(), [42], expected_stderr=expected_stderr)
62 expected_stderr = """MOCK: user.open_url: file://...
68 self.assert_execute_outputs(Post(), [42], options=options, expected_stderr=expected_stderr)
74expected_stderr = """MOCK add_attachment_to_bug: bug_id=42, description=file description filename=…
79 …(), [42, "path/to/file.txt", "file description"], options=options, expected_stderr=expected_stderr)
85expected_stderr = """MOCK add_attachment_to_bug: bug_id=42, description=file.txt filename=None
87 …_outputs(AttachToBug(), [42, "path/to/file.txt"], options=options, expected_stderr=expected_stderr)
[all …]
Dqueues_unittest.py124 expected_stderr = {
142 self.assert_queue_outputs(queue, tool=tool, expected_stderr=expected_stderr)
155 expected_stderr = "MOCK: release_work_item: None 2\n"
156 …puts(self, queue._next_patch, [], expected_stdout=expected_stdout, expected_stderr=expected_stderr)
209 expected_stderr = {
225 self.assert_queue_outputs(CommitQueue(), expected_stderr=expected_stderr)
228 expected_stderr = {
252 self.assert_queue_outputs(queue, expected_stderr=expected_stderr)
258 expected_stderr = {
280 self.assert_queue_outputs(CommitQueue(), tool=tool, expected_stderr=expected_stderr)
[all …]
Dearlywarningsystem_unittest.py48expected_stderr = "MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'build', '--p…
49 OutputCapture().assert_outputs(self, queue._can_build, [], expected_stderr=expected_stderr)
55 expected_stderr = "MOCK: update_status: None Unable to perform a build\n"
56 OutputCapture().assert_outputs(self, queue._can_build, [], expected_stderr=expected_stderr)
68 expected_stderr = "MOCK: release_work_item: None 197\n"
69 ….assert_outputs(self, queue.process_work_item, [mock_patch], expected_stderr=expected_stderr, expe…
87 expected_stderr = {
94 return expected_stderr
101 …self.assert_queue_outputs(ews, expected_stderr=self._default_expected_stderr(ews), expected_except…
105 expected_stderr = self._default_expected_stderr(ews)
[all …]
Dqueuestest.py51 …def assert_outputs(self, func, func_name, args, expected_stdout, expected_stderr, expected_excepti… argument
60 expected_stderr=expected_stderr.get(func_name, ""),
67 …utputs(self, queue, args=None, work_item=None, expected_stdout=None, expected_stderr=None, expecte… argument
75 if not expected_stderr:
76 expected_stderr = {}
88 …outputs(queue.queue_log_path, "queue_log_path", [], expected_stdout, expected_stderr, expected_exc…
89 …k_item_log_path, "work_item_log_path", [work_item], expected_stdout, expected_stderr, expected_exc…
90 …uts(queue.begin_work_queue, "begin_work_queue", [], expected_stdout, expected_stderr, expected_exc…
91 …tinue_work_queue, "should_continue_work_queue", [], expected_stdout, expected_stderr, expected_exc…
92 …outputs(queue.next_work_item, "next_work_item", [], expected_stdout, expected_stderr, expected_exc…
[all …]
Dqueries_unittest.py40expected_stderr = "Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.…
41 self.assert_execute_outputs(BugsToCommit(), None, "42\n77\n", expected_stderr)
45expected_stderr = "Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.…
46 self.assert_execute_outputs(PatchesInCommitQueue(), None, expected_stdout, expected_stderr)
50expected_stderr = "197 already has cq=+\n128 already has cq=+\n105 committer = \"Eric Seidel\" <er…
53 …self.assert_execute_outputs(PatchesToCommitQueue(), None, expected_stdout, expected_stderr, option…
57 …self.assert_execute_outputs(PatchesToCommitQueue(), None, expected_stdout, expected_stderr, option…
61 expected_stderr = "Patches pending review:\n"
62 self.assert_execute_outputs(PatchesToReview(), None, expected_stdout, expected_stderr)
Droll_unittest.py37 expected_stderr = """Updating Chromium DEPS to 6764
43 self.assert_execute_outputs(RollChromiumDEPS(), [6764], expected_stderr=expected_stderr)
46 expected_stderr = """Current Chromium DEPS revision 6564 is newer than 5764.
49 …self.assert_execute_outputs(RollChromiumDEPS(), [5764], expected_stderr=expected_stderr, expected_…
Dopenbugs_unittest.py49expected_stderr = "2 bugs found in input.\nMOCK: user.open_url: http://example.com/12345\nMOCK: us…
50 self.assert_execute_outputs(OpenBugs(), ["12345\n23456"], expected_stderr=expected_stderr)
Dsheriffbot_unittest.py43 expected_stderr = {
57 … self.assert_queue_outputs(SheriffBot(), work_item=mock_work_item, expected_stderr=expected_stderr)
Dcommandtest.py35 …def assert_execute_outputs(self, command, args, expected_stdout="", expected_stderr="", expected_e… argument
48 …ute, [options, args, tool], expected_stdout=expected_stdout, expected_stderr=expected_stderr, expe…
/external/webkit/Tools/Scripts/webkitpy/tool/steps/
Dsteps_unittest.py61 expected_stderr = "Updating working directory\n"
62 …re().assert_outputs(self, self._run_step, [Update, tool, options], expected_stderr=expected_stderr)
78 expected_stderr = """Running Python unit tests
87 OutputCapture().assert_outputs(self, step.run, [{}], expected_stderr=expected_stderr)
Dvalidatechangelogs_unittest.py46 expected_stdout = expected_stderr = ""
48expected_stderr = "The diff to mock/ChangeLog looks wrong. Are you sure your ChangeLog entry is a…
49 …re().assert_outputs(self, step._check_changelog_diff, [diff_file], expected_stderr=expected_stderr)
Dclosebugforlanddiff_unittest.py39expected_stderr = "Committed r49824: <http://trac.webkit.org/changeset/49824>\nNo bug id provided.…
40 …rt_outputs(self, step.run, [{"commit_text" : "Mock commit text"}], expected_stderr=expected_stderr)
Dsuggestreviewers_unittest.py45 expected_stderr = "Would you like to CC them?\n"
46 …f, step.run, [{"bug_id": "123"}], expected_stdout=expected_stdout, expected_stderr=expected_stderr)
Dupdatechangelogswithreview_unittest.py39 expected_stderr = "0 reviewed patches on bug 75, cannot infer reviewer.\n"
40 … capture.assert_outputs(self, step._guess_reviewer_from_bug, [75], expected_stderr=expected_stderr)
/external/webkit/Tools/Scripts/webkitpy/common/net/irc/
Dircproxy_unittest.py42 expected_stderr = "Connecting to IRC\nDisconnecting from IRC...\n"
43 OutputCapture().assert_outputs(self, fun, expected_stderr=expected_stderr)
/external/webkit/Tools/Scripts/webkitpy/common/system/
Doutputcapture.py57 …ts(self, testcase, function, args=[], kwargs={}, expected_stdout="", expected_stderr="", expected_… argument
65 testcase.assertEqual(stderr_string, expected_stderr)
85 def assertStderr(self, expected_stderr): argument
86 self.assertEquals(expected_stderr, self.__captured_stderr.getvalue())
Dworkspace_unittest.py53 expected_stderr = "MOCK run_command: ['zip', '-r', '/zip/path', '/source/path']\n"
57 … workspace.create_zip, ["/zip/path", "/source/path", MockZipFile], expected_stderr=expected_stderr)
/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/
Dbugzilla_unittest.py296 expected_stderr = "Adding ['adam@example.com'] to the CC list for bug 42\n"
297 …_outputs(self, bugzilla.add_cc_to_bug, [42, ["adam@example.com"]], expected_stderr=expected_stderr)
317 expected_stderr = "Re-opening bug 42\n['comment']\n"
319 expected_stderr += extra_stderr
320 …ure().assert_outputs(self, bugzilla.reopen_bug, [42, ["comment"]], expected_stderr=expected_stderr)
/external/webkit/Tools/Scripts/webkitpy/common/net/
Dlayouttestresults_unittest.py93expected_stderr = "Unhandled link text in results.html parsing: foo. Please file a bug against we…
94 …rt_outputs(self, LayoutTestResults._failures_from_fail_row, [row], expected_stderr=expected_stderr)

12