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