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

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

Issue 2453513002: Change default behavior of --seed to be unix timestamp (Closed)
Patch Set: Address CL feedback from dpranke Created 4 years, 2 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py
index 59aca25dbe7719ef84dea24218ab9fdb570d3577..155e7456bbe778b8978dac589bc21db681ed8636 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py
@@ -41,8 +41,12 @@ from webkitpy.layout_tests.port.test import add_unit_tests_to_mock_filesystem
class MockHost(MockSystemHost):
def __init__(self, log_executive=False, executive_throws_when_run=None,
- initialize_scm_by_default=True, web=None, scm=None, os_name=None, os_version=None):
- MockSystemHost.__init__(self, log_executive, executive_throws_when_run, os_name=os_name, os_version=os_version)
+ initialize_scm_by_default=True, web=None, scm=None, os_name=None, os_version=None,
+ time_return_val=123):
+
+ MockSystemHost.__init__(self, log_executive, executive_throws_when_run, os_name=os_name,
+ os_version=os_version, time_return_val=time_return_val)
+
add_unit_tests_to_mock_filesystem(self.filesystem)
self.web = web or MockWeb()
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698