Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2013 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.telecomm.tests"> |
| 19 | <application android:label="@string/app_name"> |
| 20 | <uses-library android:name="android.test.runner" /> |
| 21 | |
| 22 | <!-- Miscellaneous telecomm app-related test activities. --> |
| 23 | |
| 24 | <service android:name="com.android.telecomm.testcallservice.TestCallServiceProvider"> |
| 25 | <intent-filter> |
| 26 | <action android:name="android.telecomm.ICallServiceProvider" /> |
| 27 | </intent-filter> |
| 28 | </service> |
| 29 | |
| 30 | <activity android:name="com.android.telecomm.testcallservice.TestCallActivity" |
| 31 | android:label="@string/testCallActivityLabel"> |
| 32 | <intent-filter> |
| 33 | <action android:name="android.intent.action.MAIN" /> |
| 34 | <category android:name="android.intent.category.DEFAULT" /> |
| 35 | <category android:name="android.intent.category.LAUNCHER" /> |
| 36 | </intent-filter> |
| 37 | </activity> |
| 38 | |
| 39 | <receiver android:name="com.android.telecomm.testcallservice.CallNotificationReceiver" |
| 40 | android:exported="false"> |
| 41 | <intent-filter> |
| 42 | <action android:name="com.android.telecomm.testcallservice.ACTION_CALL_SERVICE_EXIT" |
| 43 | /> |
| 44 | </intent-filter> |
| 45 | </receiver> |
| 46 | |
| 47 | </application> |
| 48 | |
| 49 | <!-- |
| 50 | The prefered way is to use 'runtest': |
| 51 | runtest telecomm-unit |
| 52 | |
| 53 | runtest is a wrapper around 'adb shell'. The low level shell command is: |
| 54 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 55 | |
| 56 | To run a single test case: |
| 57 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 58 | -e com.android.telecomm.tests.unit.FooUnitTest |
| 59 | --> |
| 60 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 61 | android:targetPackage="com.android.telecomm" |
| 62 | android:label="Telecomm application tests." /> |
| 63 | </manifest> |