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

Unified Diff: build/android/pylib/android_commands.py

Issue 19799003: [android] Instumentation tests determine whether to install test apk based on Md5Sum. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed reference in uiautomator Created 7 years, 5 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/android_commands.py
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index e282ec86f1f144cbc6970520518c6cc0c9b259d4..7ea4a0001cf3664d260586551b58d519b2f02b7f 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -724,14 +724,12 @@ class AndroidCommands(object):
"""
self.RunShellCommand('input keyevent %d' % keycode)
- def CheckMd5Sum(self, local_path, device_path, ignore_paths=False):
+ def CheckMd5Sum(self, local_path, device_path):
"""Compares the md5sum of a local path against a device path.
Args:
local_path: Path (file or directory) on the host.
device_path: Path on the device.
- ignore_paths: If False, both the md5sum and the relative paths/names of
- files must match. If True, only the md5sum must match.
Returns:
True if the md5sums match.

Powered by Google App Engine
This is Rietveld 408576698