Home | History | Annotate | Download | only in testrunner
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 This file contains standard test definitions for the Android platform
     19 
     20 The following test types are supported:
     21  - On device Java instrumentation tests are defined by <test> tags.
     22  - native ones (C/C++) are defined by <test-native> tags.
     23  - host java tests are defined by <test-host> tags.
     24 
     25 See test_defs.xsd for more information.
     26 -->
     27 
     28 <test-definitions xmlns="http://schemas.android.com/testrunner/test_defs/1.0"
     29     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     30     xsi:schemaLocation="http://schemas.android.com/testrunner/test_defs/1.0 test_defs.xsd">
     31 
     32 <!-- frameworks tests -->
     33 <test name="frameworks-core"
     34     build_path="frameworks/base/core/tests/coretests"
     35     package="com.android.frameworks.coretests"
     36     coverage_target="framework"
     37     continuous="true" />
     38 
     39 <!-- will not run in the continuous test as it needs both Wifi & 3G -->
     40 <test name="frameworks-connectivity"
     41     build_path="frameworks/base/core/tests/ConnectivityManagerTest/"
     42     package="com.android.connectivitymanagertest"
     43     runner=".ConnectivityManagerUnitTestRunner"
     44     coverage_target="framework" />
     45 
     46 <test name="frameworks-graphics"
     47     build_path="frameworks/base/graphics/tests/graphicstests"
     48     package="com.android.frameworks.graphicstests"
     49     coverage_target="framework"
     50     continuous="true" />
     51 
     52 <test name="frameworks-location"
     53     build_path="frameworks/base/location/tests/locationtests"
     54     package="com.android.frameworks.locationtests"
     55     coverage_target="framework"
     56     continuous="true" />
     57 
     58 <test name="frameworks-sax"
     59     build_path="frameworks/base/sax/tests/saxtests"
     60     package="com.android.frameworks.saxtests"
     61     coverage_target="framework"
     62     continuous="true" />
     63 
     64 <test name="frameworks-services"
     65     build_path="frameworks/base/services/tests/servicestests"
     66     package="com.android.frameworks.servicestests"
     67     coverage_target="framework"
     68     continuous="true" />
     69 
     70 <test name="frameworks-telephony"
     71     build_path="frameworks/opt/telephony/tests/telephonytests"
     72     package="com.android.frameworks.telephonytests"
     73     coverage_target="framework"
     74     continuous="true" />
     75 
     76 <test name="frameworks-testrunner"
     77     build_path="frameworks/base/test-runner"
     78     package="com.android.frameworks.testrunner.tests"
     79     coverage_target="android.test.runner"
     80     continuous="true" />
     81 
     82 <test name="frameworks-vpn"
     83     build_path="frameworks/base/vpn/tests/vpntests"
     84     package="com.android.frameworks.vpntests"
     85     coverage_target="framework"
     86     continuous="true" />
     87 
     88 <test name="frameworks-support"
     89     build_path="frameworks/support/tests"
     90     package="android.support.tests"
     91     continuous="true" />
     92 
     93 <test name="core"
     94     build_path="frameworks/base/tests/CoreTests"
     95     package="android.core"
     96     coverage_target="framework"
     97     continuous="true" />
     98 
     99 <test name="keystore-unit"
    100     build_path="frameworks/base/keystore/tests"
    101     package="android.security.tests"
    102     coverage_target="framework"
    103     continuous="true" />
    104 
    105 <test name="imf"
    106     build_path="frameworks/base/tests/ImfTest"
    107     package="com.android.imftest.tests"
    108     coverage_target="framework"
    109     continuous="true" />
    110 
    111 <test name="framework-permission"
    112     build_path="frameworks/base/tests/permission"
    113     package="com.android.framework.permission.tests"
    114     runner="android.test.InstrumentationTestRunner"
    115     coverage_target="framework"
    116     continuous="true" />
    117 
    118 <test name="android-common"
    119     build_path="frameworks/base/common/tests"
    120     package="com.android.common.tests"
    121     coverage_target="framework"
    122     continuous="true" />
    123 
    124 <test name="ex-variablespeed"
    125     build_path="frameworks/ex/variablespeed/tests"
    126     package="com.android.ex.variablespeed.tests"
    127     coverage_target="framework"
    128     continuous="true"
    129     description="Framework variable speed audio tests" />
    130 
    131 <test-native name="libandroidfw"
    132     build_path="frameworks/base/libs/androidfw/tests"
    133     description="Framework libandroidfw unit tests." />
    134 
    135 <test-native name="libutils"
    136     build_path="frameworks/native/libs/utils/tests"
    137     description="Framework libutils unit tests." />
    138 
    139 <test-native name="libinput"
    140     build_path="frameworks/base/services/input/tests"
    141     description="Framework libinput unit tests." />
    142 
    143 <test name="volley"
    144     build_path="frameworks/support/volley/tests"
    145     package="com.android.volley.tests"
    146     continuous="true" />
    147 
    148 <!--  end of framework tests -->
    149 
    150 <!-- media framework tests -->
    151 <test name="media"
    152     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    153     package="com.android.mediaframeworktest"
    154     runner=".MediaFrameworkTestRunner"
    155     coverage_target="framework"
    156     continuous="true" />
    157 
    158 <test name="mediaapitest"
    159     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    160     package="com.android.mediaframeworktest"
    161     class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
    162     runner=".MediaFrameworkTestRunner"
    163     coverage_target="framework" />
    164 
    165 <test name="mediarecordertest"
    166     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    167     package="com.android.mediaframeworktest"
    168     class="com.android.mediaframeworktest.functional.MediaRecorderTest"
    169     runner=".MediaFrameworkTestRunner"
    170     coverage_target="framework" />
    171 
    172 <test name="mediastresstest"
    173     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    174     package="com.android.mediaframeworktest"
    175     runner=".MediaRecorderStressTestRunner"
    176     coverage_target="framework" />
    177 
    178 <test name="mediamemorystress"
    179     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    180     package="com.android.mediaframeworktest"
    181     runner=".MediaFrameworkPerfTestRunner"
    182     coverage_target="framework" />
    183 
    184 <test name="mediaunit"
    185     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    186     package="com.android.mediaframeworktest"
    187     runner=".MediaFrameworkUnitTestRunner"
    188     coverage_target="framework" />
    189 
    190 <test-native name="camera-client-native"
    191     build_path="frameworks/av/camera/tests/"
    192     description="Camera client native tests." />
    193 
    194 <test-native name="camera-hal2-native"
    195     build_path="hardware/libhardware/tests/camera2"
    196     description="Camera hal2 native tests." />
    197 <!--  end of media framework tests -->
    198 
    199 <!--  targeted framework tests -->
    200 <test name="account"
    201     build_path="frameworks/base/core/tests/coretests"
    202     package="com.android.frameworks.coretests"
    203     class="android.accounts.AccountManagerServiceTest"
    204     coverage_target="framework" />
    205 
    206 <test name="smoke"
    207     build_path="frameworks/base/tests/SmokeTest"
    208     package="com.android.smoketest.tests"
    209     coverage_target="framework"
    210     continuous="true" />
    211 
    212 <test name="launchperf"
    213     build_path="development/apps/launchperf"
    214     package="com.android.launchperf"
    215     runner=".SimpleActivityLaunchPerformance"
    216     coverage_target="framework" />
    217 
    218 <test name="contentprovideroperation"
    219     build_path="frameworks/base/core/tests/coretests"
    220     package="com.android.frameworks.coretests"
    221     class="android.content.ContentProviderOperationTest"
    222     coverage_target="framework" />
    223 
    224 <!--  cts tests -->
    225 
    226 <test name="cts-permission"
    227     build_path="cts/tests/tests/permission"
    228     package="com.android.cts.permission"
    229     runner="android.test.InstrumentationTestRunner"
    230     coverage_target="framework"
    231     continuous="true"
    232     suite="cts" />
    233 
    234 <test name="cts-permission2"
    235     build_path="cts/tests/tests/permission2"
    236     package="com.android.cts.permission2"
    237     runner="android.test.InstrumentationTestRunner"
    238     coverage_target="framework"
    239     continuous="true"
    240     suite="true" />
    241 
    242 <test name="cts-process"
    243     build_path="cts/tests/tests/process"
    244     package="com.android.cts.process"
    245     coverage_target="framework"
    246     suite="cts" />
    247 
    248 <test name="cts-security"
    249     build_path="cts/tests/tests/security"
    250     package="com.android.cts.security"
    251     runner="android.test.InstrumentationCtsTestRunner"
    252     suite="cts" />
    253 
    254 <test name="cts-accounts"
    255     build_path="cts/tests/tests/accounts"
    256     package="android.accounts.cts"
    257     runner="android.test.InstrumentationTestRunner"
    258     coverage_target="framework"
    259     suite="cts" />
    260 
    261 <test name="cts-api-signature"
    262     build_path="cts/tests/SignatureTest"
    263     package="android.tests.sigtest"
    264     runner=".InstrumentationRunner"
    265     suite="cts" />
    266 
    267 <test name="cts-api-signature-func"
    268     build_path="cts/tests/SignatureTest"
    269     package="android.tests.sigtest.tests"
    270     suite="cts" />
    271 
    272 <test name="cts-app"
    273     build_path="cts/tests/tests/app"
    274     package="com.android.cts.app"
    275     runner="android.test.InstrumentationCtsTestRunner"
    276     coverage_target="framework"
    277     suite="cts" />
    278 
    279 <test name="cts-content"
    280     build_path="cts/tests/tests/content"
    281     package="com.android.cts.content"
    282     runner="android.test.InstrumentationTestRunner"
    283     coverage_target="framework"
    284     suite="cts" />
    285 
    286 <test name="cts-database"
    287     build_path="cts/tests/tests/database"
    288     package="com.android.cts.database"
    289     runner="android.test.InstrumentationCtsTestRunner"
    290     coverage_target="framework"
    291     suite="cts" />
    292 
    293 <test name="cts-dreams"
    294     build_path="cts/tests/tests/dreams"
    295     package="com.android.cts.dreams"
    296     runner="android.test.InstrumentationCtsTestRunner"
    297     coverage_target="framework"
    298     suite="cts" />
    299 
    300 <test name="cts-gesture"
    301     build_path="cts/tests/tests/gesture"
    302     package="com.android.cts.gesture"
    303     runner="android.test.InstrumentationTestRunner"
    304     coverage_target="framework"
    305     suite="cts" />
    306 
    307 <test name="cts-graphics"
    308     build_path="cts/tests/tests/graphics"
    309     package="com.android.cts.graphics"
    310     runner="android.test.InstrumentationCtsTestRunner"
    311     coverage_target="framework"
    312     suite="cts" />
    313 
    314 <test name="cts-hardware"
    315     build_path="cts/tests/tests/hardware"
    316     package="com.android.cts.hardware"
    317     runner="android.test.InstrumentationCtsTestRunner"
    318     coverage_target="framework"
    319     continuous="true"
    320     suite="cts" />
    321 
    322 <test name="cts-location"
    323     build_path="cts/tests/tests/location"
    324     package="com.android.cts.location"
    325     runner="android.test.InstrumentationCtsTestRunner"
    326     coverage_target="framework"
    327     suite="cts" />
    328 
    329 <test name="cts-media"
    330     build_path="cts/tests/tests/media"
    331     package="com.android.cts.media"
    332     runner="android.test.InstrumentationCtsTestRunner"
    333     coverage_target="framework"
    334     suite="cts" />
    335 
    336 <test name="cts-net"
    337     build_path="cts/tests/tests/net"
    338     package="com.android.cts.net"
    339     runner="android.test.InstrumentationTestRunner"
    340     coverage_target="framework"
    341     suite="cts" />
    342 
    343 <test name="cts-os"
    344     build_path="cts/tests/tests/os"
    345     package="com.android.cts.os"
    346     runner="android.test.InstrumentationCtsTestRunner"
    347     coverage_target="framework"
    348     suite="cts" />
    349 
    350 <test name="cts-provider"
    351     build_path="cts/tests/tests/provider"
    352     package="com.android.cts.provider"
    353     runner="android.test.InstrumentationCtsTestRunner"
    354     coverage_target="framework"
    355     suite="cts" />
    356 
    357 <test name="cts-text"
    358     build_path="cts/tests/tests/text"
    359     package="com.android.cts.text"
    360     runner="android.test.InstrumentationCtsTestRunner"
    361     coverage_target="framework"
    362     suite="cts" />
    363 
    364 <test name="cts-telephony"
    365     build_path="cts/tests/tests/telephony"
    366     package="com.android.cts.telephony"
    367     runner="android.test.InstrumentationCtsTestRunner"
    368     coverage_target="framework"
    369     suite="cts" />
    370 
    371 <test name="cts-util"
    372     build_path="cts/tests/tests/util"
    373     package="com.android.cts.util"
    374     runner="android.test.InstrumentationCtsTestRunner"
    375     coverage_target="framework"
    376     suite="cts" />
    377 
    378 <test name="cts-view"
    379     build_path="cts/tests/tests/view"
    380     package="com.android.cts.view"
    381     runner="android.test.InstrumentationCtsTestRunner"
    382     coverage_target="framework"
    383     suite="cts" />
    384 
    385 <test name="cts-webkit"
    386     build_path="cts/tests/tests/webkit"
    387     package="com.android.cts.webkit"
    388     runner="android.test.InstrumentationCtsTestRunner"
    389     coverage_target="framework"
    390     suite="cts" />
    391 
    392 <test name="cts-widget"
    393     build_path="cts/tests/tests/widget"
    394     package="com.android.cts.widget"
    395     runner="android.test.InstrumentationCtsTestRunner"
    396     coverage_target="framework"
    397     suite="cts" />
    398 
    399 <!--  end of cts tests -->
    400 
    401 <!--  selected app tests -->
    402 <test name="apidemos"
    403     build_path="development/samples/ApiDemos"
    404     package="com.example.android.apis.tests" />
    405 
    406 <test name="applicationsprov"
    407     build_path="packages/providers/ApplicationsProvider"
    408     package="com.android.providers.applications.tests"
    409     coverage_target="ApplicationsProvider"
    410     continuous="true" />
    411 
    412 <test name="browser"
    413     build_path="packages/apps/Browser"
    414     package="com.android.browser.tests"
    415     coverage_target="Browser"
    416     continuous="true" />
    417 
    418 <test name="calculator"
    419     build_path="packages/apps/Calculator"
    420     package="com.android.calculator2.tests"
    421     coverage_target="Calculator"
    422     continuous="true" />
    423 
    424 <test name="calendar"
    425     build_path="packages/apps/Calendar"
    426     package="com.android.calendar.tests"
    427     coverage_target="Calendar"
    428     continuous="true" />
    429 
    430 <test name="calprov"
    431     build_path="packages/providers/CalendarProvider"
    432     package="com.android.providers.calendar.tests"
    433     coverage_target="CalendarProvider"
    434     continuous="true" />
    435 
    436 <test name="camera-functional"
    437     build_path="packages/apps/Camera"
    438     package="com.google.android.camera.tests"
    439     runner="com.android.camera.CameraTestRunner"
    440     coverage_target="Camera"
    441     description="Camera functional test"
    442     continuous="true" />
    443 
    444 <test name="contactsprov"
    445     build_path="packages/providers/ContactsProvider"
    446     package="com.android.providers.contacts.tests"
    447     coverage_target="ContactsProvider"
    448     continuous="true" />
    449 
    450 <test name="contacts"
    451     build_path="packages/apps/Contacts"
    452     package="com.android.contacts.tests"
    453     runner="android.test.InstrumentationTestRunner"
    454     coverage_target="Contacts"
    455     description="Tests for the Contacts app."
    456     continuous="true" />
    457 
    458 <test name="contacts-launch"
    459     build_path="packages/apps/Contacts"
    460     package="com.android.contacts.tests"
    461     runner="com.android.contacts.ContactsLaunchPerformance"
    462     description="Launch performance for Contacts." />
    463 
    464 <test name="dialer"
    465     build_path="packages/apps/Dialer"
    466     package="com.android.dialer.tests"
    467     runner="android.test.InstrumentationTestRunner"
    468     coverage_target="Dialer"
    469     description="Tests for the Dialer app."
    470     continuous="true" />
    471 
    472 <test name="downloadprovider"
    473     build_path="packages/providers/DownloadProvider/tests"
    474     package="com.android.providers.downloads.tests"
    475     coverage_target="DownloadProvider"
    476     continuous="true" />
    477 
    478 <test name="downloadprovider-permission"
    479     build_path="packages/providers/DownloadProvider/tests/permission"
    480     package="com.android.providers.downloads.permission.tests"
    481     coverage_target="DownloadProvider"
    482     continuous="true" />
    483 
    484 <test name="email"
    485     build_path="packages/apps/Email"
    486     package="com.android.email.tests"
    487     coverage_target="Email"
    488     continuous="true" />
    489 
    490 <test name="emailsmall"
    491     build_path="packages/apps/Email"
    492     package="com.android.email.tests"
    493     class="com.android.email.SmallTests"
    494     coverage_target="Email" />
    495 
    496 <test name="exchange"
    497     build_path="packages/apps/Exchange"
    498     package="com.android.exchange.tests"
    499     coverage_target="Exchange"
    500     continuous="true" />
    501 
    502 <test name="musicplayer"
    503     build_path="packages/apps/Music"
    504     package="com.android.music.tests"
    505     runner=".MusicPlayerFunctionalTestRunner"
    506     coverage_target="Music" />
    507 
    508 <test name="mms"
    509     build_path="packages/apps/Mms"
    510     package="com.android.mms.tests"
    511     coverage_target="Mms" />
    512 
    513 <!-- Unit tests for the phone application. -->
    514 <test name="phone-unit"
    515     build_path="packages/apps/Phone"
    516     package="com.android.phone.tests"
    517     continuous="true"
    518     coverage_target="Phone" />
    519 
    520 <test name="quicksearchbox"
    521     build_path="packages/apps/QuickSearchBox"
    522     package="com.android.quicksearchbox.tests"
    523     coverage_target="QuickSearchBox" />
    524 
    525 <test name="systemui"
    526     build_path="frameworks/base/packages/SystemUI"
    527     package="com.android.systemui.tests"
    528     coverage_target="SystemUI"
    529     continuous="true"
    530     description="SystemUI tests" />
    531 
    532 <!--  native tests  -->
    533 
    534 <!-- Bionic C++ -->
    535 <test-native name="libstdcpp"
    536     build_path="system/extras/tests/bionic/libstdc++"
    537     description="Bionic libstdc++."
    538     extra_build_args="BIONIC_TESTS=1" />
    539 
    540 <test-native name="libskia"
    541     build_path="external/skia/tests"
    542     description="Skia tests." />
    543 
    544 <!-- Google Test -->
    545 <test-native name="gtest"
    546     build_path="external/gtest"
    547     description="Google test."
    548     extra_build_args="GTEST_TESTS=1" />
    549 
    550 <!-- Libjingle -->
    551 <test-native name="libjingle"
    552     build_path="vendor/google/libraries/libjingle"
    553     description="Libjingle."
    554     full_make="true"
    555     extra_build_args="LIBJINGLE_TESTS=1" />
    556 
    557 <!-- host java tests -->
    558 <test-host name="cts-appsecurity"
    559     build_path="cts/hostsidetests/appsecurity"
    560     class="com.android.cts.appsecurity.AppSecurityTests"
    561     jar_name="CtsAppSecurityTests.jar"
    562     suite="cts" />
    563 
    564 <test-host name="frameworks-core-host"
    565     build_path="frameworks/base/core/tests/hosttests"
    566     class="android.content.pm.PackageManagerHostTests"
    567     jar_name="FrameworkCoreHostTests.jar" />
    568 
    569 </test-definitions>
    570