Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost_mock.py

Issue 2588863002: Make MockExecutive behave more like MockExecutive2. (Closed)
Patch Set: Remove extra changes in android_unittest.py. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost_mock.py
index e744eddfea052312b691f779bb9e5001b5e88b51..9a407966497d887df337f54f5dfbd9abce5a2663 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost_mock.py
@@ -37,10 +37,10 @@ from webkitpy.common.system.workspace_mock import MockWorkspace
class MockSystemHost(object):
- def __init__(self, log_executive=False, executive_throws_when_run=None, os_name=None,
+ def __init__(self, log_executive=False, os_name=None,
os_version=None, executive=None, filesystem=None, time_return_val=123):
self.executable = 'python'
- self.executive = executive or MockExecutive(should_log=log_executive, should_throw_when_run=executive_throws_when_run)
+ self.executive = executive or MockExecutive(should_log=log_executive)
self.filesystem = filesystem or MockFileSystem()
self.user = MockUser()
self.platform = MockPlatformInfo()

Powered by Google App Engine
This is Rietveld 408576698