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