HomeSort by relevance Sort by last modified time
    Searched refs:expected_stderr (Results 1 - 25 of 31) sorted by null

1 2

  /external/webkit/Tools/Scripts/webkitpy/tool/bot/
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, rollout, restart, help\n"
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 OutputCapture().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: Created rollout: ht (…)
    [all...]
commitqueuetask_unittest.py 81 def _run_through_task(self, commit_queue, expected_stderr, expected_exception=None, expect_retry=False):
85 success = OutputCapture().assert_outputs(self, task.run, expected_stderr=expected_stderr, expected_exception=expected_exception)
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'
    [all...]
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)
flakytestreporter_unittest.py 72 expected_stderr = """MOCK create_bug
92 OutputCapture().assert_outputs(self, reporter._create_bug_for_flaky_test, ['foo/bar.html', ['test@test.com'], 'FLAKE_MESSAGE'], expected_stderr=expected_stderr)
107 expected_stderr = """MOCK create_bug
146 OutputCapture().assert_outputs(self, reporter.report_flaky_tests, [patch, test_results, MockZipFile()], expected_stderr=expected_stderr)
feeders_unittest.py 41 expected_stderr = u"""Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.com)
51 OutputCapture().assert_outputs(self, feeder.feed, expected_stderr=expected_stderr)
  /external/webkit/Tools/Scripts/webkitpy/tool/commands/
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_exception=SystemExit)
download_unittest.py 45 expected_stderr = "Preparing rollout for bug 42.\n"
46 commit_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 commit_info = output.assert_outputs(self, command._commit_info, [1234], expected_stderr=expected_stderr)
88 expected_stderr = "Updating working directory\nBuilding WebKit\n"
89 self.assert_execute_outputs(Build(), [], options=self._default_options(), expected_stderr=expected_stderr)
92 expected_stderr = "Updating working directory\nBuilding WebKit\nRunning Python unit tests\nRunning Perl unit tests (…)
    [all...]
upload_unittest.py 45 expected_stderr = "Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.com)\nBug 77 is already assigned to foo@foo.com (None).\nBug 76 has no non-obsolete patches, ignoring.\n"
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=Non
    [all...]
queries_unittest.py 40 expected_stderr = "Warning, attachment 128 on bug 42 has invalid committer (non-committer@example.com)\n"
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.com)\nPatches in commit queue:\n"
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\" <eric@webkit.org>\n"
53 self.assert_execute_outputs(PatchesToCommitQueue(), None, expected_stdout, expected_stderr, options=options)
57 self.assert_execute_outputs(PatchesToCommitQueue(), None, expected_stdout, expected_stderr, options=options)
61 expected_stderr = "Patches pending review:\n"
62 self.assert_execute_outputs(PatchesToReview(), None, expected_stdout, expected_stderr)
openbugs_unittest.py 49 expected_stderr = "2 bugs found in input.\nMOCK: user.open_url: http://example.com/12345\nMOCK: user.open_url: http://example.com/23456\n"
50 self.assert_execute_outputs(OpenBugs(), ["12345\n23456"], expected_stderr=expected_stderr)
sheriffbot_unittest.py 43 expected_stderr = {
57 self.assert_queue_outputs(SheriffBot(), work_item=mock_work_item, expected_stderr=expected_stderr)
earlywarningsystem_unittest.py 48 expected_stderr = "MOCK run_and_throw_if_fail: ['echo', '--status-host=example.com', 'build', '--port=win', '--build-style=release', '--force-clean', '--no-update']\n"
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 OutputCapture().assert_outputs(self, queue.process_work_item, [mock_patch], expected_stderr=expected_stderr, expected_exception=ScriptError)
87 expected_stderr =
    [all...]
queuestest.py 51 def assert_outputs(self, func, func_name, args, expected_stdout, expected_stderr, expected_exceptions):
60 expected_stderr=expected_stderr.get(func_name, ""),
67 def assert_queue_outputs(self, queue, args=None, work_item=None, expected_stdout=None, expected_stderr=None, expected_exceptions=None, options=None, tool=None):
75 if not expected_stderr:
76 expected_stderr = {}
88 self.assert_outputs(queue.queue_log_path, "queue_log_path", [], expected_stdout, expected_stderr, expected_exceptions)
89 self.assert_outputs(queue.work_item_log_path, "work_item_log_path", [work_item], expected_stdout, expected_stderr, expected_exceptions)
90 self.assert_outputs(queue.begin_work_queue, "begin_work_queue", [], expected_stdout, expected_stderr, expected_exceptions)
91 self.assert_outputs(queue.should_continue_work_queue, "should_continue_work_queue", [], expected_stdout, expected_stderr, expected_exceptions
    [all...]
commandtest.py 35 def assert_execute_outputs(self, command, args, expected_stdout="", expected_stderr="", expected_exception=None, options=MockOptions(), tool=MockTool()):
48 OutputCapture().assert_outputs(self, command.execute, [options, args, tool], expected_stdout=expected_stdout, expected_stderr=expected_stderr, expected_exception=expected_exception)
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 patch_id = OutputCapture().assert_outputs(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 =
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/common/net/irc/
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/tool/steps/
closebugforlanddiff_unittest.py 39 expected_stderr = "Committed r49824: <http://trac.webkit.org/changeset/49824>\nNo bug id provided.\n"
40 capture.assert_outputs(self, step.run, [{"commit_text" : "Mock commit text"}], expected_stderr=expected_stderr)
suggestreviewers_unittest.py 45 expected_stderr = "Would you like to CC them?\n"
46 capture.assert_outputs(self, step.run, [{"bug_id": "123"}], expected_stdout=expected_stdout, expected_stderr=expected_stderr)
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)
steps_unittest.py 61 expected_stderr = "Updating working directory\n"
62 OutputCapture().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)
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 at the top of the file?\nOK to continue?\n"
49 result = OutputCapture().assert_outputs(self, step._check_changelog_diff, [diff_file], expected_stderr=expected_stderr)
  /external/webkit/Tools/Scripts/webkitpy/common/system/
outputcapture.py 57 def assert_outputs(self, testcase, function, args=[], kwargs={}, expected_stdout="", expected_stderr="", expected_exception=None):
65 testcase.assertEqual(stderr_string, expected_stderr)
85 def assertStderr(self, expected_stderr):
86 self.assertEquals(expected_stderr, self.__captured_stderr.getvalue())
workspace_unittest.py 53 expected_stderr = "MOCK run_command: ['zip', '-r', '/zip/path', '/source/path']\n"
57 archive = OutputCapture().assert_outputs(self, workspace.create_zip, ["/zip/path", "/source/path", MockZipFile], expected_stderr=expected_stderr)
  /external/webkit/Tools/Scripts/webkitpy/common/net/
layouttestresults_unittest.py 93 expected_stderr = "Unhandled link text in results.html parsing: foo. Please file a bug against webkitpy.\n"
94 OutputCapture().assert_outputs(self, LayoutTestResults._failures_from_fail_row, [row], expected_stderr=expected_stderr)
  /external/webkit/Tools/Scripts/webkitpy/tool/
multicommandtool_unittest.py 85 exit_code = OutputCapture().assert_outputs(self, two_required_arguments.check_arguments_and_execute, [None, ["foo"], TrivialTool()], expected_stderr=expected_missing_args_error)
124 def _assert_tool_main_outputs(self, tool, main_args, expected_stdout, expected_stderr = "", expected_exit_code=0):
125 exit_code = OutputCapture().assert_outputs(self, tool.main, [main_args], expected_stdout=expected_stdout, expected_stderr=expected_stderr)

Completed in 232 milliseconds

1 2