summaryrefslogtreecommitdiffstats
path: root/tests/permission
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2010-07-15 12:22:35 -0700
committerGuang Zhu <guangzhu@google.com>2010-07-15 12:22:35 -0700
commitc7717b4d1e6cf51ab8d8de03fe23dcad2dc97f52 (patch)
tree104d2a11e94cc486d2d4c38791afad12e1d237fd /tests/permission
parentf413bd5422d918872e576c1c0c3e0b9227f15304 (diff)
downloadandroid_packages_providers_DownloadProvider-c7717b4d1e6cf51ab8d8de03fe23dcad2dc97f52.zip
android_packages_providers_DownloadProvider-c7717b4d1e6cf51ab8d8de03fe23dcad2dc97f52.tar.gz
android_packages_providers_DownloadProvider-c7717b4d1e6cf51ab8d8de03fe23dcad2dc97f52.tar.bz2
fix permissons/targets in download provider tests
* permission tests package should be signed with the same cert as download provider itself * permission tests should not target on itself Change-Id: Ic4307119ed6c41cbffd98fe165ebc360e2b38c8e
Diffstat (limited to 'tests/permission')
-rw-r--r--tests/permission/Android.mk3
-rw-r--r--tests/permission/AndroidManifest.xml2
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/permission/Android.mk b/tests/permission/Android.mk
index 41ceabc..75963a3 100644
--- a/tests/permission/Android.mk
+++ b/tests/permission/Android.mk
@@ -6,9 +6,8 @@ LOCAL_MODULE_TAGS := tests
# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)
-
+LOCAL_CERTIFICATE := media
LOCAL_JAVA_LIBRARIES := android.test.runner
LOCAL_PACKAGE_NAME := DownloadProviderPermissionTests
include $(BUILD_PACKAGE)
-
diff --git a/tests/permission/AndroidManifest.xml b/tests/permission/AndroidManifest.xml
index c575fc4..7789ee0 100644
--- a/tests/permission/AndroidManifest.xml
+++ b/tests/permission/AndroidManifest.xml
@@ -33,7 +33,7 @@
"adb shell am instrument -w com.android.providers.downloads.permission.tests/android.test.InstrumentationTestRunner"
-->
<instrumentation android:name="android.test.InstrumentationTestRunner"
- android:targetPackage="com.android.providers.downloads.permission.tests"
+ android:targetPackage="com.android.providers.downloads"
android:label="Tests for Download provider permissions"/>
</manifest>