Home | History | Annotate | Download | only in tests
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2010 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 <!--
     18     Declare the contents of this Android test package. The xmlns:android
     19     attribute brings in the Android platform namespace, and the
     20     "package" attribute provides a unique name for the package.
     21     If you use this file as a template in your own test package, you must change
     22     the package name from "com.example.android" to one that you own or have
     23     control over.
     24  -->
     25 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     26     package="com.example.android.newalarm.test"
     27     android:versionCode="1"
     28     android:versionName="1.0">
     29     <!--
     30         Must use the application element to include the uses-library element.
     31      -->
     32     <application>
     33         <!--
     34             Tells Android to include this library in the test package's class loader.
     35             The test runner is not included by default in a manifest file.
     36         -->
     37         <uses-library android:name="android.test.runner" />
     38     </application>
     39     <!--
     40         Specifies that the test package requires API platform level 3 (Android 1.5) or above.
     41         The installer will not install this package onto a device or emulator that is running an
     42         older platform version.
     43      -->
     44     <uses-sdk android:minSdkVersion="3" />
     45     <!--
     46         Declares the instrumentation for this application. The instrumentation class is
     47         specified by the "name" attribute, and must name a subclass of
     48         android.app.Instrumentation. The application that is run by the instrumentation object is
     49         specified by the "targetPackage" attribute.
     50      -->
     51     <instrumentation
     52         android:targetPackage="com.example.android.newalarm"
     53         android:name="android.test.InstrumentationTestRunner" />
     54 </manifest>
     55