/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
executive_unittest.py | 48 from webkitpy.common.system.executive import Executive, ScriptError 87 file_interpreter = Executive.interpreter_for_script(temp_name, fs) 108 Executive().run_command(["foo_bar_command_blah"], error_handler=Executive.ignore_error, return_exit_code=True) 112 executive = Executive() 113 self.assertRaises(AssertionError, executive.run_command, "echo") 114 self.assertRaises(AssertionError, executive.run_command, u"echo") 115 executive.run_command(command_line('echo', 'foo') [all...] |
systemhost.py | 33 from webkitpy.common.system import environment, executive, filesystem, platforminfo, user, workspace namespace 38 self.executive = executive.Executive() 41 self.platform = platforminfo.PlatformInfo(sys, platform, self.executive) 42 self.workspace = workspace.Workspace(self.filesystem, self.executive)
|
workspace.py | 35 from webkitpy.common.system.executive import ScriptError 42 def __init__(self, filesystem, executive): 44 self._executive = executive # FIXME: Remove if create_zip is moved to python.
|
systemhost_mock.py | 39 def __init__(self, log_executive=False, executive_throws_when_run=None, os_name=None, os_version=None, executive=None, filesystem=None): 40 self.executive = executive or MockExecutive(should_log=log_executive, should_throw_when_run=executive_throws_when_run) 49 # FIXME: Should this take pointers to the filesystem and the executive?
|
profiler.py | 120 profile_text = self._host.executive.run_command(pprof_args) 145 self._perf_process = self._host.executive.popen(cmd) 154 self._host.executive.wait_limited(self._pid_being_profiled, limit_in_seconds=10) 157 self._host.executive.interrupt(self._perf_process.pid) 168 perf_output = self._host.executive.run_command(perf_args) 185 self._profiler_process = self._host.executive.popen(cmd) 205 self._profiler_process = self._host.executive.popen(cmd)
|
platforminfo_unittest.py | 33 from webkitpy.common.system.executive import Executive 70 def make_info(self, sys_module=None, platform_module=None, executive=None): 71 return PlatformInfo(sys_module or fake_sys(), platform_module or fake_platform(), executive or fake_executive()) 77 info = PlatformInfo(sys, platform, Executive()) 116 info = self.make_info(fake_sys('cygwin'), executive=fake_executive('6.1.7600')) 152 self.assertRaises(AssertionError, self.make_info, fake_sys('win32'), executive=fake_executive('5.0.1234')) 153 self.assertEqual(self.make_info(fake_sys('cygwin'), executive=fake_executive('6.2.1234')).os_version, 'future') 154 self.assertEqual(self.make_info(fake_sys('cygwin'), executive=fake_executive('6.1.7600')).os_version, '7sp0') 155 self.assertEqual(self.make_info(fake_sys('cygwin'), executive=fake_executive('6.0.1234')).os_version, 'vista' [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
detection.py | 33 from webkitpy.common.system.executive import Executive 42 def __init__(self, filesystem, executive): 44 self._executive = executive 71 if SVN.in_working_directory(absolute_path, executive=self._executive): 72 return SVN(cwd=absolute_path, patch_directories=patch_directories, filesystem=self._filesystem, executive=self._executive) 74 if Git.in_working_directory(absolute_path, executive=self._executive): 75 return Git(cwd=absolute_path, filesystem=self._filesystem, executive=self._executive) 83 return SCMDetector(FileSystem(), Executive()).detect_scm_system(path, patch_directories)
|
detection_unittest.py | 42 executive = MockExecutive(should_log=True) 43 detector = SCMDetector(filesystem, executive)
|
scm.py | 36 from webkitpy.common.system.executive import Executive, ScriptError 44 def __init__(self, cwd, executive=None, filesystem=None): 46 self._executive = executive or Executive() 83 def in_working_directory(cls, path, executive=None):
|
git.py | 37 from webkitpy.common.system.executive import Executive, ScriptError 69 def in_working_directory(cls, path, executive=None): 71 executive = executive or Executive() 72 return executive.run_command([cls.executable_name, 'rev-parse', '--is-inside-work-tree'], cwd=path, error_handler=Executive.ignore_error).rstrip() == "true" 85 def read_git_config(cls, key, cwd=None, executive=None): 89 # FIXME: This should use an Executive [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
host.py | 56 # In order to instantiate a port correctly, we have to pass it at least an executive, user, scm, and filesystem 79 # Or possibly Executive should have a way to emulate shell path-lookups? 83 self.executive.run_command(['svn', 'help']) 86 self.executive.run_command(['svn.bat', 'help']) 103 self.executive.run_command(['git', 'help']) 106 self.executive.run_command(['git.bat', 'help']) 126 detector = SCMDetector(self.filesystem, self.executive) 137 return SCMDetector(self.filesystem, self.executive).detect_scm_system(path)
|
prettypatch.py | 34 def __init__(self, executive): 35 self._executive = executive
|
host_mock.py | 59 self._scm = MockSCM(filesystem=self.filesystem, executive=self.executive)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/ |
dump_reader_win_unittest.py | 39 host.executive = MockExecutive(should_throw=True) 72 host.executive.calls = [] 74 self.assertEqual(1, len(host.executive.calls)) 75 cmd_line = " ".join(host.executive.calls[0])
|
dump_reader_multipart_unittest.py | 105 self.assertEqual(2, len(host.executive.calls)) 106 cmd_line = " ".join(host.executive.calls[0]) 108 cmd_line = " ".join(host.executive.calls[1])
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/ |
main_unittest.py | 29 from webkitpy.common.system.executive import Executive 109 executive = Executive() 112 proc = executive.popen([sys.executable, filesystem.join(script_dir, 'test-webkitpy'), '-c', STUBS_CLASS + '.test_empty'], 113 stdout=executive.PIPE, stderr=executive.PIPE)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
update-w3c-deps | 107 self.executive = host.executive 116 return self.executive.call(cmd) 123 proc = self.executive.popen(cmd, stdout=self.executive.PIPE, 124 stderr=self.executive.PIPE, **args)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
python.py | 32 from webkitpy.common.system.executive import Executive 76 executive = Executive() 83 return executive.run_command([sys.executable, wkf.path_from_depot_tools_base('pylint.py'), 89 error_handler=executive.ignore_error)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/ |
abstractstep.py | 31 from webkitpy.common.system.executive import ScriptError
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
config.py | 45 def __init__(self, executive, filesystem, port_implementation=None): 46 self._executive = executive
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/ |
crash_service_unittest.py | 65 self.assertNotEquals(host.executive.calls, []) 77 host.executive.check_running_pid = mock_returns([True, False])
|
lighttpd_unittest.py | 77 self.assertNotEquals(host.executive.calls, []) 89 host.executive.check_running_pid = mock_returns([True, False])
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
test_importer_unittest.py | 55 host.executive = MockExecutive2(exception=OSError()) 69 host.executive = MockExecutive2(exception=ScriptError("abort: no repository found in '/Volumes/Source/src/wk/Tools/Scripts/webkitpy/w3c' (.hg not found)!"))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/ |
gardeningserver.py | 81 PIPE = self.server.tool.executive.PIPE 82 process = self.server.tool.executive.popen([self.server.tool.path()] + command, cwd=self.server.tool.scm().checkout_root, stdin=PIPE, stdout=PIPE, stderr=PIPE) 88 self._serve_xml(self.server.tool.executive.run_command(['svn', 'log', '--xml', '--limit', self.REVISION_LIMIT, self.BLINK_SVN_URL])) 91 deps_contents = self.server.tool.executive.run_command(['svn', 'cat', self.CHROMIUM_SVN_DEPS_URL])
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/ |
rebaseline_unittest.py | 107 self.tool.executive = MockExecutive2() 133 self.tool.executive = MockExecutive2() 161 self.tool.executive = MockExecutive2() 190 self.tool.executive = MockExecutive2() 282 self.tool.executive = MockExecutive2() 334 self.tool.executive = MockExecutive2() 371 self.assertEqual(self.tool.executive.calls, 382 self.assertEqual(self.tool.executive.calls, 395 self.assertEqual(self.tool.executive.calls, 408 self.assertEqual(self.tool.executive.calls [all...] |