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

Unified Diff: build/android/pylib/gtest/test_package_exe.py

Issue 338353004: [Android] Switch KillAll, StartActivity, and BroadcastIntent to DeviceUtils. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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: build/android/pylib/gtest/test_package_exe.py
diff --git a/build/android/pylib/gtest/test_package_exe.py b/build/android/pylib/gtest/test_package_exe.py
index 252c4a4f08b76562cc8c1160cddfa8617ecb3e94..644ff3f90fddd7dc5a66aabd5ac8add121be31f5 100644
--- a/build/android/pylib/gtest/test_package_exe.py
+++ b/build/android/pylib/gtest/test_package_exe.py
@@ -77,7 +77,7 @@ class TestPackageExecutable(TestPackage):
#override
def ClearApplicationState(self, device):
- device.old_interface.KillAllBlocking(self.suite_name, 30)
+ device.KillAll(self.suite_name, blocking=True, timeout=30)
#override
def CreateCommandLineFileOnDevice(self, device, test_filter, test_arguments):

Powered by Google App Engine
This is Rietveld 408576698