Mercurial > MadButterfly
annotate Android/examples/testpath/tests/AndroidManifest.xml @ 1162:64c54ef39480
Check in example for debugging
author | wycc |
---|---|
date | Mon, 27 Dec 2010 23:20:13 +0800 |
parents | e505597c17fb |
children |
rev | line source |
---|---|
501
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
2 <!-- package name must be unique so suffix with "tests" so package loader doesn't ignore us --> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
3 <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
4 package="org.madbutterfly.android.examples.testpath.tests" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
5 android:versionCode="1" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
6 android:versionName="1.0"> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
7 <!-- We add an application tag here just so that we can indicate that |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
8 this package needs to link against the android.test library, |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
9 which is needed when building test cases. --> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
10 <application> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
11 <uses-library android:name="android.test.runner" /> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
12 </application> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
13 <!-- |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
14 This declares that this application uses the instrumentation test runner targeting |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
15 the package of org.madbutterfly.android.examples.testpath. To run the tests use the command: |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
16 "adb shell am instrument -w org.madbutterfly.android.examples.testpath.tests/android.test.InstrumentationTestRunner" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
17 --> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
18 <instrumentation android:name="android.test.InstrumentationTestRunner" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
19 android:targetPackage="org.madbutterfly.android.examples.testpath" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
20 android:label="Tests for testpath"/> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
21 </manifest> |