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.android.network.sync.basicsyncadapter.tests" 5 android:versionCode="1" 6 android:versionName="1.0"> 7 <uses-sdk 8 android:minSdkVersion="11" 9 android:targetSdkVersion="17" /> 10 11 <!-- We add an application tag here just so that we can indicate that 12 this package needs to link against the android.test library, 13 which is needed when building test cases. --> 14 <application> 15 <uses-library android:name="android.test.runner"/> 16 </application> 17 <!-- 18 This declares that this application uses the instrumentation test runner targeting 19 the package of com.android.example.FeedSyncSampleTo run the tests use the command: 20 "adb shell am instrument -w com.android.example.FeedSyncSamplests/android.test.InstrumentationTestRunner" 21 --> 22 <instrumentation 23 android:name="android.test.InstrumentationTestRunner" 24 android:targetPackage="com.example.android.network.sync.basicsyncadapter" 25 android:label="Tests for com.example.android.network.sync.BasicSyncAdapter"/> 26 </manifest> 27