Home | History | Annotate | Download | only in DumpRenderTree2
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 Copyright (C) 2010 The Android Open Source Project
      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 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.dumprendertree2">
     18     <application>
     19         <uses-library android:name="android.test.runner" />
     20 
     21         <activity android:name=".ui.DirListActivity"
     22                   android:label="Dump Render Tree 2"
     23                   android:configChanges="orientation">
     24             <intent-filter>
     25                 <action android:name="android.intent.action.MAIN" />
     26                 <category android:name="android.intent.category.TEST" />
     27             </intent-filter>
     28         </activity>
     29 
     30         <!-- android:launchMode="singleTask" is there so we only have a one instance
     31              of this activity. However, it doesn't seem to work exactly like described in the
     32              documentation, because the behaviour of the application suggest
     33              there is only a single task for all 3 activities. We don't understand
     34              how exactly it all works, but at the moment it works just fine.
     35              It can lead to some weird behaviour in the future. -->
     36         <activity android:name=".TestsListActivity"
     37                   android:label="Tests' list activity"
     38                   android:launchMode="singleTask"
     39                   android:configChanges="orientation">
     40         </activity>
     41 
     42         <activity android:name=".LayoutTestsExecutor"
     43                   android:theme="@style/WhiteBackground"
     44                   android:label="Layout tests' executor"
     45                   android:process=":executor">
     46         </activity>
     47 
     48         <service android:name="ManagerService">
     49         </service>
     50     </application>
     51 
     52     <instrumentation android:name="com.android.dumprendertree2.scriptsupport.ScriptTestRunner"
     53                      android:targetPackage="com.android.dumprendertree2"
     54                      android:label="Layout tests script runner" />
     55 
     56     <uses-permission android:name="android.permission.INTERNET" />
     57     <uses-permission android:name="android.permission.WRITE_SDCARD" />
     58     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     59     <uses-permission android:name="android.permission.WAKE_LOCK" />
     60 </manifest>
     61