1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2010 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 <!-- 18 Declare the contents of this Android application. The "namespace" 19 attribute brings in the Android platform namespace, and the 20 "package" attribute provides a unique Android name for the application. 21 If you use this file as a template in your own application, you must change 22 the package name from "com.android.example" to one that you own or have 23 control over. 24 --> 25 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 26 package="com.android.example.spinner.test" 27 android:versionCode="1" 28 android:versionName="1.0"> 29 <uses-sdk android:minSdkVersion="3" /> 30 <application android:label="@string/app_name"> 31 <!-- 32 this package needs to link against the android.test library, 33 which is needed when building test cases. 34 --> 35 <uses-library android:name="android.test.runner"/> 36 </application> 37 <!-- 38 This declares that this application uses the instrumentation test runner targeting 39 the package of com.android.example.spinner. To run the tests use the command: 40 "adb shell am instrument -w \ 41 com.android.example.spinner.test/android.test.InstrumentationTestRunner" 42 --> 43 <instrumentation android:name="android.test.InstrumentationTestRunner" 44 android:targetPackage="com.android.example.spinner" 45 android:label="Tests for com.android.example.spinner"/> 46 </manifest> 47