1<?xml version="1.0" encoding="utf-8"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.android.tests.testprojecttest.testlib" 4 android:versionCode="1" 5 android:versionName="1.0" > 6 7 <uses-sdk android:minSdkVersion="15" /> 8 9 <!-- 10 We add an application tag here just so that we can indicate that 11 this package needs to link against the android.test library, 12 which is needed when building test cases. 13 --> 14 <application android:label="testProjectTest-testlib"> 15 <uses-library android:name="android.test.runner" /> 16 </application> 17 18 <!-- 19 This declares that this app uses the instrumentation test runner targeting 20 the package of com.android.tests.testprojecttest.testlib. To run the tests use the command: 21 "adb shell am instrument -w com.android.tests.testprojecttest.testlib/android.test.InstrumentationTestRunner" 22 --> 23 <instrumentation 24 android:name="android.test.InstrumentationTestRunner" 25 android:targetPackage="com.android.tests.testprojecttest.testlib" /> 26 27</manifest>