noda | 7640caa | 2010-08-20 08:10:00 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 The Android Open Source Project |
| 3 | |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | --> |
| 18 | |
| 19 | <!-- package name must be unique so suffix with "tests" so package loader doesn't ignore us --> |
| 20 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | package="com.android.smspush.unitTests"> |
| 22 | |
| 23 | |
| 24 | <uses-permission android:name="com.android.smspush.WAPPUSH_MANAGER_BIND" /> |
| 25 | <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" /> |
| 26 | <!--testing.../--> |
| 27 | <application android:icon="@drawable/icon" android:label="wappush test"> |
| 28 | <uses-library android:name="android.test.runner" /> |
| 29 | <activity android:name=".ClientTest" |
| 30 | android:label="wappush test"> |
| 31 | <intent-filter> |
| 32 | <action android:name="android.intent.action.MAIN" /> |
| 33 | <category android:name="android.intent.category.LAUNCHER" /> |
| 34 | </intent-filter> |
| 35 | </activity> |
| 36 | |
| 37 | <receiver android:name=".DrmReceiver" android:enabled="true"> |
| 38 | <intent-filter> |
| 39 | <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" /> |
| 40 | <data android:mimeType="application/vnd.oma.drm.rights+xml" /> |
| 41 | <data android:value="application/vnd.oma.drm.rights+wbxml" /> |
| 42 | </intent-filter> |
| 43 | </receiver> |
| 44 | |
| 45 | <service android:enabled="true" android:name=".ReceiverService" |
| 46 | android:exported="true"/> |
| 47 | |
| 48 | <activity android:name=".ReceiverActivity" |
| 49 | android:exported="true" android:label="test receiver" /> |
| 50 | |
| 51 | <service android:name=".DataVerify" |
| 52 | android:exported="true"> |
| 53 | <intent-filter> |
| 54 | <action android:name="com.android.smspush.unitTests.IDataVerify" /> |
| 55 | </intent-filter> |
| 56 | </service> |
| 57 | |
| 58 | </application> |
| 59 | |
| 60 | <!-- |
| 61 | This declares that this application uses the instrumentation test runner targeting |
| 62 | the package of com.android.smspush. To run the tests use the command: |
| 63 | "adb shell am instrument -w |
| 64 | com.android.smspush.unitTests/android.test.InstrumentationTestRunner" |
| 65 | --> |
| 66 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
| 67 | android:targetPackage="com.android.smspush" |
| 68 | android:label="Tests for WAPPushManager"/> |
| 69 | |
| 70 | </manifest> |
| 71 | |