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="libinput"
    136     build_path="frameworks/native/libs/input/tests"
    137     description="Framework libinput unit tests." />
    138 
    139 <test-native name="libinputservice"
    140     build_path="frameworks/base/services/input/tests"
    141     description="Framework libinputservice 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 name="mediaintegrationtest"
    191     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    192     package="com.android.mediaframeworktest"
    193     runner=".MediaFrameworkIntegrationTestRunner"
    194     coverage_target="framework" />
    195 
    196 <test-native name="camera-client-native"
    197     build_path="frameworks/av/camera/tests/"
    198     description="Camera client native tests." />
    199 
    200 <test-native name="camera-hal2-native"
    201     build_path="hardware/libhardware/tests/camera2"
    202     description="Camera hal2 native tests." />
    203 <!--  end of media framework tests -->
    204 
    205 <!--  targeted framework tests -->
    206 <test name="account"
    207     build_path="frameworks/base/core/tests/coretests"
    208     package="com.android.frameworks.coretests"
    209     class="android.accounts.AccountManagerServiceTest"
    210     coverage_target="framework" />
    211 
    212 <test name="smoke"
    213     build_path="frameworks/base/tests/SmokeTest"
    214     package="com.android.smoketest.tests"
    215     coverage_target="framework"
    216     continuous="true" />
    217 
    218 <test name="launchperf"
    219     build_path="development/apps/launchperf"
    220     package="com.android.launchperf"
    221     runner=".SimpleActivityLaunchPerformance"
    222     coverage_target="framework" />
    223 
    224 <test name="contentprovideroperation"
    225     build_path="frameworks/base/core/tests/coretests"
    226     package="com.android.frameworks.coretests"
    227     class="android.content.ContentProviderOperationTest"
    228     coverage_target="framework" />
    229 
    230 <!--  cts tests -->
    231 
    232 <test name="cts-permission"
    233     build_path="cts/tests/tests/permission"
    234     package="com.android.cts.permission"
    235     runner="android.support.test.runner.AndroidJUnitRunner"
    236     coverage_target="framework"
    237     continuous="true"
    238     suite="cts" />
    239 
    240 <test name="cts-permission2"
    241     build_path="cts/tests/tests/permission2"
    242     package="com.android.cts.permission2"
    243     runner="android.support.test.runner.AndroidJUnitRunner"
    244     coverage_target="framework"
    245     continuous="true"
    246     suite="true" />
    247 
    248 <test name="cts-process"
    249     build_path="cts/tests/ProcessTest"
    250     package="com.android.cts.process"
    251     coverage_target="framework"
    252     suite="cts" />
    253 
    254 <test name="cts-security"
    255     build_path="cts/tests/tests/security"
    256     package="com.android.cts.security"
    257     runner="android.support.test.runner.AndroidJUnitRunner"
    258     suite="cts" />
    259 
    260 <test name="cts-accounts"
    261     build_path="cts/tests/tests/accounts"
    262     package="android.accounts.cts"
    263     runner="android.support.test.runner.AndroidJUnitRunner"
    264     coverage_target="framework"
    265     suite="cts" />
    266 
    267 <test name="cts-app"
    268     build_path="cts/tests/tests/app"
    269     package="com.android.cts.app"
    270     runner="android.support.test.runner.AndroidJUnitRunner"
    271     coverage_target="framework"
    272     suite="cts" />
    273 
    274 <test name="cts-content"
    275     build_path="cts/tests/tests/content"
    276     package="com.android.cts.content"
    277     runner="android.support.test.runner.AndroidJUnitRunner"
    278     coverage_target="framework"
    279     suite="cts" />
    280 
    281 <test name="cts-database"
    282     build_path="cts/tests/tests/database"
    283     package="com.android.cts.database"
    284     runner="android.support.test.runner.AndroidJUnitRunner"
    285     coverage_target="framework"
    286     suite="cts" />
    287 
    288 <test name="cts-dreams"
    289     build_path="cts/tests/tests/dreams"
    290     package="com.android.cts.dreams"
    291     runner="android.support.test.runner.AndroidJUnitRunner"
    292     coverage_target="framework"
    293     suite="cts" />
    294 
    295 <test name="cts-gesture"
    296     build_path="cts/tests/tests/gesture"
    297     package="com.android.cts.gesture"
    298     runner="android.support.test.runner.AndroidJUnitRunner"
    299     coverage_target="framework"
    300     suite="cts" />
    301 
    302 <test name="cts-graphics"
    303     build_path="cts/tests/tests/graphics"
    304     package="com.android.cts.graphics"
    305     runner="android.support.test.runner.AndroidJUnitRunner"
    306     coverage_target="framework"
    307     suite="cts" />
    308 
    309 <test name="cts-hardware"
    310     build_path="cts/tests/tests/hardware"
    311     package="com.android.cts.hardware"
    312     runner="android.support.test.runner.AndroidJUnitRunner"
    313     coverage_target="framework"
    314     continuous="true"
    315     suite="cts" />
    316 
    317 <test name="cts-location"
    318     build_path="cts/tests/tests/location"
    319     package="com.android.cts.location"
    320     runner="android.support.test.runner.AndroidJUnitRunner"
    321     coverage_target="framework"
    322     suite="cts" />
    323 
    324 <test name="cts-media"
    325     build_path="cts/tests/tests/media"
    326     package="com.android.cts.media"
    327     runner="android.support.test.runner.AndroidJUnitRunner"
    328     coverage_target="framework"
    329     suite="cts" />
    330 
    331 <test name="cts-net"
    332     build_path="cts/tests/tests/net"
    333     package="com.android.cts.net"
    334     runner="android.support.test.runner.AndroidJUnitRunner"
    335     coverage_target="framework"
    336     suite="cts" />
    337 
    338 <test name="cts-os"
    339     build_path="cts/tests/tests/os"
    340     package="com.android.cts.os"
    341     runner="android.support.test.runner.AndroidJUnitRunner"
    342     coverage_target="framework"
    343     suite="cts" />
    344 
    345 <test name="cts-provider"
    346     build_path="cts/tests/tests/provider"
    347     package="com.android.cts.provider"
    348     runner="android.support.test.runner.AndroidJUnitRunner"
    349     coverage_target="framework"
    350     suite="cts" />
    351 
    352 <test name="cts-text"
    353     build_path="cts/tests/tests/text"
    354     package="com.android.cts.text"
    355     runner="android.support.test.runner.AndroidJUnitRunner"
    356     coverage_target="framework"
    357     suite="cts" />
    358 
    359 <test name="cts-telephony"
    360     build_path="cts/tests/tests/telephony"
    361     package="com.android.cts.telephony"
    362     runner="android.support.test.runner.AndroidJUnitRunner"
    363     coverage_target="framework"
    364     suite="cts" />
    365 
    366 <test name="cts-util"
    367     build_path="cts/tests/tests/util"
    368     package="com.android.cts.util"
    369     runner="android.support.test.runner.AndroidJUnitRunner"
    370     coverage_target="framework"
    371     suite="cts" />
    372 
    373 <test name="cts-view"
    374     build_path="cts/tests/tests/view"
    375     package="com.android.cts.view"
    376     runner="android.support.test.runner.AndroidJUnitRunner"
    377     coverage_target="framework"
    378     suite="cts" />
    379 
    380 <test name="cts-webkit"
    381     build_path="cts/tests/tests/webkit"
    382     package="com.android.cts.webkit"
    383     runner="android.support.test.runner.AndroidJUnitRunner"
    384     coverage_target="framework"
    385     suite="cts" />
    386 
    387 <test name="cts-widget"
    388     build_path="cts/tests/tests/widget"
    389     package="com.android.cts.widget"
    390     runner="android.support.test.runner.AndroidJUnitRunner"
    391     coverage_target="framework"
    392     suite="cts" />
    393 
    394 <!--  end of cts tests -->
    395 
    396 <!--  selected app tests -->
    397 <test name="apidemos"
    398     build_path="development/samples/ApiDemos"
    399     package="com.example.android.apis.tests" />
    400 
    401 <test name="browser"
    402     build_path="packages/apps/Browser"
    403     package="com.android.browser.tests"
    404     coverage_target="Browser"
    405     continuous="true" />
    406 
    407 <test name="calculator"
    408     build_path="packages/apps/Calculator"
    409     package="com.android.calculator2.tests"
    410     coverage_target="Calculator"
    411     continuous="true" />
    412 
    413 <test name="calendar"
    414     build_path="packages/apps/Calendar"
    415     package="com.android.calendar.tests"
    416     coverage_target="Calendar"
    417     continuous="true" />
    418 
    419 <test name="calprov"
    420     build_path="packages/providers/CalendarProvider"
    421     package="com.android.providers.calendar.tests"
    422     coverage_target="CalendarProvider"
    423     continuous="true" />
    424 
    425 <test name="camera-functional"
    426     build_path="packages/apps/Camera"
    427     package="com.google.android.camera.tests"
    428     runner="com.android.camera.CameraTestRunner"
    429     coverage_target="Camera"
    430     description="Camera functional test"
    431     continuous="true" />
    432 
    433 <test name="contactsprov"
    434     build_path="packages/providers/ContactsProvider"
    435     package="com.android.providers.contacts.tests"
    436     coverage_target="ContactsProvider"
    437     continuous="true" />
    438 
    439 <test name="contacts"
    440     build_path="packages/apps/Contacts"
    441     package="com.android.contacts.tests"
    442     runner="android.test.InstrumentationTestRunner"
    443     coverage_target="Contacts"
    444     description="Tests for the Contacts app."
    445     continuous="true" />
    446 
    447 <test name="contacts-launch"
    448     build_path="packages/apps/Contacts"
    449     package="com.android.contacts.tests"
    450     runner="com.android.contacts.ContactsLaunchPerformance"
    451     description="Launch performance for Contacts." />
    452 
    453 <test name="dialer"
    454     build_path="packages/apps/Dialer"
    455     package="com.android.dialer.tests"
    456     runner="android.test.InstrumentationTestRunner"
    457     coverage_target="Dialer"
    458     description="Tests for the Dialer app."
    459     continuous="true" />
    460 
    461 <test name="downloadprovider"
    462     build_path="packages/providers/DownloadProvider/tests"
    463     package="com.android.providers.downloads.tests"
    464     coverage_target="DownloadProvider"
    465     continuous="true" />
    466 
    467 <test name="downloadprovider-permission"
    468     build_path="packages/providers/DownloadProvider/tests/permission"
    469     package="com.android.providers.downloads.permission.tests"
    470     coverage_target="DownloadProvider"
    471     continuous="true" />
    472 
    473 <test name="email"
    474     build_path="packages/apps/Email"
    475     package="com.android.email.tests"
    476     coverage_target="Email"
    477     continuous="true" />
    478 
    479 <test name="emailsmall"
    480     build_path="packages/apps/Email"
    481     package="com.android.email.tests"
    482     class="com.android.email.SmallTests"
    483     coverage_target="Email" />
    484 
    485 <test name="exchange"
    486     build_path="packages/apps/Exchange"
    487     package="com.android.exchange.tests"
    488     coverage_target="Exchange"
    489     continuous="true" />
    490 
    491 <test name="musicplayer"
    492     build_path="packages/apps/Music"
    493     package="com.android.music.tests"
    494     runner=".MusicPlayerFunctionalTestRunner"
    495     coverage_target="Music" />
    496 
    497 <test name="mms"
    498     build_path="packages/apps/Mms"
    499     package="com.android.mms.tests"
    500     coverage_target="Mms" />
    501 
    502 <!-- Unit tests for the phone application. -->
    503 <test name="phone-unit"
    504     build_path="packages/services/Telephony"
    505     package="com.android.phone.tests"
    506     continuous="true"
    507     coverage_target="Phone" />
    508 
    509 <test name="telecomm-unit"
    510     build_path="packages/services/Telecomm"
    511     package="com.android.server.telecom.tests"
    512     continuous="true"
    513     coverage_target="Phone" />
    514 
    515 <test name="quicksearchbox"
    516     build_path="packages/apps/QuickSearchBox"
    517     package="com.android.quicksearchbox.tests"
    518     coverage_target="QuickSearchBox" />
    519 
    520 <test name="systemui"
    521     build_path="frameworks/base/packages/SystemUI"
    522     package="com.android.systemui.tests"
    523     coverage_target="SystemUI"
    524     continuous="true"
    525     description="SystemUI tests" />
    526 
    527 <test name="documentsui"
    528     build_path="frameworks/base/packages/DocumentsUI/tests"
    529     package="com.android.documentsui.tests"
    530     coverage_target="DocumentsUI"
    531     continuous="true"
    532     description="DocumentsUI tests" />
    533 
    534 <!--  native tests  -->
    535 
    536 <!-- Bionic C++ -->
    537 <test-native name="libstdcpp"
    538     build_path="system/extras/tests/bionic/libstdc++"
    539     description="Bionic libstdc++."
    540     extra_build_args="BIONIC_TESTS=1" />
    541 
    542 <test-native name="libskia"
    543     build_path="external/skia/tests"
    544     description="Skia tests." />
    545 
    546 <!-- Google Test -->
    547 <test-native name="gtest"
    548     build_path="external/gtest"
    549     description="Google test."
    550     extra_build_args="GTEST_TESTS=1" />
    551 
    552 <!-- clatd -->
    553 <test-native name="clatd"
    554     build_path="external/android-clat"
    555     description="clatd unit tests." />
    556 
    557 <!-- Libjingle -->
    558 <test-native name="libjingle"
    559     build_path="vendor/google/libraries/libjingle"
    560     description="Libjingle."
    561     full_make="true"
    562     extra_build_args="LIBJINGLE_TESTS=1" />
    563 
    564 <!-- host java tests -->
    565 <test-host name="cts-appsecurity"
    566     build_path="cts/hostsidetests/appsecurity"
    567     class="com.android.cts.appsecurity.AppSecurityTests"
    568     jar_name="CtsAppSecurityTests.jar"
    569     suite="cts" />
    570 
    571 <test-host name="frameworks-core-host"
    572     build_path="frameworks/base/core/tests/hosttests"
    573     class="android.content.pm.PackageManagerHostTests"
    574     jar_name="FrameworkCoreHostTests.jar" />
    575 
    576 </test-definitions>
    577