blob: 91fceaed2796b387d5422f5a5d0ad7c450a50194 [file] [log] [blame]
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -07001<?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 Hamilton4f864362009-04-23 02:29:07 -050017<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Evan Millar28f88572009-07-08 14:58:53 -070018 package="com.android.providers.contacts.tests"
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070019 android:sharedUserId="android.uid.shared">
Jeff Hamilton4f864362009-04-23 02:29:07 -050020
21 <uses-permission android:name="android.permission.READ_CONTACTS" />
22 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Nancy Chendca8f302015-04-02 14:30:59 -070023 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
24 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Jeff Hamilton4f864362009-04-23 02:29:07 -050025
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070026 <application>
27 <uses-library android:name="android.test.runner" />
Nancy Chendca8f302015-04-02 14:30:59 -070028
Dmitri Plotnikov767e1092010-03-25 17:21:55 -070029 <!-- 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 Hamilton4f864362009-04-23 02:29:07 -050034 </application>
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070035
36 <!--
Dmitri Plotnikov767e1092010-03-25 17:21:55 -070037 The test declared in this instrumentation will be run along with tests declared by
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070038 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 Millar28f88572009-07-08 14:58:53 -070041 "adb shell am instrument -w com.android.providers.contacts.tests/android.test.InstrumentationTestRunner"
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070042 -->
43 <instrumentation android:name="android.test.InstrumentationTestRunner"
Evan Millar28f88572009-07-08 14:58:53 -070044 android:targetPackage="com.android.providers.contacts"
Dmitri Plotnikovbee1a6b2009-07-10 16:26:09 -070045 android:label="Contacts Provider Tests">
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070046 </instrumentation>
47
Jeff Hamilton4f864362009-04-23 02:29:07 -050048</manifest>