Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Tools / Scripts / webkitpy / common / system / executive_mock.py
index aa855d7..1f137de 100644 (file)
@@ -82,17 +82,6 @@ class MockExecutive(object):
         _log.info("MOCK running_pids: %s" % running_pids)
         return running_pids
 
-    def run_and_throw_if_fail(self, args, quiet=False, cwd=None, env=None):
-        self.calls.append(args)
-        if self._should_log:
-            env_string = ""
-            if env:
-                env_string = ", env=%s" % env
-            _log.info("MOCK run_and_throw_if_fail: %s, cwd=%s%s" % (args, cwd, env_string))
-        if self._should_throw_when_run.intersection(args):
-            raise ScriptError("Exception for %s" % args, output="MOCK command output")
-        return "MOCK output of child process"
-
     def command_for_printing(self, args):
         string_args = map(unicode, args)
         return " ".join(string_args)