| 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
|
|
|