Brett Chabot | dd0aa01 | 2009-07-10 12:10:53 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | package="com.android.cts.instrumentationdiffcertapp"> |
| 18 | |
| 19 | <!-- |
| 20 | A simple app to test that an instrumentation cannot target an app signed with a different |
| 21 | certificate. |
| 22 | --> |
| 23 | |
| 24 | <application> |
| 25 | <uses-library android:name="android.test.runner" /> |
| 26 | </application> |
| 27 | |
| 28 | <!-- assumes com.android.cts.targetinstrumentationapp is signed with diff cert --> |
Brian Muramatsu | f176eaf | 2010-07-27 14:27:01 -0700 | [diff] [blame] | 29 | <instrumentation android:name="android.app.Instrumentation" |
Brett Chabot | dd0aa01 | 2009-07-10 12:10:53 -0400 | [diff] [blame] | 30 | android:targetPackage="com.android.cts.targetinstrumentationapp" |
Brian Muramatsu | f176eaf | 2010-07-27 14:27:01 -0700 | [diff] [blame] | 31 | android:label="Instrumentation that targets app with different cert" /> |
| 32 | |
| 33 | <!-- |
| 34 | A self-instrumenting test runner, that will try to start the above instrumentation and |
| 35 | verify it fails. |
| 36 | --> |
| 37 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 38 | android:targetPackage="com.android.cts.instrumentationdiffcertapp" |
Brett Chabot | dd0aa01 | 2009-07-10 12:10:53 -0400 | [diff] [blame] | 39 | android:label="Test for instrumentation with different cert" /> |
| 40 | </manifest> |