/external/webkit/Tools/Scripts/webkitpy/tool/bot/ |
D | sheriffircbot_unittest.py | 50 … expected_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) 54 …expected_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) 62 …expected_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) 66 …expected_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 …]
|
D | commitqueuetask_unittest.py | 81 …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 …]
|
D | flakytestreporter_unittest.py | 72 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)
|
D | sheriff_unittest.py | 69 expected_stderr = u"""MOCK bug comment: bug_id=1234, cc=['watcher@example.com'] 90 OutputCapture().assert_outputs(self, run, expected_stderr=expected_stderr)
|
D | feeders_unittest.py | 41 …expected_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/ |
D | download_unittest.py | 45 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) 92 …expected_stderr = "Updating working directory\nBuilding WebKit\nRunning Python unit tests\nRunning… 93 …ecute_outputs(BuildAndTest(), [], options=self._default_options(), expected_stderr=expected_stderr) 99 …expected_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 …]
|
D | upload_unittest.py | 45 …expected_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) 74 …expected_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) 85 … expected_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 …]
|
D | queues_unittest.py | 124 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 …]
|
D | earlywarningsystem_unittest.py | 48 …expected_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 …]
|
D | queuestest.py | 51 …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 …]
|
D | queries_unittest.py | 40 …expected_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) 45 …expected_stderr = "Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.… 46 self.assert_execute_outputs(PatchesInCommitQueue(), None, expected_stdout, expected_stderr) 50 …expected_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)
|
D | roll_unittest.py | 37 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_…
|
D | openbugs_unittest.py | 49 …expected_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)
|
D | sheriffbot_unittest.py | 43 expected_stderr = { 57 … self.assert_queue_outputs(SheriffBot(), work_item=mock_work_item, expected_stderr=expected_stderr)
|
D | commandtest.py | 35 …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/ |
D | steps_unittest.py | 61 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)
|
D | validatechangelogs_unittest.py | 46 expected_stdout = expected_stderr = "" 48 …expected_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)
|
D | closebugforlanddiff_unittest.py | 39 …expected_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)
|
D | suggestreviewers_unittest.py | 45 expected_stderr = "Would you like to CC them?\n" 46 …f, step.run, [{"bug_id": "123"}], expected_stdout=expected_stdout, expected_stderr=expected_stderr)
|
D | updatechangelogswithreview_unittest.py | 39 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/ |
D | ircproxy_unittest.py | 42 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/ |
D | outputcapture.py | 57 …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())
|
D | workspace_unittest.py | 53 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/ |
D | bugzilla_unittest.py | 296 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/ |
D | layouttestresults_unittest.py | 93 …expected_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)
|