blob: 15a90fa877bdc689f7728c1ac8eed62ef4a50ae5 [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
Nancy Chendca8f302015-04-02 14:30:59 -070021 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
22 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Jeff Hamilton4f864362009-04-23 02:29:07 -050023
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070024 <application>
25 <uses-library android:name="android.test.runner" />
Nancy Chendca8f302015-04-02 14:30:59 -070026
Dmitri Plotnikov767e1092010-03-25 17:21:55 -070027 <!-- Mock contacts sync adapter -->
28 <service android:name=".MockSyncAdapter" android:exported="true">
Makoto Onukic19d5512015-05-15 13:44:20 -070029 <intent-filter>
30 <action android:name="android.content.SyncAdapter" />
31 </intent-filter>
32 <meta-data android:name="android.content.SyncAdapter"
33 android:resource="@xml/mock_syncadapter" />
Dmitri Plotnikov767e1092010-03-25 17:21:55 -070034 <meta-data android:name="android.provider.CONTACTS_STRUCTURE"
35 android:resource="@xml/contacts" />
36 </service>
Jeff Hamilton4f864362009-04-23 02:29:07 -050037 </application>
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070038
39 <!--
Dmitri Plotnikov767e1092010-03-25 17:21:55 -070040 The test declared in this instrumentation will be run along with tests declared by
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070041 all other applications via the command: "adb shell itr".
42 The "itr" command will find all tests declared by all applications. If you want to run just these
43 tests on their own then use the command:
Evan Millar28f88572009-07-08 14:58:53 -070044 "adb shell am instrument -w com.android.providers.contacts.tests/android.test.InstrumentationTestRunner"
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070045 -->
46 <instrumentation android:name="android.test.InstrumentationTestRunner"
Evan Millar28f88572009-07-08 14:58:53 -070047 android:targetPackage="com.android.providers.contacts"
Dmitri Plotnikovbee1a6b2009-07-10 16:26:09 -070048 android:label="Contacts Provider Tests">
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070049 </instrumentation>
50
Jeff Hamilton4f864362009-04-23 02:29:07 -050051</manifest>