/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/ |
runtests_unittest.py | 45 expected_logs = """Running bindings generation tests 53 expected_logs = """Running bindings generation tests 61 OutputCapture().assert_outputs(self, step.run, [{}], expected_logs=expected_logs)
|
commit_unittest.py | 53 expected_logs = "Committed r49824: <http://trac.webkit.org/changeset/49824>\n" 54 capture.assert_outputs(self, step.run, [state], expected_logs=expected_logs) 59 expected_logs = """MOCK run_and_throw_if_fail: ['mock-check-webkit-style', '--diff-files', 'platform/chromium/%s'], cwd=/mock-checkout 62 capture.assert_outputs(self, step.run, [state], expected_logs=expected_logs)
|
steps_unittest.py | 60 def _assert_step_output_with_bug(self, step, bug_id, expected_logs, options=None): 62 OutputCapture().assert_outputs(self, self._run_step, [step, MockTool(), options, state], expected_logs=expected_logs) 72 expected_logs = """Running Python unit tests 81 OutputCapture().assert_outputs(self, step.run, [{}], expected_logs=expected_logs)
|
/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): 57 if expected_logs and func_name in expected_logs: 58 logs = expected_logs[func_name] 66 expected_logs=logs) 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): 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)
|
rebaseline_unittest.py | 233 expected_logs="Cannot rebaseline reftest: userscripts/another-test.html\n") [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
detection_unittest.py | 45 expected_logs = """\ 49 scm = OutputCapture().assert_outputs(self, detector.detect_scm_system, ["/"], expected_logs=expected_logs)
|
scm_unittest.py | [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
workspace_unittest.py | 53 expected_logs = "MOCK run_command: ['zip', '-9', '-r', '/zip/path', '.'], cwd=/source/path\n" 57 archive = OutputCapture().assert_outputs(self, workspace.create_zip, ["/zip/path", "/source/path", MockZipFile], expected_logs=expected_logs) 62 expected_logs = """MOCK run_command: ['zip', '-9', '-r', '/zip/path', '.'], cwd=/source/path 71 archive = OutputCapture().assert_outputs(self, workspace.create_zip, ["/zip/path", "/source/path", MockZipFile], expected_logs=expected_logs)
|
outputcapture_unittest.py | 42 def assertLogged(self, expected_logs): 46 self.assertMultiLineEqual(expected_logs, actual_logs)
|
outputcapture.py | 88 def assert_outputs(self, testcase, function, args=[], kwargs={}, expected_stdout="", expected_stderr="", expected_exception=None, expected_logs=None): 105 if expected_logs is not None: 106 testassert(logs_string, expected_logs)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/ |
checkout_unittest.py | 58 expected_logs = "MOCK run_command: ['svn-apply', '--force'], cwd=/mock-checkout, input=foo\n" 59 OutputCapture().assert_outputs(self, checkout.apply_patch, [mock_patch], expected_logs=expected_logs)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
win_unittest.py | 67 expected_logs = "MOCK run_command: ['/mock-checkout/Source/WebKit/chromium/third_party/cygwin/setup_mount.bat'], cwd=None\n" 69 output.assert_outputs(self, port.setup_environ_for_server, expected_logs=expected_logs)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/ |
multicommandtool_unittest.py | 84 expected_logs = "2 arguments required, 1 argument provided. Provided: 'foo' Required: ARG1 ARG2\nSee 'trivial-tool help trivial' for usage.\n" 85 exit_code = OutputCapture().assert_outputs(self, two_required_arguments.check_arguments_and_execute, [None, ["foo"], TrivialTool()], expected_logs=expected_logs)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
credentials_unittest.py | 119 expected_logs = "Reading Keychain for example.com account and password. Click \"Allow\" to continue...\n" 120 OutputCapture().assert_outputs(self, credentials._run_security_tool, [username], expected_logs=expected_logs)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
perftestsrunner_integrationtest.py | 333 expected_logs = '' 336 expected_logs += 'Running 2 tests%s\n' % runs + EventTargetWrapperTestData.output + InspectorPassTestData.output 338 expected_logs += 'MOCK: user.open_url: file://...\n' 339 self.assertEqual(self._normalize_output(logs), expected_logs)
|