1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2009, The Android Open Source Project 5** 6** Licensed under the Apache License, Version 2.0 (the "License"); 7** you may not use this file except in compliance with the License. 8** You may obtain a copy of the License at 9** 10** http://www.apache.org/licenses/LICENSE-2.0 11** 12** Unless required by applicable law or agreed to in writing, software 13** distributed under the License is distributed on an "AS IS" BASIS, 14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15** See the License for the specific language governing permissions and 16** limitations under the License. 17*/ 18--> 19 20<manifest xmlns:android="http://schemas.android.com/apk/res/android" 21 package="com.android.globalsearch.tests" 22 android:sharedUserId="android.uid.shared"> 23 24 <uses-permission android:name="com.android.globalsearch.GET_SUGGESTIONS" /> 25 26 <!-- We add an application tag here just so that we can indicate that 27 this package needs to link against the android.test library, 28 which is needed when building test cases. --> 29 <application> 30 <uses-library android:name="android.test.runner" /> 31 </application> 32 33 <!-- 34 This declares that this app uses the instrumentation test runner targeting 35 the package of com.android.globalsearch. To run the tests use the command: 36 "adb shell am instrument -w com.android.globalsearch.tests/android.test.InstrumentationTestRunner" 37 --> 38 <instrumentation android:name="android.test.InstrumentationTestRunner" 39 android:targetPackage="com.android.globalsearch" 40 android:label="Tests for Global Search."/> 41 42</manifest> 43