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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android_unittest.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/layout_tests/port/android_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android_unittest.py
index 187890bfa7b8ea9bba9e538e82921e1cd86f3aef..ba6d4bf3beeefc9729d44d33f9f794f94d8370b7 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android_unittest.py
@@ -93,6 +93,8 @@ class AndroidPortTest(port_testcase.PortTestCase):
def test_check_build(self):
host = MockSystemHost()
port = self.make_port(host=host, options=optparse.Values({'child_processes': 1}))
+ # Checking the devices is not tested in this unit test.
+ port._check_devices = lambda _: None
qyearsley 2016/12/19 22:49:29 The reason why this is added: With the previous v
host.filesystem.exists = lambda p: True
port.check_build(needs_http=True, printer=port_testcase.FakePrinter())

Powered by Google App Engine
This is Rietveld 408576698