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