Raphael Moll | 22e4eb2 | 2011-08-30 13:20:32 -0700 | [diff] [blame] | 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="PACKAGE.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 PACKAGE. To run the tests use the command: |
| 16 | "adb shell am instrument -w PACKAGE.tests/android.test.InstrumentationTestRunner" |
| 17 | --> |
| 18 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 19 | android:targetPackage="PACKAGE" |
| 20 | android:label="Tests for PACKAGE"/> |
| 21 | </manifest> |