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

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

Issue 1316803004: [Android] Set permission when installing apks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: build/android/pylib/gtest/gtest_test_instance.py
diff --git a/build/android/pylib/gtest/gtest_test_instance.py b/build/android/pylib/gtest/gtest_test_instance.py
index 4cf79345104446e50f16772a4440fd47e9586962..dd2e608d095813553c6adbcb6aaed638e86a2101 100644
--- a/build/android/pylib/gtest/gtest_test_instance.py
+++ b/build/android/pylib/gtest/gtest_test_instance.py
@@ -145,6 +145,7 @@ class GtestTestInstance(test_instance.TestInstance):
self._activity = helper.GetActivityName()
self._package = helper.GetPackageName()
self._runner = helper.GetInstrumentationName()
+ self._permissions = helper.GetPermissions()
self._extras = {
_EXTRA_NATIVE_TEST_ACTIVITY: self._activity,
}
@@ -320,6 +321,10 @@ class GtestTestInstance(test_instance.TestInstance):
return self._package
@property
+ def permissions(self):
+ return self._permissions
+
+ @property
def runner(self):
return self._runner
« no previous file with comments | « build/android/devil/android/device_utils_test.py ('k') | build/android/pylib/gtest/local_device_gtest_run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698