OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expected_stdout
(Results
1 - 10
of
10
) sorted by null
/external/webkit/Tools/Scripts/webkitpy/tool/commands/
queries_unittest.py
44
expected_stdout
= "http://example.com/197\nhttp://example.com/103\n"
46
self.assert_execute_outputs(PatchesInCommitQueue(), None,
expected_stdout
, expected_stderr)
49
expected_stdout
= "http://example.com/104&action=edit\n"
53
self.assert_execute_outputs(PatchesToCommitQueue(), None,
expected_stdout
, expected_stderr, options=options)
55
expected_stdout
= "http://example.com/77\n"
57
self.assert_execute_outputs(PatchesToCommitQueue(), None,
expected_stdout
, expected_stderr, options=options)
60
expected_stdout
= "103\n"
62
self.assert_execute_outputs(PatchesToReview(), None,
expected_stdout
, expected_stderr)
65
expected_stdout
= "ok : Builder1\nok : Builder2\n"
66
self.assert_execute_outputs(TreeStatus(), None,
expected_stdout
)
[
all
...]
queuestest.py
51
def assert_outputs(self, func, func_name, args,
expected_stdout
, expected_stderr, expected_exceptions):
59
expected_stdout
=
expected_stdout
.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):
73
if not
expected_stdout
:
74
expected_stdout
= {}
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)
upload_unittest.py
37
expected_stdout
= "This is a fake commit message that is at least 50 characters.\n"
38
self.assert_execute_outputs(CommitMessageForCurrentDiff(), [],
expected_stdout
=
expected_stdout
, tool=tool)
queues_unittest.py
154
expected_stdout
= "MOCK: fetch_attachment: 2 is not a known attachment id\n" # A mock-only message to prevent us from making mistakes.
156
patch_id = OutputCapture().assert_outputs(self, queue._next_patch, [],
expected_stdout
=
expected_stdout
, expected_stderr=expected_stderr)
/external/webkit/Tools/Scripts/webkitpy/tool/steps/
suggestreviewers_unittest.py
44
expected_stdout
= "The following reviewers have recently modified files in your patch:\nFoo Bar\n"
46
capture.assert_outputs(self, step.run, [{"bug_id": "123"}],
expected_stdout
=
expected_stdout
, expected_stderr=expected_stderr)
validatechangelogs_unittest.py
46
expected_stdout
= 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):
64
testcase.assertEqual(stdout_string,
expected_stdout
)
82
def assertStdout(self,
expected_stdout
):
83
self.assertEquals(
expected_stdout
, self.__captured_stdout.getvalue())
user_unittest.py
64
expected_stdout
="title\n 1. foo\n 2. bar\n")
108
output.assert_outputs(self, user._warn_if_application_is_xcode, ["Xcode"],
expected_stdout
=xcode_warning)
109
output.assert_outputs(self, user._warn_if_application_is_xcode, ["/Developer/Applications/Xcode.app"],
expected_stdout
=xcode_warning)
/external/webkit/Tools/Scripts/webkitpy/tool/
multicommandtool_unittest.py
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 613 milliseconds