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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py

Issue 2540603004: [Android] Redirect std{in,out,err} to sockets for layout tests. (Closed)
Patch Set: rebase 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/layout_tests/port/driver_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py
index 7d335b3a7ffec2408160a82d085f8ac7e3104db5..d48bd31b1eb66fa2a7c392b6d631e613a3daa1f4 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py
@@ -219,7 +219,7 @@ class DriverTest(unittest.TestCase):
def test_stop_cleans_up_properly(self):
port = self.make_port()
- port._server_process_constructor = MockServerProcess
+ port.server_process_constructor = MockServerProcess
driver = Driver(port, 0, pixel_tests=True)
driver.start(True, [], None)
last_tmpdir = port.host.filesystem.last_tmpdir
@@ -229,7 +229,7 @@ class DriverTest(unittest.TestCase):
def test_two_starts_cleans_up_properly(self):
port = self.make_port()
- port._server_process_constructor = MockServerProcess
+ port.server_process_constructor = MockServerProcess
driver = Driver(port, 0, pixel_tests=True)
driver.start(True, [], None)
last_tmpdir = port.host.filesystem.last_tmpdir
@@ -238,7 +238,7 @@ class DriverTest(unittest.TestCase):
def test_start_actually_starts(self):
port = self.make_port()
- port._server_process_constructor = MockServerProcess
+ port.server_process_constructor = MockServerProcess
driver = Driver(port, 0, pixel_tests=True)
driver.start(True, [], None)
self.assertTrue(driver._server_process.started)

Powered by Google App Engine
This is Rietveld 408576698