HomeSort by relevance Sort by last modified time
    Searched refs:Executive (Results 1 - 24 of 24) sorted by null

  /external/chromium_org/third_party/WebKit/Tools/Scripts/
run-bindings-tests 32 from webkitpy.common.system import executive namespace
46 return BindingsTests(reset_results, executive.Executive()).main()
  /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)
user.py 39 from webkitpy.common.system.executive import Executive
61 self._platforminfo = platforminfo or PlatformInfo(sys, platform, Executive())
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'))
151 self.assertRaises(AssertionError, self.make_info, fake_sys('win32'), executive=fake_executive('5.0.1234'))
152 self.assertEqual(self.make_info(fake_sys('cygwin'), executive=fake_executive('6.2.1234')).os_version, 'future')
153 self.assertEqual(self.make_info(fake_sys('cygwin'), executive=fake_executive('6.1.7600')).os_version, '7sp0')
154 self.assertEqual(self.make_info(fake_sys('cygwin'), executive=fake_executive('6.0.1234')).os_version, 'vista'
    [all...]
executive.py 86 class Executive(object):
172 interpreter = Executive.interpreter_for_script(script_path, fs)
349 # updated to use an Executive object.
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/
ports.py 35 from webkitpy.common.system.executive import Executive
59 return Executive.shell_command_for_script(script_path)
71 # FIXME: This shouldn't use a static Executive().
72 args = '--makeargs="-j%s"' % Executive().cpu_count()
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
patchreader.py 35 from webkitpy.common.system.executive import Executive
73 detection = SCMDetector(fs, Executive()).detect_scm_system(cwd)
  /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)
svn.py 40 from webkitpy.common.system.executive import Executive, ScriptError
62 find_output = self.run(find_args, cwd=home_directory, error_handler=Executive.ignore_error).rstrip()
91 def in_working_directory(cls, path, executive=None):
97 executive = executive or Executive()
99 exit_code = executive.run_command(svn_info_args, cwd=path, return_exit_code=True)
110 # FIXME: This method should use a passed in executive or be made an instance method and use self._executive.
111 info_output = Executive().run_command(svn_info_args, cwd=path).rstrip(
    [all...]
scm.py 36 from webkitpy.common.system.executive import Executive, ScriptError
51 Executive.default_error_handler(error)
63 def __init__(self, cwd, executive=None, filesystem=None):
65 self._executive = executive or Executive()
120 def in_working_directory(cls, path, executive=None):
scm_unittest.py 49 from webkitpy.common.system.executive import Executive, ScriptError
82 # New code should use Executive.run_command directly instead
83 return Executive().run_command(*args, **kwargs)
86 # FIXME: This should be unified into one of the executive.py commands!
114 # FIXME: This should use an Executive.
265 self.assertRaises(OSError, run_command, command_does_not_exist, error_handler=Executive.ignore_error)
270 self.assertTrue(run_command(command_returns_non_zero, error_handler=Executive.ignore_error))
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
python.py 31 from webkitpy.common.system.executive import Executive
75 executive = Executive()
76 return executive.run_command([sys.executable, wkf.path_from_depot_tools_base('pylint.py'),
81 error_handler=executive.ignore_error)
  /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/webkitpy/common/checkout/
checkout_unittest.py 39 from webkitpy.common.system.executive import Executive, ScriptError
49 return Checkout(scm=MockSCM(), filesystem=MockFileSystem(), executive=MockExecutive())
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/webgl/
update_webgl_conformance_tests.py 32 from webkitpy.common.system.executive import Executive
95 detector = scm.SCMDetector(FileSystem(), Executive())
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/
credentials.py 38 from webkitpy.common.system.executive import Executive, ScriptError
54 def __init__(self, host, git_prefix=None, executive=None, cwd=os.getcwd(),
58 self.executive = executive or Executive()
106 return self.executive.run_command(security_command)
credentials_unittest.py 33 from webkitpy.common.system.executive import Executive
55 # Note: All tests should use this class instead of Credentials directly to avoid using a real Executive.
58 if 'executive' not in kwargs:
59 kwargs['executive'] = MockExecutive()
117 credentials = MockedCredentials("example.com", executive=executive_mock)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/
haslanded.py 36 from webkitpy.common.system.executive import Executive, ScriptError
67 def diff_diff(cls, diff1, diff2, diff1_suffix, diff2_suffix, executive=None):
79 if not executive:
80 executive = Executive()
83 return executive.run_command(
111 executive=self._tool.executive)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
run.py 61 handle() instantiates a run.Executive object, passing it a reference to the
63 Executive instance. The Executive methods have access to the reference and
258 executive = Executive(self)
259 self.register("exec", executive)
292 class Executive(object):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
run.py 61 handle() instantiates a run.Executive object, passing it a reference to the
63 Executive instance. The Executive methods have access to the reference and
258 executive = Executive(self)
259 self.register("exec", executive)
292 class Executive(object):
  /external/chromium_org/build/android/pylib/utils/
flakiness_dashboard_results_uploader.py 29 from webkitpy.common.system import executive, filesystem namespace
44 self._executive = executive.Executive()
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
layout_tests_mover.py 54 from webkitpy.common.system.executive import Executive
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
base_unittest.py 35 from webkitpy.common.system.executive import Executive, ScriptError
49 def make_port(self, executive=None, with_tests=False, port_name=None, **kwargs):
51 if executive:
52 host.executive = executive
90 port = self.make_port(executive=executive_mock.MockExecutive2(exception=OSError))
103 port = self.make_port(executive=executive_mock.MockExecutive2(exception=ScriptError))
330 port = self.make_port(executive=MockExecutive2())
339 port = self.make_port(executive=MockExecutive2(exit_code=1)
    [all...]

Completed in 579 milliseconds