OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expected_stdout
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/
gardeningserver_unittest.py
91
def _post_to_path(self, path, body=None, expected_stderr=None,
expected_stdout
=None, server=None):
95
OutputCapture().assert_outputs(self, handler.do_POST, expected_stderr=expected_stderr,
expected_stdout
=
expected_stdout
)
99
expected_stdout
= '== Begin XML Response ==\nMOCK output of child process\n== End XML Response ==\n'
100
self._post_to_path('/svnlog', expected_stderr=expected_stderr,
expected_stdout
=
expected_stdout
)
104
expected_stdout
= '== Begin Response ==\n1\n== End Response ==\n'
114
self._post_to_path('/lastroll', expected_stderr=expected_stderr,
expected_stdout
='== Begin Response ==\n3\n== End Response ==\n', server=server)
115
self._post_to_path('/lastroll', expected_stderr=expected_stderr,
expected_stdout
='== Begin Response ==\n0\n== End Response ==\n', server=server)
119
expected_stdout
= "== Begin Response ==\nsuccess\n== End Response ==\n
[
all
...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
queuestest.py
51
def assert_outputs(self, func, func_name, args,
expected_stdout
, expected_stderr, expected_exceptions, expected_logs):
63
expected_stdout
=
expected_stdout
.get(func_name, ""),
77
def assert_queue_outputs(self, queue, args=None, work_item=None,
expected_stdout
=None, expected_stderr=None, expected_exceptions=None, expected_logs=None, options=None, tool=None):
83
if not
expected_stdout
:
84
expected_stdout
= {}
98
self.assert_outputs(queue.queue_log_path, "queue_log_path", [],
expected_stdout
, expected_stderr, expected_exceptions, expected_logs)
99
self.assert_outputs(queue.work_item_log_path, "work_item_log_path", [work_item],
expected_stdout
, expected_stderr, expected_exceptions, expected_logs)
100
self.assert_outputs(queue.begin_work_queue, "begin_work_queue", [],
expected_stdout
, expected_stderr, expected_exceptions, expected_logs)
101
self.assert_outputs(queue.should_continue_work_queue, "should_continue_work_queue", [],
expected_stdout
, expected_stderr, expected_exceptions, expected_logs
[
all
...]
commandtest.py
35
def assert_execute_outputs(self, command, args=[],
expected_stdout
="", expected_stderr="", expected_exception=None, expected_logs=None, options=MockOptions(), tool=MockTool()):
49
OutputCapture().assert_outputs(self, command.execute, [options, args, tool],
expected_stdout
=
expected_stdout
, expected_stderr=expected_stderr, expected_exception=expected_exception, expected_logs=expected_logs)
queries_unittest.py
42
def run_test(self, tests,
expected_stdout
, platform='test-win-xp', **args):
56
self.assertMultiLineEqual(stdout,
expected_stdout
)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
outputcapture.py
88
def assert_outputs(self, testcase, function, args=[], kwargs={},
expected_stdout
="", expected_stderr="", expected_exception=None, expected_logs=None):
103
testassert(stdout_string,
expected_stdout
)
125
def assertStdout(self,
expected_stdout
):
126
self.assertEqual(
expected_stdout
, self.__captured_stdout.getvalue())
user_unittest.py
64
expected_stdout
="title\n\nsubtitle1\n 1. foo\n 2. bar\n\nsubtitle2\n 3. foobar\n 4. barbaz\n 5. foobaz\n")
94
expected_stdout
="title\n 1. foo\n 2. bar\n")
138
output.assert_outputs(self, user._warn_if_application_is_xcode, ["Xcode"],
expected_stdout
=xcode_warning)
139
output.assert_outputs(self, user._warn_if_application_is_xcode, ["/Developer/Applications/Xcode.app"],
expected_stdout
=xcode_warning)
/external/chromium_org/third_party/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 346 milliseconds