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

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

Issue 2624093003: Remove the overridden _stop_running_server method in WPTServe. (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py
index fcdd1e8aa3b7476b75c561047fff4c2c8ada3bfd..0696eaf9becf6d650aefcaaeda83ce10597fdf7b 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/system_host_mock.py
@@ -69,6 +69,9 @@ class MockSystemHost(object):
def time(self):
return self.time_return_val
+ def sleep(self, seconds):
+ self.time_return_val += seconds
+
def print_(self, *args, **kwargs):
sep = kwargs.get('sep', ' ')
end = kwargs.get('end', '\n')

Powered by Google App Engine
This is Rietveld 408576698