File: AndroidManifest.tests.template

package info (click to toggle)
android-framework-23 6.0.1%2Br72-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 233,196 kB
  • sloc: java: 1,707,033; xml: 247,323; cpp: 211,819; ansic: 2,748; python: 2,640; sh: 1,506; yacc: 343; lex: 214; ruby: 183; perl: 88; makefile: 63; sed: 19
file content (21 lines) | stat: -rw-r--r-- 1,055 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<!-- package name must be unique so suffix with "tests" so package loader doesn't ignore us -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="PACKAGE.tests"
          android:versionCode="1"
          android:versionName="1.0">
    <!-- We add an application tag here just so that we can indicate that
         this package needs to link against the android.test library,
         which is needed when building test cases. -->
    <application>
        <uses-library android:name="android.test.runner" />
    </application>
    <!--
    This declares that this application uses the instrumentation test runner targeting
    the package of PACKAGE.  To run the tests use the command:
    "adb shell am instrument -w PACKAGE.tests/android.test.InstrumentationTestRunner"
    -->
    <instrumentation android:name="android.test.InstrumentationTestRunner"
                     android:targetPackage="PACKAGE"
                     android:label="Tests for PACKAGE"/>
</manifest>