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
17<!-- package name must be unique so suffix with "tests" so package loader doesn't ignore us -->
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19    package="com.android.providers.calendar.tests">
20
21    <application>
22        <uses-library android:name="android.test.runner" />
23    </application>
24
25    <uses-permission android:name="android.permission.READ_CALENDAR" />
26    <uses-permission android:name="android.permission.WRITE_CALENDAR" />
27
28    <!--
29    The test declared in this instrumentation will be run along with tests declared by
30    all other applications via the command: "adb shell itr".
31    The "itr" command will find all tests declared by all applications. If you want to run just these
32    tests on their own then use the command:
33    "adb shell am instrument -w com.android.providers.calendar.tests/android.test.InstrumentationTestRunner"
34
35    To test db upgrade:
36    adb shell am instrument -w -e class com.android.providers.calendar.CalendarDatabaseHelperTest#testSchemasEqualForAllTables com.android.providers.calendar.tests/android.test.InstrumentationTestRunner
37    -->
38    <instrumentation android:name="android.test.InstrumentationTestRunner"
39                     android:targetPackage="com.android.providers.calendar"
40                     android:label="calendar provider tests"/>
41
42</manifest>
43