blob: e08429a5bd5c9c4f2aedf06d8ee65e42ee57b330 [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">
29 <meta-data android:name="android.provider.CONTACTS_STRUCTURE"
30 android:resource="@xml/contacts" />
31 </service>
Jeff Hamilton4f864362009-04-23 02:29:07 -050032 </application>
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070033
34 <!--
Dmitri Plotnikov767e1092010-03-25 17:21:55 -070035 The test declared in this instrumentation will be run along with tests declared by
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070036 all other applications via the command: "adb shell itr".
37 The "itr" command will find all tests declared by all applications. If you want to run just these
38 tests on their own then use the command:
Evan Millar28f88572009-07-08 14:58:53 -070039 "adb shell am instrument -w com.android.providers.contacts.tests/android.test.InstrumentationTestRunner"
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070040 -->
41 <instrumentation android:name="android.test.InstrumentationTestRunner"
Evan Millar28f88572009-07-08 14:58:53 -070042 android:targetPackage="com.android.providers.contacts"
Dmitri Plotnikovbee1a6b2009-07-10 16:26:09 -070043 android:label="Contacts Provider Tests">
Dmitri Plotnikov6bc8c0d2009-05-06 19:07:50 -070044 </instrumentation>
45
Jeff Hamilton4f864362009-04-23 02:29:07 -050046</manifest>