blob: 725f6961e64bb62a808f2c6ed09d37af3ce57f8d [file] [log] [blame]
Nicolas Cataniaedff2c42009-12-03 14:45:19 -08001<?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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.phone.tests">
19
David Brown0e9303c2010-10-22 00:01:42 -070020 <uses-permission android:name="android.permission.CALL_PHONE" />
David Brownd0a63062010-10-25 16:39:39 -070021 <uses-permission android:name="android.permission.PERFORM_CDMA_PROVISIONING" />
Nicolas Cataniaedff2c42009-12-03 14:45:19 -080022
David Brown0e9303c2010-10-22 00:01:42 -070023 <application android:label="@string/app_name">
24 <uses-library android:name="android.test.runner" />
25
26 <!-- Miscellaneous phone app-related test activities -->
27
28 <!-- Test activity that mimics the behavior of 3rd party apps
29 firing off CALL and DIAL intents. -->
30 <!-- To run:
31 adb shell am start -n com.android.phone.tests/.CallDialTest
32 -->
33 <activity android:name="CallDialTest"
34 android:label="@string/callDialTestLabel">
35 <intent-filter>
36 <action android:name="android.intent.action.MAIN" />
37 <category android:name="android.intent.category.DEFAULT" />
38 </intent-filter>
39 </activity>
40
David Brownd0a63062010-10-25 16:39:39 -070041 <!-- Test activity mimicking the PERFORM_CDMA_PROVISIONING behavior of
42 SetupWizard, useful for testing "non-interactive" OTASP. -->
43 <activity android:name="OtaspTestActivity"
44 android:label="OtaspTest">
45 <intent-filter>
46 <action android:name="android.intent.action.MAIN" />
47 <category android:name="android.intent.category.DEFAULT" />
48 </intent-filter>
49 </activity>
50
David Brown0e9303c2010-10-22 00:01:42 -070051 </application>
52
53 <!--
54 The prefered way is to use 'runtest':
Nicolas Cataniaedff2c42009-12-03 14:45:19 -080055 runtest phone-unit
56
57 runtest is a wrapper around 'adb shell'. The low level shell command is:
58 adb shell am instrument -w com.android.phone.tests/android.test.InstrumentationTestRunner
59
60 To run a single test case:
61 adb shell am instrument -w com.android.phone.tests/android.test.InstrumentationTestRunner
62 -e com.android.phone.unit.FooUnitTest
63 -->
64 <instrumentation android:name="android.test.InstrumentationTestRunner"
65 android:targetPackage="com.android.phone"
66 android:label="Phone application tests." />
67</manifest>