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 | |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 24 | <!-- TODO(santoscordon): STOPSHIP Services in this manifest need permission protection. --> |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 25 | <service android:name="com.android.telecomm.testcallservice.TestCallServiceProvider"> |
| 26 | <intent-filter> |
Sailesh Nepal | a439e1b | 2014-03-11 18:19:58 -0700 | [diff] [blame^] | 27 | <action android:name="android.telecomm.CallServiceProvider" /> |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 28 | </intent-filter> |
| 29 | </service> |
| 30 | |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 31 | <service android:name="com.android.telecomm.testcallservice.TestCallService"> |
| 32 | <intent-filter> |
Sailesh Nepal | a439e1b | 2014-03-11 18:19:58 -0700 | [diff] [blame^] | 33 | <action android:name="android.telecomm.CallService" /> |
Santos Cordon | de14ddb | 2014-02-13 16:09:47 -0800 | [diff] [blame] | 34 | </intent-filter> |
| 35 | </service> |
| 36 | |
Santos Cordon | bd4d3b1 | 2014-01-30 14:50:29 -0800 | [diff] [blame] | 37 | <service android:name="com.android.telecomm.testcallservice.DummyCallServiceSelector"> |
| 38 | <intent-filter> |
Sailesh Nepal | a439e1b | 2014-03-11 18:19:58 -0700 | [diff] [blame^] | 39 | <action android:name="android.telecomm.CallServiceSelector" /> |
Santos Cordon | bd4d3b1 | 2014-01-30 14:50:29 -0800 | [diff] [blame] | 40 | </intent-filter> |
| 41 | </service> |
| 42 | |
Santos Cordon | 76faae5 | 2013-12-12 18:55:50 -0800 | [diff] [blame] | 43 | <activity android:name="com.android.telecomm.testcallservice.TestCallActivity" |
| 44 | android:label="@string/testCallActivityLabel"> |
| 45 | <intent-filter> |
| 46 | <action android:name="android.intent.action.MAIN" /> |
| 47 | <category android:name="android.intent.category.DEFAULT" /> |
| 48 | <category android:name="android.intent.category.LAUNCHER" /> |
| 49 | </intent-filter> |
| 50 | </activity> |
| 51 | |
| 52 | <receiver android:name="com.android.telecomm.testcallservice.CallNotificationReceiver" |
| 53 | android:exported="false"> |
| 54 | <intent-filter> |
| 55 | <action android:name="com.android.telecomm.testcallservice.ACTION_CALL_SERVICE_EXIT" |
| 56 | /> |
| 57 | </intent-filter> |
| 58 | </receiver> |
| 59 | |
| 60 | </application> |
| 61 | |
| 62 | <!-- |
| 63 | The prefered way is to use 'runtest': |
| 64 | runtest telecomm-unit |
| 65 | |
| 66 | runtest is a wrapper around 'adb shell'. The low level shell command is: |
| 67 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 68 | |
| 69 | To run a single test case: |
| 70 | adb shell am instrument -w com.android.telecomm.tests/android.test.InstrumentationTestRunner |
| 71 | -e com.android.telecomm.tests.unit.FooUnitTest |
| 72 | --> |
| 73 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 74 | android:targetPackage="com.android.telecomm" |
| 75 | android:label="Telecomm application tests." /> |
| 76 | </manifest> |