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

Unified Diff: build/android/devil/android/device_utils_test.py

Issue 1334303003: DeviceUtils: When skipping "adb install", run "am force-stop" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 3 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 | « build/android/devil/android/device_utils.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/devil/android/device_utils_test.py
diff --git a/build/android/devil/android/device_utils_test.py b/build/android/devil/android/device_utils_test.py
index 3fd5e0c60ae6bc9235bad3a5141d9d921dfc2d53..f63e6bcff6ba2dc8ac9db014a78438525ec7e89e 100755
--- a/build/android/devil/android/device_utils_test.py
+++ b/build/android/devil/android/device_utils_test.py
@@ -628,7 +628,9 @@ class DeviceUtilsInstallTest(DeviceUtilsTest):
['/fake/data/app/test.package.apk']),
(self.call.device._ComputeStaleApks('test.package',
['/fake/test/app.apk']),
- ([], None))):
+ ([], None)),
+ (self.call.device.RunShellCommand(['am', 'force-stop', 'test.package'],
+ check_return=True))):
self.device.Install(
'/fake/test/app.apk', reinstall=True, retries=0, permissions=[])
« no previous file with comments | « build/android/devil/android/device_utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698