blob: d475889f171d5fc794a81b7f8860e0a283d7dc25 [file] [log] [blame]
The Android Open Source Project52d4c302009-03-03 19:29:09 -08001<?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
Nicolas Cataniaff096c12009-05-01 11:55:36 -07007
The Android Open Source Project52d4c302009-03-03 19:29:09 -08008 http://www.apache.org/licenses/LICENSE-2.0
Nicolas Cataniaff096c12009-05-01 11:55:36 -07009
The Android Open Source Project52d4c302009-03-03 19:29:09 -080010 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
Nicolas Cataniaff096c12009-05-01 11:55:36 -070017<!--
The Android Open Source Project52d4c302009-03-03 19:29:09 -080018This file contains standard test definitions for the Android platform
Nicolas Cataniaff096c12009-05-01 11:55:36 -070019
Brett Chabot764d3fa2009-06-25 17:57:31 -070020The 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.
The Android Open Source Project52d4c302009-03-03 19:29:09 -080024
Brett Chabot764d3fa2009-06-25 17:57:31 -070025See test_defs.xsd for more information.
The Android Open Source Project52d4c302009-03-03 19:29:09 -080026-->
27
Phil Dubach7c343ce2009-05-21 16:35:22 -070028<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">
The Android Open Source Project52d4c302009-03-03 19:29:09 -080031
Neal Nguyenadce5662010-01-14 14:13:37 -080032<!-- 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
Xia Wang991ffd72010-06-29 14:59:26 -070039<!-- 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
Neal Nguyen04bcaad2010-01-25 15:33:21 -080046<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
Neal Nguyenadce5662010-01-14 14:13:37 -080052<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
Neal Nguyen04bcaad2010-01-25 15:33:21 -080058<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
Neal Nguyend538def2010-02-02 17:12:22 -080064<test name="frameworks-services"
65 build_path="frameworks/base/services/tests/servicestests"
66 package="com.android.frameworks.servicestests"
Christopher Wiley3f514202016-05-18 12:26:02 -070067 runner="android.support.test.runner.AndroidJUnitRunner"
Neal Nguyend538def2010-02-02 17:12:22 -080068 coverage_target="framework"
69 continuous="true" />
70
Neal Nguyenadce5662010-01-14 14:13:37 -080071<test name="frameworks-telephony"
Jake Hambye8d40782012-07-19 12:31:30 -070072 build_path="frameworks/opt/telephony/tests/telephonytests"
Neal Nguyenadce5662010-01-14 14:13:37 -080073 package="com.android.frameworks.telephonytests"
74 coverage_target="framework"
75 continuous="true" />
76
Lorenzo Colittie02265e2016-02-19 14:28:49 +090077<test name="frameworks-util"
78 build_path="frameworks/base/core/tests/utiltests"
79 package="com.android.frameworks.utiltests"
80 runner="android.support.test.runner.AndroidJUnitRunner"
81 continuous="true" />
82
Mitchell Wills93178d72015-12-02 17:53:55 -080083<test name="frameworks-wifi"
84 build_path="frameworks/opt/net/wifi/tests/wifitests"
85 package="com.android.server.wifi.test"
86 runner="android.support.test.runner.AndroidJUnitRunner"
87 coverage_target="framework"
88 continuous="true" />
89
Brett Chabot0145eaf2010-02-18 18:55:11 -080090<test name="frameworks-testrunner"
Brett Chabot786f4db2010-02-20 20:07:38 -080091 build_path="frameworks/base/test-runner"
Brett Chabot0145eaf2010-02-18 18:55:11 -080092 package="com.android.frameworks.testrunner.tests"
Brett Chabot786f4db2010-02-20 20:07:38 -080093 coverage_target="android.test.runner"
Brett Chabot0145eaf2010-02-18 18:55:11 -080094 continuous="true" />
95
Neal Nguyen04bcaad2010-01-25 15:33:21 -080096<test name="frameworks-vpn"
97 build_path="frameworks/base/vpn/tests/vpntests"
98 package="com.android.frameworks.vpntests"
99 coverage_target="framework"
100 continuous="true" />
101
Jeff Sharkey39ffbcc2013-05-30 14:27:32 -0700102<test name="frameworks-support"
103 build_path="frameworks/support/tests"
104 package="android.support.tests"
Jeff Sharkey01ae4532013-03-07 21:21:13 -0800105 continuous="true" />
106
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800107<test name="core"
108 build_path="frameworks/base/tests/CoreTests"
109 package="android.core"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800110 coverage_target="framework"
111 continuous="true" />
112
Chung-yih Wang84dcb452009-09-29 11:27:11 +0800113<test name="keystore-unit"
114 build_path="frameworks/base/keystore/tests"
115 package="android.security.tests"
Chung-yih Wang84dcb452009-09-29 11:27:11 +0800116 coverage_target="framework"
117 continuous="true" />
118
The Android Open Source Project6ffae012009-03-18 17:39:43 -0700119<test name="imf"
120 build_path="frameworks/base/tests/ImfTest"
121 package="com.android.imftest.tests"
122 coverage_target="framework"
123 continuous="true" />
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800124
Brett Chabot2e1ac5d2009-06-15 10:46:49 -0700125<test name="framework-permission"
126 build_path="frameworks/base/tests/permission"
127 package="com.android.framework.permission.tests"
128 runner="android.test.InstrumentationTestRunner"
129 coverage_target="framework"
Brett Chabot8ccda762009-06-17 10:56:52 -0700130 continuous="true" />
Brett Chabot2e1ac5d2009-06-15 10:46:49 -0700131
Brett Chabot8c63b972010-04-05 12:19:17 -0700132<test name="android-common"
Dan Egnore970b3d2009-11-18 12:05:35 -0800133 build_path="frameworks/base/common/tests"
Brett Chabotf692a042010-04-02 08:50:02 -0700134 package="com.android.common.tests"
135 coverage_target="framework"
136 continuous="true" />
Dan Egnore970b3d2009-11-18 12:05:35 -0800137
Hugo Hudson35cf07a2011-07-26 00:17:05 +0100138<test name="ex-variablespeed"
139 build_path="frameworks/ex/variablespeed/tests"
140 package="com.android.ex.variablespeed.tests"
141 coverage_target="framework"
142 continuous="true"
143 description="Framework variable speed audio tests" />
144
Jeff Brown6ec6d982012-04-06 14:50:23 -0700145<test-native name="libandroidfw"
146 build_path="frameworks/base/libs/androidfw/tests"
147 description="Framework libandroidfw unit tests." />
Jeff Brownec5b11b2010-06-13 20:09:33 -0700148
Jeff Brown55ecde52011-01-02 21:34:53 -0800149<test-native name="libinput"
Jeff Brown1190c0f2013-07-01 19:27:30 -0700150 build_path="frameworks/native/libs/input/tests"
Jeff Brown55ecde52011-01-02 21:34:53 -0800151 description="Framework libinput unit tests." />
152
Jeff Brown1190c0f2013-07-01 19:27:30 -0700153<test-native name="libinputservice"
154 build_path="frameworks/base/services/input/tests"
155 description="Framework libinputservice unit tests." />
156
Jeff Sharkey2753baa2012-02-14 17:30:01 -0800157<test name="volley"
158 build_path="frameworks/support/volley/tests"
159 package="com.android.volley.tests"
160 continuous="true" />
161
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700162<!-- end of framework tests -->
163
164<!-- media framework tests -->
165<test name="media"
166 build_path="frameworks/base/media/tests/MediaFrameworkTest"
167 package="com.android.mediaframeworktest"
168 runner=".MediaFrameworkTestRunner"
169 coverage_target="framework"
170 continuous="true" />
171
172<test name="mediaapitest"
173 build_path="frameworks/base/media/tests/MediaFrameworkTest"
174 package="com.android.mediaframeworktest"
175 class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
176 runner=".MediaFrameworkTestRunner"
177 coverage_target="framework" />
178
179<test name="mediarecordertest"
180 build_path="frameworks/base/media/tests/MediaFrameworkTest"
181 package="com.android.mediaframeworktest"
182 class="com.android.mediaframeworktest.functional.MediaRecorderTest"
183 runner=".MediaFrameworkTestRunner"
184 coverage_target="framework" />
185
186<test name="mediastresstest"
187 build_path="frameworks/base/media/tests/MediaFrameworkTest"
188 package="com.android.mediaframeworktest"
189 runner=".MediaRecorderStressTestRunner"
190 coverage_target="framework" />
191
192<test name="mediamemorystress"
193 build_path="frameworks/base/media/tests/MediaFrameworkTest"
194 package="com.android.mediaframeworktest"
195 runner=".MediaFrameworkPerfTestRunner"
196 coverage_target="framework" />
197
198<test name="mediaunit"
199 build_path="frameworks/base/media/tests/MediaFrameworkTest"
200 package="com.android.mediaframeworktest"
201 runner=".MediaFrameworkUnitTestRunner"
202 coverage_target="framework" />
203
Igor Murashkin9fa45c02013-06-03 11:33:03 -0700204<test name="mediaintegrationtest"
205 build_path="frameworks/base/media/tests/MediaFrameworkTest"
206 package="com.android.mediaframeworktest"
207 runner=".MediaFrameworkIntegrationTestRunner"
208 coverage_target="framework" />
209
Yu Shan Emily Laub152b932013-04-12 17:27:15 -0700210<test-native name="camera-client-native"
211 build_path="frameworks/av/camera/tests/"
212 description="Camera client native tests." />
213
214<test-native name="camera-hal2-native"
215 build_path="hardware/libhardware/tests/camera2"
216 description="Camera hal2 native tests." />
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700217<!-- end of media framework tests -->
218
219<!-- targeted framework tests -->
220<test name="account"
221 build_path="frameworks/base/core/tests/coretests"
222 package="com.android.frameworks.coretests"
223 class="android.accounts.AccountManagerServiceTest"
224 coverage_target="framework" />
225
226<test name="smoke"
227 build_path="frameworks/base/tests/SmokeTest"
228 package="com.android.smoketest.tests"
229 coverage_target="framework"
230 continuous="true" />
231
232<test name="launchperf"
233 build_path="development/apps/launchperf"
234 package="com.android.launchperf"
235 runner=".SimpleActivityLaunchPerformance"
236 coverage_target="framework" />
237
238<test name="contentprovideroperation"
239 build_path="frameworks/base/core/tests/coretests"
240 package="com.android.frameworks.coretests"
241 class="android.content.ContentProviderOperationTest"
242 coverage_target="framework" />
243
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800244<!-- selected app tests -->
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700245<test name="apidemos"
246 build_path="development/samples/ApiDemos"
247 package="com.example.android.apis.tests" />
248
Guang Zhucf02f242010-06-21 16:55:00 -0700249<test name="calculator"
250 build_path="packages/apps/Calculator"
251 package="com.android.calculator2.tests"
Guang Zhub7d67e62010-12-06 14:09:11 -0800252 coverage_target="Calculator"
253 continuous="true" />
Guang Zhucf02f242010-06-21 16:55:00 -0700254
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800255<test name="calendar"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700256 build_path="packages/apps/Calendar"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800257 package="com.android.calendar.tests"
258 coverage_target="Calendar"
259 continuous="true" />
260
261<test name="calprov"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700262 build_path="packages/providers/CalendarProvider"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800263 package="com.android.providers.calendar.tests"
Swarna Kumar8aca5b82009-07-30 15:03:25 -0700264 coverage_target="CalendarProvider"
265 continuous="true" />
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800266
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800267<test name="camera-functional"
Jason Noguchib7076982012-02-16 18:41:56 -0800268 build_path="packages/apps/Camera"
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800269 package="com.google.android.camera.tests"
270 runner="com.android.camera.CameraTestRunner"
Jason Noguchib7076982012-02-16 18:41:56 -0800271 coverage_target="Camera"
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800272 description="Camera functional test"
Jason Noguchib7076982012-02-16 18:41:56 -0800273 continuous="true" />
274
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800275<test name="contactsprov"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700276 build_path="packages/providers/ContactsProvider"
Omari Stephensa3410462009-09-02 13:01:11 -0700277 package="com.android.providers.contacts.tests"
Omari Stephens17a9df52009-09-29 14:16:07 -0700278 coverage_target="ContactsProvider"
279 continuous="true" />
Omari Stephensa3410462009-09-02 13:01:11 -0700280
Nicolas Cataniaf8f452c2009-09-25 16:30:09 -0700281<test name="contacts"
282 build_path="packages/apps/Contacts"
283 package="com.android.contacts.tests"
284 runner="android.test.InstrumentationTestRunner"
285 coverage_target="Contacts"
Omari Stephens17a9df52009-09-29 14:16:07 -0700286 description="Tests for the Contacts app."
287 continuous="true" />
Nicolas Cataniaf8f452c2009-09-25 16:30:09 -0700288
Brett Chabotcf87c982009-11-12 11:47:16 -0800289<test name="contacts-launch"
290 build_path="packages/apps/Contacts"
291 package="com.android.contacts.tests"
292 runner="com.android.contacts.ContactsLaunchPerformance"
293 description="Launch performance for Contacts." />
294
Santos Cordonddd7ea42013-03-19 12:08:05 -0700295<test name="dialer"
296 build_path="packages/apps/Dialer"
297 package="com.android.dialer.tests"
298 runner="android.test.InstrumentationTestRunner"
299 coverage_target="Dialer"
300 description="Tests for the Dialer app."
301 continuous="true" />
302
Jeff Sharkey74767752011-10-12 13:45:25 -0700303<test name="downloadprovider"
304 build_path="packages/providers/DownloadProvider/tests"
305 package="com.android.providers.downloads.tests"
306 coverage_target="DownloadProvider"
307 continuous="true" />
308
Brett Chabot5de234e2009-06-15 13:04:58 -0700309<test name="downloadprovider-permission"
310 build_path="packages/providers/DownloadProvider/tests/permission"
311 package="com.android.providers.downloads.permission.tests"
Brett Chabot8ccda762009-06-17 10:56:52 -0700312 coverage_target="DownloadProvider"
313 continuous="true" />
Brett Chabot5de234e2009-06-15 13:04:58 -0700314
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800315<test name="email"
316 build_path="packages/apps/Email"
317 package="com.android.email.tests"
318 coverage_target="Email"
319 continuous="true" />
320
321<test name="emailsmall"
322 build_path="packages/apps/Email"
323 package="com.android.email.tests"
324 class="com.android.email.SmallTests"
325 coverage_target="Email" />
326
Marc Blankb1bc3d82011-02-17 12:47:10 -0800327<test name="exchange"
328 build_path="packages/apps/Exchange"
329 package="com.android.exchange.tests"
330 coverage_target="Exchange"
331 continuous="true" />
332
Brett Chabota3a8aeb2009-03-31 14:51:13 -0700333<test name="musicplayer"
334 build_path="packages/apps/Music"
335 package="com.android.music.tests"
336 runner=".MusicPlayerFunctionalTestRunner"
Yu Shan Emily Laud17eb0b2009-04-09 13:55:00 -0700337 coverage_target="Music" />
Brett Chabota3a8aeb2009-03-31 14:51:13 -0700338
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800339<test name="mms"
340 build_path="packages/apps/Mms"
341 package="com.android.mms.tests"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800342 coverage_target="Mms" />
343
Nicolas Catania6f0366f2009-12-07 13:03:13 -0800344<!-- Unit tests for the phone application. -->
345<test name="phone-unit"
Santos Cordon70939ca2013-12-12 18:39:22 -0800346 build_path="packages/services/Telephony"
Nicolas Catania6f0366f2009-12-07 13:03:13 -0800347 package="com.android.phone.tests"
348 continuous="true"
349 coverage_target="Phone" />
350
Jonathan Basseri98108542015-07-09 11:32:51 -0700351<test name="carrierconfig-unit"
352 build_path="packages/apps/CarrierConfig"
353 package="com.android.carrierconfig.tests"
354 continuous="true"
355 coverage_target="Phone"
356 description="Tests for default carrier config app" />
357
Santos Cordon4e0ad8f2015-05-21 12:25:05 -0700358<test name="telecom-unit"
Santos Cordon70939ca2013-12-12 18:39:22 -0800359 build_path="packages/services/Telecomm"
Tyler Gunn2e4aa792014-09-12 09:19:08 -0700360 package="com.android.server.telecom.tests"
Santos Cordon70939ca2013-12-12 18:39:22 -0800361 continuous="true"
362 coverage_target="Phone" />
363
Bryan Mawhinneyd75939d2010-02-05 17:17:13 +0000364<test name="quicksearchbox"
365 build_path="packages/apps/QuickSearchBox"
366 package="com.android.quicksearchbox.tests"
Brett Chabot79a612b2010-04-05 16:37:59 -0700367 coverage_target="QuickSearchBox" />
Bryan Mawhinneyd75939d2010-02-05 17:17:13 +0000368
Brett Chaboteec50422011-08-17 15:40:03 -0700369<test name="systemui"
370 build_path="frameworks/base/packages/SystemUI"
371 package="com.android.systemui.tests"
372 coverage_target="SystemUI"
373 continuous="true"
374 description="SystemUI tests" />
375
Jeff Sharkey34c8fae2013-09-06 13:56:45 -0700376<test name="documentsui"
377 build_path="frameworks/base/packages/DocumentsUI/tests"
378 package="com.android.documentsui.tests"
379 coverage_target="DocumentsUI"
380 continuous="true"
381 description="DocumentsUI tests" />
382
Niko Catania24728662009-04-02 23:33:53 -0700383<!-- native tests -->
Nicolas Catania18d7a4e2009-06-15 09:28:06 -0700384
385<!-- Bionic C++ -->
Niko Catania24728662009-04-02 23:33:53 -0700386<test-native name="libstdcpp"
387 build_path="system/extras/tests/bionic/libstdc++"
Niko Catania55ebbc42009-04-03 14:13:05 -0700388 description="Bionic libstdc++."
Brett Chabot764d3fa2009-06-25 17:57:31 -0700389 extra_build_args="BIONIC_TESTS=1" />
Niko Catania24728662009-04-02 23:33:53 -0700390
Wei-Ta Chenb515fb12009-05-28 13:42:14 -0700391<test-native name="libskia"
392 build_path="external/skia/tests"
393 description="Skia tests." />
394
Nicolas Catania13a2fcf2010-02-10 22:40:39 -0800395<!-- Google Test -->
Nicolas Cataniaff096c12009-05-01 11:55:36 -0700396<test-native name="gtest"
397 build_path="external/gtest"
398 description="Google test."
Brett Chabot764d3fa2009-06-25 17:57:31 -0700399 extra_build_args="GTEST_TESTS=1" />
Nicolas Catania13a2fcf2010-02-10 22:40:39 -0800400
Lorenzo Colitti791bef52014-02-22 01:56:46 +0900401<!-- clatd -->
402<test-native name="clatd"
403 build_path="external/android-clat"
404 description="clatd unit tests." />
405
Nicolas Catania8595c942010-04-09 10:26:13 -0700406<!-- Libjingle -->
407<test-native name="libjingle"
408 build_path="vendor/google/libraries/libjingle"
409 description="Libjingle."
Brett Chabot8dc9eb82010-04-15 15:43:04 -0700410 full_make="true"
Nicolas Catania8595c942010-04-09 10:26:13 -0700411 extra_build_args="LIBJINGLE_TESTS=1" />
412
Brett Chabot764d3fa2009-06-25 17:57:31 -0700413<!-- host java tests -->
Brett Chabotc5ad47c2010-02-17 11:22:19 -0800414<test-host name="frameworks-core-host"
415 build_path="frameworks/base/core/tests/hosttests"
416 class="android.content.pm.PackageManagerHostTests"
417 jar_name="FrameworkCoreHostTests.jar" />
418
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800419</test-definitions>