1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- package name must be unique so suffix with "tests" so package loader doesn't ignore us --> 3 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 4 package="com.example.twolibs.tests" 5 android:versionCode="1" 6 android:versionName="1.0"> 7 <!-- We add an application tag here just so that we can indicate that 8 this package needs to link against the android.test library, 9 which is needed when building test cases. --> 10 <application> 11 <uses-library android:name="android.test.runner" /> 12 </application> 13 <!-- 14 This declares that this application uses the instrumentation test runner targeting 15 the package of com.example.twolibs. To run the tests use the command: 16 "adb shell am instrument -w com.example.twolibs.tests/android.test.InstrumentationTestRunner" 17 --> 18 <instrumentation android:name="android.test.InstrumentationTestRunner" 19 android:targetPackage="com.example.twolibs" 20 android:label="Tests for TwoLibs"/> 21 </manifest> 22