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

1 2 3

  /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
39 self.executive = executive.Executive()
42 self.platform = platforminfo.PlatformInfo(sys, platform, self.executive)
43 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 40 def __init__(self, log_executive=False, executive_throws_when_run=None, os_name=None, os_version=None, executive=None, filesystem=None):
42 self.executive = executive or MockExecutive(should_log=log_executive, should_throw_when_run=executive_throws_when_run)
51 # 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())
75 info = PlatformInfo(sys, platform, Executive())
114 info = self.make_info(fake_sys('cygwin'), executive=fake_executive('6.1.7600'))
150 self.assertRaises(AssertionError, self.make_info, fake_sys('win32'), executive=fake_executive('5.0.1234'))
151 self.assertEqual(self.make_info(fake_sys('cygwin'), executive=fake_executive('6.2.1234')).os_version, 'future')
152 self.assertEqual(self.make_info(fake_sys('cygwin'), executive=fake_executive('6.1.7600')).os_version, '7sp0')
153 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...]
svn.py 40 from webkitpy.common.system.executive import Executive, ScriptError
64 def in_working_directory(cls, path, executive=None):
70 executive = executive or Executive()
72 exit_code = executive.run_command(svn_info_args, cwd=path, return_exit_code=True)
83 # FIXME: This method should use a passed in executive or be made an instance method and use self._executive.
84 info_output = Executive().run_command(svn_info_args, cwd=path).rstrip()
185 info_output = Executive().run_command([self.executable_name, 'log', '-r', revision, '--xml', repository_root], cwd=path).r (…)
    [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 111 self.assertEqual(2, len(host.executive.calls))
112 cmd_line = " ".join(host.executive.calls[0])
114 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
87 executive = Executive()
97 proc = executive.popen([sys.executable, filesystem.join(script_dir, 'test-webkitpy'), '-c', STUBS_CLASS + '.test_empty'],
98 stdout=executive.PIPE, stderr=executive.PIPE)
  /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
confirmdiff.py 35 from webkitpy.common.system.executive import ScriptError
53 pretty_patch = PrettyPatch(self._tool.executive)
  /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])
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
test_importer_unittest.py 53 host.executive = MockExecutive2(exception=OSError())
67 host.executive = MockExecutive2(exception=ScriptError("abort: no repository found in '/Volumes/Source/src/wk/Tools/Scripts/webkitpy/w3c' (.hg not found)!"))
deps_updater.py 16 self.executive = host.executive
143 proc = self.executive.popen(cmd, stdout=self.executive.PIPE, stderr=self.executive.PIPE)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/
rebaseline_unittest.py 108 self.tool.executive = MockExecutive2()
134 self.tool.executive = MockExecutive2()
162 self.tool.executive = MockExecutive2()
191 self.tool.executive = MockExecutive2()
283 self.tool.executive = MockExecutive2()
335 self.tool.executive = MockExecutive2()
372 self.assertEqual(self.tool.executive.calls,
383 self.assertEqual(self.tool.executive.calls,
396 self.assertEqual(self.tool.executive.calls,
409 self.assertEqual(self.tool.executive.calls
    [all...]

Completed in 839 milliseconds

1 2 3