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

Unified Diff: build/android/pylib/uirobot/uirobot_test_instance.py

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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: build/android/pylib/uirobot/uirobot_test_instance.py
diff --git a/build/android/pylib/uirobot/uirobot_test_instance.py b/build/android/pylib/uirobot/uirobot_test_instance.py
index b129f89c1cac0a461fd371d59787061bd855bf8d..9eba0acb2aedd620fd9d2fa874f7dfaafd66f46e 100644
--- a/build/android/pylib/uirobot/uirobot_test_instance.py
+++ b/build/android/pylib/uirobot/uirobot_test_instance.py
@@ -6,6 +6,7 @@ import os
from pylib import constants
from pylib.base import test_instance
+from pylib.utils import apk_helper
class UirobotTestInstance(test_instance.TestInstance):
@@ -19,6 +20,7 @@ class UirobotTestInstance(test_instance.TestInstance):
self._apk_under_test = os.path.join(
constants.GetOutDirectory(), args.apk_under_test)
self._minutes = args.minutes
+ self._package_name = apk_helper.GetPackageName(self._apk_under_test)
#override
def TestType(self):
@@ -41,11 +43,11 @@ class UirobotTestInstance(test_instance.TestInstance):
return self._apk_under_test
@property
- def suite(self):
- """Returns the test suite, none for uirobot."""
- return None
-
- @property
def minutes(self):
"""Returns the number of minutes to run the uirobot for."""
return self._minutes
+
+ @property
+ def package_name(self):
+ """Returns the name of the package in the APK."""
+ return self._package_name
« no previous file with comments | « build/android/pylib/remote/device/remote_device_uirobot_run.py ('k') | build/android/pylib/utils/device_temp_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698