aboutsummaryrefslogtreecommitdiffstats
path: root/templates/AndroidManifest.tests.template
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-12-01 13:02:31 -0800
committerXavier Ducrohet <xav@android.com>2009-12-01 13:02:31 -0800
commitaa970a49713734c20fdde6e50e9de6ef33308901 (patch)
tree3dd3aed54e8ec739ea8e750e3f9ea12e49bd0ffb /templates/AndroidManifest.tests.template
parentf200375d590efd084142d60058ce6c9543a1b9cd (diff)
downloadsdk-aa970a49713734c20fdde6e50e9de6ef33308901.zip
sdk-aa970a49713734c20fdde6e50e9de6ef33308901.tar.gz
sdk-aa970a49713734c20fdde6e50e9de6ef33308901.tar.bz2
Clean up the content of scripts/ folder.
- move back some scripts into development/scripts/ - templates for Ant project go in sdk/templates/ - files that are packaged with the sdk go in sdk/files/
Diffstat (limited to 'templates/AndroidManifest.tests.template')
-rw-r--r--templates/AndroidManifest.tests.template21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/AndroidManifest.tests.template b/templates/AndroidManifest.tests.template
new file mode 100644
index 0000000..c74ff6d
--- /dev/null
+++ b/templates/AndroidManifest.tests.template
@@ -0,0 +1,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>