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/base/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="core"
     89     build_path="frameworks/base/tests/CoreTests"
     90     package="android.core"
     91     coverage_target="framework"
     92     continuous="true" />
     93 
     94 <test name="keystore-unit"
     95     build_path="frameworks/base/keystore/tests"
     96     package="android.security.tests"
     97     runner=".KeyStoreTestRunner"
     98     coverage_target="framework"
     99     continuous="true" />
    100 
    101 <test name="imf"
    102     build_path="frameworks/base/tests/ImfTest"
    103     package="com.android.imftest.tests"
    104     coverage_target="framework"
    105     continuous="true" />
    106 
    107 <test name="framework-permission"
    108     build_path="frameworks/base/tests/permission"
    109     package="com.android.framework.permission.tests"
    110     runner="android.test.InstrumentationTestRunner"
    111     coverage_target="framework"
    112     continuous="true" />
    113 
    114 <test name="android-common"
    115     build_path="frameworks/base/common/tests"
    116     package="com.android.common.tests"
    117     coverage_target="framework"
    118     continuous="true" />
    119 
    120 <test name="ex-variablespeed"
    121     build_path="frameworks/ex/variablespeed/tests"
    122     package="com.android.ex.variablespeed.tests"
    123     coverage_target="framework"
    124     continuous="true"
    125     description="Framework variable speed audio tests" />
    126 
    127 <test-native name="libui"
    128     build_path="frameworks/base/libs/ui/tests"
    129     description="Framework libui unit tests." />
    130 
    131 <test-native name="libutils"
    132     build_path="frameworks/base/libs/utils/tests"
    133     description="Framework libutils unit tests." />
    134 
    135 <test-native name="libinput"
    136     build_path="frameworks/base/services/input/tests"
    137     description="Framework libinput unit tests." />
    138 
    139 <!--  end of framework tests -->
    140 
    141 <!-- media framework tests -->
    142 <test name="media"
    143     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    144     package="com.android.mediaframeworktest"
    145     runner=".MediaFrameworkTestRunner"
    146     coverage_target="framework"
    147     continuous="true" />
    148 
    149 <test name="mediaapitest"
    150     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    151     package="com.android.mediaframeworktest"
    152     class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
    153     runner=".MediaFrameworkTestRunner"
    154     coverage_target="framework" />
    155 
    156 <test name="mediarecordertest"
    157     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    158     package="com.android.mediaframeworktest"
    159     class="com.android.mediaframeworktest.functional.MediaRecorderTest"
    160     runner=".MediaFrameworkTestRunner"
    161     coverage_target="framework" />
    162 
    163 <test name="mediastresstest"
    164     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    165     package="com.android.mediaframeworktest"
    166     runner=".MediaRecorderStressTestRunner"
    167     coverage_target="framework" />
    168 
    169 <test name="mediamemorystress"
    170     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    171     package="com.android.mediaframeworktest"
    172     runner=".MediaFrameworkPerfTestRunner"
    173     coverage_target="framework" />
    174 
    175 <test name="mediaunit"
    176     build_path="frameworks/base/media/tests/MediaFrameworkTest"
    177     package="com.android.mediaframeworktest"
    178     runner=".MediaFrameworkUnitTestRunner"
    179     coverage_target="framework" />
    180 
    181 <!--  end of media framework tests -->
    182 
    183 <!--  targeted framework tests -->
    184 <test name="account"
    185     build_path="frameworks/base/core/tests/coretests"
    186     package="com.android.frameworks.coretests"
    187     class="android.accounts.AccountManagerServiceTest"
    188     coverage_target="framework" />
    189 
    190 <test name="smoke"
    191     build_path="frameworks/base/tests/SmokeTest"
    192     package="com.android.smoketest.tests"
    193     coverage_target="framework"
    194     continuous="true" />
    195 
    196 <test name="launchperf"
    197     build_path="development/apps/launchperf"
    198     package="com.android.launchperf"
    199     runner=".SimpleActivityLaunchPerformance"
    200     coverage_target="framework" />
    201 
    202 <test name="contentprovideroperation"
    203     build_path="frameworks/base/core/tests/coretests"
    204     package="com.android.frameworks.coretests"
    205     class="android.content.ContentProviderOperationTest"
    206     coverage_target="framework" />
    207 
    208 <!--  cts tests -->
    209 
    210 <test name="cts-permission"
    211     build_path="cts/tests/tests/permission"
    212     package="com.android.cts.permission"
    213     runner="android.test.InstrumentationTestRunner"
    214     coverage_target="framework"
    215     continuous="true"
    216     suite="cts" />
    217 
    218 <test name="cts-permission2"
    219     build_path="cts/tests/tests/permission2"
    220     package="com.android.cts.permission2"
    221     runner="android.test.InstrumentationTestRunner"
    222     coverage_target="framework"
    223     continuous="true"
    224     suite="true" />
    225 
    226 <test name="cts-process"
    227     build_path="cts/tests/tests/process"
    228     package="com.android.cts.process"
    229     coverage_target="framework"
    230     suite="cts" />
    231 
    232 <test name="cts-security"
    233     build_path="cts/tests/tests/security"
    234     package="com.android.cts.security"
    235     runner="android.test.InstrumentationCtsTestRunner"
    236     suite="cts" />
    237 
    238 <test name="cts-accounts"
    239     build_path="cts/tests/tests/accounts"
    240     package="android.accounts.cts"
    241     runner="android.test.InstrumentationTestRunner"
    242     coverage_target="framework"
    243     suite="cts" />
    244 
    245 <test name="cts-api-signature"
    246     build_path="cts/tests/SignatureTest"
    247     package="android.tests.sigtest"
    248     runner=".InstrumentationRunner"
    249     suite="cts" />
    250 
    251 <test name="cts-api-signature-func"
    252     build_path="cts/tests/SignatureTest"
    253     package="android.tests.sigtest.tests"
    254     suite="cts" />
    255 
    256 <test name="cts-apidemos"
    257     build_path="cts/tests/ApiDemosReferenceTest"
    258     package="android.apidemos.cts"
    259     coverage_target="ApiDemos"
    260     suite="cts" />
    261 
    262 <test name="cts-app"
    263     build_path="cts/tests/tests/app"
    264     package="com.android.cts.app"
    265     runner="android.test.InstrumentationCtsTestRunner"
    266     coverage_target="framework"
    267     suite="cts" />
    268 
    269 <test name="cts-content"
    270     build_path="cts/tests/tests/content"
    271     package="com.android.cts.content"
    272     runner="android.test.InstrumentationTestRunner"
    273     coverage_target="framework"
    274     suite="cts" />
    275 
    276 <test name="cts-database"
    277     build_path="cts/tests/tests/database"
    278     package="com.android.cts.database"
    279     runner="android.test.InstrumentationCtsTestRunner"
    280     coverage_target="framework"
    281     suite="cts" />
    282 
    283 <test name="cts-gesture"
    284     build_path="cts/tests/tests/gesture"
    285     package="com.android.cts.gesture"
    286     runner="android.test.InstrumentationTestRunner"
    287     coverage_target="framework"
    288     suite="cts" />
    289 
    290 <test name="cts-graphics"
    291     build_path="cts/tests/tests/graphics"
    292     package="com.android.cts.graphics"
    293     runner="android.test.InstrumentationCtsTestRunner"
    294     coverage_target="framework"
    295     suite="cts" />
    296 
    297 <test name="cts-hardware"
    298     build_path="cts/tests/tests/hardware"
    299     package="com.android.cts.hardware"
    300     runner="android.test.InstrumentationTestRunner"
    301     coverage_target="framework"
    302     continuous="true"
    303     suite="cts" />
    304 
    305 <test name="cts-location"
    306     build_path="cts/tests/tests/location"
    307     package="com.android.cts.location"
    308     runner="android.test.InstrumentationCtsTestRunner"
    309     coverage_target="framework"
    310     suite="cts" />
    311 
    312 <test name="cts-media"
    313     build_path="cts/tests/tests/media"
    314     package="com.android.cts.media"
    315     runner="android.test.InstrumentationCtsTestRunner"
    316     coverage_target="framework"
    317     suite="cts" />
    318 
    319 <test name="cts-net"
    320     build_path="cts/tests/tests/net"
    321     package="com.android.cts.net"
    322     runner="android.test.InstrumentationCtsTestRunner"
    323     coverage_target="framework"
    324     suite="cts" />
    325 
    326 <test name="cts-os"
    327     build_path="cts/tests/tests/os"
    328     package="com.android.cts.os"
    329     runner="android.test.InstrumentationCtsTestRunner"
    330     coverage_target="framework"
    331     suite="cts" />
    332 
    333 <test name="cts-perf1"
    334     build_path="cts/tests/tests/performance"
    335     package="com.android.cts.performance"
    336     runner="android.test.InstrumentationCtsTestRunner"
    337     suite="cts" />
    338 
    339 <test name="cts-perf2"
    340     build_path="cts/tests/tests/performance2"
    341     package="com.android.cts.performance2"
    342     runner="android.test.InstrumentationCtsTestRunner"
    343     suite="cts" />
    344 
    345 <test name="cts-perf3"
    346     build_path="cts/tests/tests/performance3"
    347     package="com.android.cts.performance3"
    348     runner="android.test.InstrumentationCtsTestRunner"
    349     suite="cts" />
    350 
    351 <test name="cts-perf4"
    352     build_path="cts/tests/tests/performance4"
    353     package="com.android.cts.performance4"
    354     runner="android.test.InstrumentationCtsTestRunner"
    355     suite="cts" />
    356 
    357 <test name="cts-perf5"
    358     build_path="cts/tests/tests/performance5"
    359     package="com.android.cts.performance5"
    360     runner="android.test.InstrumentationCtsTestRunner"
    361     suite="cts" />
    362 
    363 <test name="cts-provider"
    364     build_path="cts/tests/tests/provider"
    365     package="com.android.cts.provider"
    366     runner="android.test.InstrumentationCtsTestRunner"
    367     coverage_target="framework"
    368     suite="cts" />
    369 
    370 <test name="cts-text"
    371     build_path="cts/tests/tests/text"
    372     package="com.android.cts.text"
    373     runner="android.test.InstrumentationCtsTestRunner"
    374     coverage_target="framework"
    375     suite="cts" />
    376 
    377 <test name="cts-telephony"
    378     build_path="cts/tests/tests/telephony"
    379     package="com.android.cts.telephony"
    380     runner="android.test.InstrumentationCtsTestRunner"
    381     coverage_target="framework"
    382     suite="cts" />
    383 
    384 <test name="cts-util"
    385     build_path="cts/tests/tests/util"
    386     package="com.android.cts.util"
    387     runner="android.test.InstrumentationCtsTestRunner"
    388     coverage_target="framework"
    389     suite="cts" />
    390 
    391 <test name="cts-view"
    392     build_path="cts/tests/tests/view"
    393     package="com.android.cts.view"
    394     runner="android.test.InstrumentationCtsTestRunner"
    395     coverage_target="framework"
    396     suite="cts" />
    397 
    398 <test name="cts-webkit"
    399     build_path="cts/tests/tests/webkit"
    400     package="com.android.cts.webkit"
    401     runner="android.test.InstrumentationCtsTestRunner"
    402     coverage_target="framework"
    403     suite="cts" />
    404 
    405 <test name="cts-widget"
    406     build_path="cts/tests/tests/widget"
    407     package="com.android.cts.widget"
    408     runner="android.test.InstrumentationCtsTestRunner"
    409     coverage_target="framework"
    410     suite="cts" />
    411 
    412 <!--  end of cts tests -->
    413 
    414 <!--  selected app tests -->
    415 <test name="apidemos"
    416     build_path="development/samples/ApiDemos"
    417     package="com.example.android.apis.tests" />
    418 
    419 <test name="applicationsprov"
    420     build_path="packages/providers/ApplicationsProvider"
    421     package="com.android.providers.applications.tests"
    422     coverage_target="ApplicationsProvider"
    423     continuous="true" />
    424 
    425 <test name="browser"
    426     build_path="packages/apps/Browser"
    427     package="com.android.browser.tests"
    428     coverage_target="Browser"
    429     continuous="true" />
    430 
    431 <test name="calculator"
    432     build_path="packages/apps/Calculator"
    433     package="com.android.calculator2.tests"
    434     coverage_target="Calculator"
    435     continuous="true" />
    436 
    437 <test name="calendar"
    438     build_path="packages/apps/Calendar"
    439     package="com.android.calendar.tests"
    440     coverage_target="Calendar"
    441     continuous="true" />
    442 
    443 <test name="calprov"
    444     build_path="packages/providers/CalendarProvider"
    445     package="com.android.providers.calendar.tests"
    446     coverage_target="CalendarProvider"
    447     continuous="true" />
    448 
    449 <test name="contactsprov"
    450     build_path="packages/providers/ContactsProvider"
    451     package="com.android.providers.contacts.tests"
    452     coverage_target="ContactsProvider"
    453     continuous="true" />
    454 
    455 <test name="contacts"
    456     build_path="packages/apps/Contacts"
    457     package="com.android.contacts.tests"
    458     runner="android.test.InstrumentationTestRunner"
    459     coverage_target="Contacts"
    460     description="Tests for the Contacts app."
    461     continuous="true" />
    462 
    463 <test name="contacts-launch"
    464     build_path="packages/apps/Contacts"
    465     package="com.android.contacts.tests"
    466     runner="com.android.contacts.ContactsLaunchPerformance"
    467     description="Launch performance for Contacts." />
    468 
    469 <test name="downloadprovider-permission"
    470     build_path="packages/providers/DownloadProvider/tests/permission"
    471     package="com.android.providers.downloads.permission.tests"
    472     coverage_target="DownloadProvider"
    473     continuous="true" />
    474 
    475 <test name="email"
    476     build_path="packages/apps/Email"
    477     package="com.android.email.tests"
    478     coverage_target="Email"
    479     continuous="true" />
    480 
    481 <test name="emailsmall"
    482     build_path="packages/apps/Email"
    483     package="com.android.email.tests"
    484     class="com.android.email.SmallTests"
    485     coverage_target="Email" />
    486 
    487 <test name="exchange"
    488     build_path="packages/apps/Exchange"
    489     package="com.android.exchange.tests"
    490     coverage_target="Exchange"
    491     continuous="true" />
    492 
    493 <test name="musicplayer"
    494     build_path="packages/apps/Music"
    495     package="com.android.music.tests"
    496     runner=".MusicPlayerFunctionalTestRunner"
    497     coverage_target="Music" />
    498 
    499 <test name="mms"
    500     build_path="packages/apps/Mms"
    501     package="com.android.mms.tests"
    502     coverage_target="Mms" />
    503 
    504 <!-- Unit tests for the phone application. -->
    505 <test name="phone-unit"
    506     build_path="packages/apps/Phone"
    507     package="com.android.phone.tests"
    508     continuous="true"
    509     coverage_target="Phone" />
    510 
    511 <test name="quicksearchbox"
    512     build_path="packages/apps/QuickSearchBox"
    513     package="com.android.quicksearchbox.tests"
    514     coverage_target="QuickSearchBox" />
    515 
    516 <test name="systemui"
    517     build_path="frameworks/base/packages/SystemUI"
    518     package="com.android.systemui.tests"
    519     coverage_target="SystemUI"
    520     continuous="true"
    521     description="SystemUI tests" />
    522 
    523 <!--  native tests  -->
    524 
    525 <!-- Bionic C++ -->
    526 <test-native name="libstdcpp"
    527     build_path="system/extras/tests/bionic/libstdc++"
    528     description="Bionic libstdc++."
    529     extra_build_args="BIONIC_TESTS=1" />
    530 
    531 <test-native name="libskia"
    532     build_path="external/skia/tests"
    533     description="Skia tests." />
    534 
    535 <!--  Android STL tests -->
    536 <test-native name="astl"
    537     build_path="external/astl/tests"
    538     description="Android STL."
    539     extra_build_args="ASTL_TESTS=1" />
    540 
    541 <!-- Google Test -->
    542 <test-native name="gtest"
    543     build_path="external/gtest"
    544     description="Google test."
    545     extra_build_args="GTEST_TESTS=1" />
    546 
    547 <!-- Libjingle -->
    548 <test-native name="libjingle"
    549     build_path="vendor/google/libraries/libjingle"
    550     description="Libjingle."
    551     full_make="true"
    552     extra_build_args="LIBJINGLE_TESTS=1" />
    553 
    554 <!-- host java tests -->
    555 <test-host name="cts-appsecurity"
    556     build_path="cts/tests/appsecurity-tests"
    557     class="com.android.cts.appsecurity.AppSecurityTests"
    558     jar_name="CtsAppSecurityTests.jar"
    559     suite="cts" />
    560 
    561 <test-host name="frameworks-core-host"
    562     build_path="frameworks/base/core/tests/hosttests"
    563     class="android.content.pm.PackageManagerHostTests"
    564     jar_name="FrameworkCoreHostTests.jar" />
    565 
    566 </test-definitions>
    567