Dmitri Plotnikov | 6bc8c0d | 2009-05-06 19:07:50 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 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 | |
Jeff Hamilton | 4f86436 | 2009-04-23 02:29:07 -0500 | [diff] [blame] | 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Evan Millar | 28f8857 | 2009-07-08 14:58:53 -0700 | [diff] [blame] | 18 | package="com.android.providers.contacts.tests" |
Dmitri Plotnikov | 6bc8c0d | 2009-05-06 19:07:50 -0700 | [diff] [blame] | 19 | android:sharedUserId="android.uid.shared"> |
Jeff Hamilton | 4f86436 | 2009-04-23 02:29:07 -0500 | [diff] [blame] | 20 | |
| 21 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 22 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
Nancy Chen | dca8f30 | 2015-04-02 14:30:59 -0700 | [diff] [blame^] | 23 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| 24 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
Jeff Hamilton | 4f86436 | 2009-04-23 02:29:07 -0500 | [diff] [blame] | 25 | |
Dmitri Plotnikov | 6bc8c0d | 2009-05-06 19:07:50 -0700 | [diff] [blame] | 26 | <application> |
| 27 | <uses-library android:name="android.test.runner" /> |
Nancy Chen | dca8f30 | 2015-04-02 14:30:59 -0700 | [diff] [blame^] | 28 | |
Dmitri Plotnikov | 767e109 | 2010-03-25 17:21:55 -0700 | [diff] [blame] | 29 | <!-- Mock contacts sync adapter --> |
| 30 | <service android:name=".MockSyncAdapter" android:exported="true"> |
| 31 | <meta-data android:name="android.provider.CONTACTS_STRUCTURE" |
| 32 | android:resource="@xml/contacts" /> |
| 33 | </service> |
Jeff Hamilton | 4f86436 | 2009-04-23 02:29:07 -0500 | [diff] [blame] | 34 | </application> |
Dmitri Plotnikov | 6bc8c0d | 2009-05-06 19:07:50 -0700 | [diff] [blame] | 35 | |
| 36 | <!-- |
Dmitri Plotnikov | 767e109 | 2010-03-25 17:21:55 -0700 | [diff] [blame] | 37 | The test declared in this instrumentation will be run along with tests declared by |
Dmitri Plotnikov | 6bc8c0d | 2009-05-06 19:07:50 -0700 | [diff] [blame] | 38 | all other applications via the command: "adb shell itr". |
| 39 | The "itr" command will find all tests declared by all applications. If you want to run just these |
| 40 | tests on their own then use the command: |
Evan Millar | 28f8857 | 2009-07-08 14:58:53 -0700 | [diff] [blame] | 41 | "adb shell am instrument -w com.android.providers.contacts.tests/android.test.InstrumentationTestRunner" |
Dmitri Plotnikov | 6bc8c0d | 2009-05-06 19:07:50 -0700 | [diff] [blame] | 42 | --> |
| 43 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
Evan Millar | 28f8857 | 2009-07-08 14:58:53 -0700 | [diff] [blame] | 44 | android:targetPackage="com.android.providers.contacts" |
Dmitri Plotnikov | bee1a6b | 2009-07-10 16:26:09 -0700 | [diff] [blame] | 45 | android:label="Contacts Provider Tests"> |
Dmitri Plotnikov | 6bc8c0d | 2009-05-06 19:07:50 -0700 | [diff] [blame] | 46 | </instrumentation> |
| 47 | |
Jeff Hamilton | 4f86436 | 2009-04-23 02:29:07 -0500 | [diff] [blame] | 48 | </manifest> |