Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <!-- package name must be unique so suffix with "tests" so package loader doesn't ignore us --> |
| 18 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Andy Huang | 30e2c24 | 2012-01-06 18:14:30 -0800 | [diff] [blame] | 19 | package="com.android.mail.emailtests"> |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 20 | |
Jerry Xie | ff131fb | 2014-07-02 16:39:53 -0700 | [diff] [blame] | 21 | <uses-sdk android:targetSdkVersion="19" android:minSdkVersion="14" /> |
| 22 | |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 23 | <!-- We add an application tag here just so that we can indicate that |
| 24 | this package needs to link against the android.test library, |
| 25 | which is needed when building test cases. --> |
Régis Décamps | 22a5f78 | 2014-05-29 08:00:10 +0200 | [diff] [blame] | 26 | <application android:debuggable="true"> |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 27 | <uses-library android:name="android.test.runner" /> |
| 28 | <provider android:name="TestFileProvider" android:authorities="testfile" |
| 29 | android:syncable="false" android:multiprocess="false" /> |
| 30 | <activity android:name="TestFilePicker" android:label="Pick test file"> |
| 31 | <intent-filter> |
| 32 | <action android:name="android.intent.action.PICK" /> |
| 33 | <category android:name="android.intent.category.DEFAULT" /> |
| 34 | <category android:name="android.intent.category.OPENABLE" /> |
| 35 | </intent-filter> |
| 36 | </activity> |
| 37 | </application> |
| 38 | |
| 39 | <!-- |
| 40 | This declares that this app uses the instrumentation test runner targeting |
Brett Chabot | 7e65b85 | 2014-02-20 21:04:09 -0800 | [diff] [blame] | 41 | the package of com.android.mail. To run the tests use the command: |
| 42 | "adb shell am instrument -w com.android.mail.emailtests/android.support.test.runner.AndroidJUnitRunner" |
| 43 | i |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 44 | --> |
Brett Chabot | 7e65b85 | 2014-02-20 21:04:09 -0800 | [diff] [blame] | 45 | <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" |
Andy Huang | 30e2c24 | 2012-01-06 18:14:30 -0800 | [diff] [blame] | 46 | android:targetPackage="com.android.mail" |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 47 | android:label="Tests for Email."/> |
| 48 | |
| 49 | </manifest> |