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