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 coreApp="true" 19 package="com.android.server.telecom.tests" 20 android:debuggable="true"> 21 22 <!-- TODO: Needed because we call BluetoothAdapter.getDefaultAdapter() statically, and 23 BluetoothAdapter is a final class. --> 24 <uses-permission android:name="android.permission.BLUETOOTH" /> 25 26 <!-- TODO: Needed because we call ActivityManager.getCurrentUser() statically. --> 27 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> 28 <uses-permission android:name="android.permission.MANAGE_USERS" /> 29 30 <application android:label="@string/app_name" 31 android:debuggable="true"> 32 <uses-library android:name="android.test.runner" /> 33 </application> 34 35 <!-- 36 The prefered way is to use 'runtest': 37 runtest telecom-unit 38 39 runtest is a wrapper around 'adb shell'. The low level shell command is: 40 adb shell am instrument -w com.android.server.telecom.tests/android.test.InstrumentationTestRunner 41 42 To run a single test case: 43 adb shell am instrument -w com.android.server.telecom.tests/android.test.InstrumentationTestRunner 44 -e com.android.server.telecom.tests.unit.FooUnitTest 45 --> 46 <instrumentation android:name="android.test.InstrumentationTestRunner" 47 android:targetPackage="com.android.server.telecom.tests" 48 android:label="Telecomm application tests" 49 android:debuggable="true"/> 50</manifest> 51