Home | History | Annotate | Download | only in tests
      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"
     19     package="com.android.cellbroadcastreceiver.tests">
     20 
     21     <!-- Test Apk is signed with platform key in order to use this permission. -->
     22     <uses-permission android:name="android.permission.BROADCAST_SMS"/>
     23 
     24     <!-- We add an application tag here just so that we can indicate that
     25          this package needs to link against the android.test library,
     26          which is needed when building test cases. -->
     27     <application android:label="@string/app_label">
     28         <uses-library android:name="android.test.runner" />
     29 
     30         <!-- Also include an activity for sending test messages. -->
     31         <activity android:name="SendTestBroadcastActivity"
     32                   android:label="@string/app_label"
     33                   android:configChanges="orientation|keyboardHidden"
     34                   android:launchMode="singleTop">
     35             <intent-filter>
     36                 <action android:name="android.intent.action.MAIN" />
     37                 <category android:name="android.intent.category.LAUNCHER" />
     38                 <category android:name="android.intent.category.DEFAULT" />
     39             </intent-filter>
     40         </activity>
     41 
     42     </application>
     43 
     44     <!--
     45     This declares that this app uses the instrumentation test runner targeting
     46     the package of com.android.basicsmsreceiver.  To run the tests use the command:
     47     "runtest basicsmsreceiver"
     48     -->
     49     <instrumentation android:name="android.test.InstrumentationTestRunner"
     50                      android:targetPackage="com.android.cellbroadcastreceiver"
     51                      android:label="Tests for cellbroadcastreceiver."/>
     52 </manifest>
     53