blob: 0752295980fb42f457be0dd4d662d9f2248b9410 [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 Wiley00d6fa72016-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"
Naveen Kalla2ab93902016-07-18 13:38:08 -070074 runner="android.support.test.runner.AndroidJUnitRunner"
Neal Nguyenadce5662010-01-14 14:13:37 -080075 coverage_target="framework"
76 continuous="true" />
77
Lorenzo Colittie02265e2016-02-19 14:28:49 +090078<test name="frameworks-util"
79 build_path="frameworks/base/core/tests/utiltests"
80 package="com.android.frameworks.utiltests"
81 runner="android.support.test.runner.AndroidJUnitRunner"
82 continuous="true" />
83
Mitchell Wills93178d72015-12-02 17:53:55 -080084<test name="frameworks-wifi"
85 build_path="frameworks/opt/net/wifi/tests/wifitests"
86 package="com.android.server.wifi.test"
87 runner="android.support.test.runner.AndroidJUnitRunner"
88 coverage_target="framework"
89 continuous="true" />
90
Brett Chabot0145eaf2010-02-18 18:55:11 -080091<test name="frameworks-testrunner"
Brett Chabot786f4db2010-02-20 20:07:38 -080092 build_path="frameworks/base/test-runner"
Brett Chabot0145eaf2010-02-18 18:55:11 -080093 package="com.android.frameworks.testrunner.tests"
Brett Chabot786f4db2010-02-20 20:07:38 -080094 coverage_target="android.test.runner"
Brett Chabot0145eaf2010-02-18 18:55:11 -080095 continuous="true" />
96
Neal Nguyen04bcaad2010-01-25 15:33:21 -080097<test name="frameworks-vpn"
98 build_path="frameworks/base/vpn/tests/vpntests"
99 package="com.android.frameworks.vpntests"
100 coverage_target="framework"
101 continuous="true" />
102
Jeff Sharkey39ffbcc2013-05-30 14:27:32 -0700103<test name="frameworks-support"
104 build_path="frameworks/support/tests"
105 package="android.support.tests"
Jeff Sharkey01ae4532013-03-07 21:21:13 -0800106 continuous="true" />
107
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800108<test name="core"
109 build_path="frameworks/base/tests/CoreTests"
110 package="android.core"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800111 coverage_target="framework"
112 continuous="true" />
113
Chung-yih Wang84dcb452009-09-29 11:27:11 +0800114<test name="keystore-unit"
115 build_path="frameworks/base/keystore/tests"
116 package="android.security.tests"
Chung-yih Wang84dcb452009-09-29 11:27:11 +0800117 coverage_target="framework"
118 continuous="true" />
119
The Android Open Source Project6ffae012009-03-18 17:39:43 -0700120<test name="imf"
121 build_path="frameworks/base/tests/ImfTest"
122 package="com.android.imftest.tests"
123 coverage_target="framework"
124 continuous="true" />
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800125
Brett Chabot2e1ac5d2009-06-15 10:46:49 -0700126<test name="framework-permission"
127 build_path="frameworks/base/tests/permission"
128 package="com.android.framework.permission.tests"
129 runner="android.test.InstrumentationTestRunner"
130 coverage_target="framework"
Brett Chabot8ccda762009-06-17 10:56:52 -0700131 continuous="true" />
Brett Chabot2e1ac5d2009-06-15 10:46:49 -0700132
Brett Chabot8c63b972010-04-05 12:19:17 -0700133<test name="android-common"
Dan Egnore970b3d2009-11-18 12:05:35 -0800134 build_path="frameworks/base/common/tests"
Brett Chabotf692a042010-04-02 08:50:02 -0700135 package="com.android.common.tests"
136 coverage_target="framework"
137 continuous="true" />
Dan Egnore970b3d2009-11-18 12:05:35 -0800138
Hugo Hudson35cf07a2011-07-26 00:17:05 +0100139<test name="ex-variablespeed"
140 build_path="frameworks/ex/variablespeed/tests"
141 package="com.android.ex.variablespeed.tests"
142 coverage_target="framework"
143 continuous="true"
144 description="Framework variable speed audio tests" />
145
Jeff Brown6ec6d982012-04-06 14:50:23 -0700146<test-native name="libandroidfw"
147 build_path="frameworks/base/libs/androidfw/tests"
148 description="Framework libandroidfw unit tests." />
Jeff Brownec5b11b2010-06-13 20:09:33 -0700149
Jeff Brown55ecde52011-01-02 21:34:53 -0800150<test-native name="libinput"
Jeff Brown1190c0f2013-07-01 19:27:30 -0700151 build_path="frameworks/native/libs/input/tests"
Jeff Brown55ecde52011-01-02 21:34:53 -0800152 description="Framework libinput unit tests." />
153
Jeff Brown1190c0f2013-07-01 19:27:30 -0700154<test-native name="libinputservice"
155 build_path="frameworks/base/services/input/tests"
156 description="Framework libinputservice unit tests." />
157
Jeff Sharkey2753baa2012-02-14 17:30:01 -0800158<test name="volley"
159 build_path="frameworks/support/volley/tests"
160 package="com.android.volley.tests"
161 continuous="true" />
162
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700163<!-- end of framework tests -->
164
165<!-- media framework tests -->
166<test name="media"
167 build_path="frameworks/base/media/tests/MediaFrameworkTest"
168 package="com.android.mediaframeworktest"
169 runner=".MediaFrameworkTestRunner"
170 coverage_target="framework"
171 continuous="true" />
172
173<test name="mediaapitest"
174 build_path="frameworks/base/media/tests/MediaFrameworkTest"
175 package="com.android.mediaframeworktest"
176 class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
177 runner=".MediaFrameworkTestRunner"
178 coverage_target="framework" />
179
180<test name="mediarecordertest"
181 build_path="frameworks/base/media/tests/MediaFrameworkTest"
182 package="com.android.mediaframeworktest"
183 class="com.android.mediaframeworktest.functional.MediaRecorderTest"
184 runner=".MediaFrameworkTestRunner"
185 coverage_target="framework" />
186
187<test name="mediastresstest"
188 build_path="frameworks/base/media/tests/MediaFrameworkTest"
189 package="com.android.mediaframeworktest"
190 runner=".MediaRecorderStressTestRunner"
191 coverage_target="framework" />
192
193<test name="mediamemorystress"
194 build_path="frameworks/base/media/tests/MediaFrameworkTest"
195 package="com.android.mediaframeworktest"
196 runner=".MediaFrameworkPerfTestRunner"
197 coverage_target="framework" />
198
199<test name="mediaunit"
200 build_path="frameworks/base/media/tests/MediaFrameworkTest"
201 package="com.android.mediaframeworktest"
202 runner=".MediaFrameworkUnitTestRunner"
203 coverage_target="framework" />
204
Igor Murashkin9fa45c02013-06-03 11:33:03 -0700205<test name="mediaintegrationtest"
206 build_path="frameworks/base/media/tests/MediaFrameworkTest"
207 package="com.android.mediaframeworktest"
208 runner=".MediaFrameworkIntegrationTestRunner"
209 coverage_target="framework" />
210
Yu Shan Emily Laub152b932013-04-12 17:27:15 -0700211<test-native name="camera-client-native"
212 build_path="frameworks/av/camera/tests/"
213 description="Camera client native tests." />
214
215<test-native name="camera-hal2-native"
216 build_path="hardware/libhardware/tests/camera2"
217 description="Camera hal2 native tests." />
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700218<!-- end of media framework tests -->
219
220<!-- targeted framework tests -->
221<test name="account"
222 build_path="frameworks/base/core/tests/coretests"
223 package="com.android.frameworks.coretests"
224 class="android.accounts.AccountManagerServiceTest"
225 coverage_target="framework" />
226
227<test name="smoke"
228 build_path="frameworks/base/tests/SmokeTest"
229 package="com.android.smoketest.tests"
230 coverage_target="framework"
231 continuous="true" />
232
233<test name="launchperf"
234 build_path="development/apps/launchperf"
235 package="com.android.launchperf"
236 runner=".SimpleActivityLaunchPerformance"
237 coverage_target="framework" />
238
239<test name="contentprovideroperation"
240 build_path="frameworks/base/core/tests/coretests"
241 package="com.android.frameworks.coretests"
242 class="android.content.ContentProviderOperationTest"
243 coverage_target="framework" />
244
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800245<!-- selected app tests -->
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700246<test name="apidemos"
247 build_path="development/samples/ApiDemos"
248 package="com.example.android.apis.tests" />
249
Guang Zhucf02f242010-06-21 16:55:00 -0700250<test name="calculator"
251 build_path="packages/apps/Calculator"
252 package="com.android.calculator2.tests"
Guang Zhub7d67e62010-12-06 14:09:11 -0800253 coverage_target="Calculator"
254 continuous="true" />
Guang Zhucf02f242010-06-21 16:55:00 -0700255
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800256<test name="calendar"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700257 build_path="packages/apps/Calendar"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800258 package="com.android.calendar.tests"
259 coverage_target="Calendar"
260 continuous="true" />
261
262<test name="calprov"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700263 build_path="packages/providers/CalendarProvider"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800264 package="com.android.providers.calendar.tests"
Swarna Kumar8aca5b82009-07-30 15:03:25 -0700265 coverage_target="CalendarProvider"
266 continuous="true" />
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800267
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800268<test name="camera-functional"
Jason Noguchib7076982012-02-16 18:41:56 -0800269 build_path="packages/apps/Camera"
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800270 package="com.google.android.camera.tests"
271 runner="com.android.camera.CameraTestRunner"
Jason Noguchib7076982012-02-16 18:41:56 -0800272 coverage_target="Camera"
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800273 description="Camera functional test"
Jason Noguchib7076982012-02-16 18:41:56 -0800274 continuous="true" />
275
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800276<test name="contactsprov"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700277 build_path="packages/providers/ContactsProvider"
Omari Stephensa3410462009-09-02 13:01:11 -0700278 package="com.android.providers.contacts.tests"
Omari Stephens17a9df52009-09-29 14:16:07 -0700279 coverage_target="ContactsProvider"
280 continuous="true" />
Omari Stephensa3410462009-09-02 13:01:11 -0700281
Nicolas Cataniaf8f452c2009-09-25 16:30:09 -0700282<test name="contacts"
283 build_path="packages/apps/Contacts"
284 package="com.android.contacts.tests"
285 runner="android.test.InstrumentationTestRunner"
286 coverage_target="Contacts"
Omari Stephens17a9df52009-09-29 14:16:07 -0700287 description="Tests for the Contacts app."
288 continuous="true" />
Nicolas Cataniaf8f452c2009-09-25 16:30:09 -0700289
Brett Chabotcf87c982009-11-12 11:47:16 -0800290<test name="contacts-launch"
291 build_path="packages/apps/Contacts"
292 package="com.android.contacts.tests"
293 runner="com.android.contacts.ContactsLaunchPerformance"
294 description="Launch performance for Contacts." />
295
Santos Cordonddd7ea42013-03-19 12:08:05 -0700296<test name="dialer"
297 build_path="packages/apps/Dialer"
298 package="com.android.dialer.tests"
299 runner="android.test.InstrumentationTestRunner"
300 coverage_target="Dialer"
301 description="Tests for the Dialer app."
302 continuous="true" />
303
Victor Chang126f40c2016-08-18 19:55:19 +0100304<test name="managed-provisioning"
305 build_path="packages/apps/ManagedProvisioning/tests"
306 package="com.android.managedprovisioning.tests"
307 runner="com.android.managedprovisioning.TestInstrumentationRunner"
308 coverage_target="ManagedProvisioning"
309 description="Tests for the ManagedProvisioning app."
310 continuous="true" />
311
Jeff Sharkey74767752011-10-12 13:45:25 -0700312<test name="downloadprovider"
313 build_path="packages/providers/DownloadProvider/tests"
314 package="com.android.providers.downloads.tests"
315 coverage_target="DownloadProvider"
316 continuous="true" />
317
Brett Chabot5de234e2009-06-15 13:04:58 -0700318<test name="downloadprovider-permission"
319 build_path="packages/providers/DownloadProvider/tests/permission"
320 package="com.android.providers.downloads.permission.tests"
Brett Chabot8ccda762009-06-17 10:56:52 -0700321 coverage_target="DownloadProvider"
322 continuous="true" />
Brett Chabot5de234e2009-06-15 13:04:58 -0700323
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800324<test name="email"
325 build_path="packages/apps/Email"
326 package="com.android.email.tests"
327 coverage_target="Email"
328 continuous="true" />
329
330<test name="emailsmall"
331 build_path="packages/apps/Email"
332 package="com.android.email.tests"
333 class="com.android.email.SmallTests"
334 coverage_target="Email" />
335
Marc Blankb1bc3d82011-02-17 12:47:10 -0800336<test name="exchange"
337 build_path="packages/apps/Exchange"
338 package="com.android.exchange.tests"
339 coverage_target="Exchange"
340 continuous="true" />
341
Brett Chabota3a8aeb2009-03-31 14:51:13 -0700342<test name="musicplayer"
343 build_path="packages/apps/Music"
344 package="com.android.music.tests"
345 runner=".MusicPlayerFunctionalTestRunner"
Yu Shan Emily Laud17eb0b2009-04-09 13:55:00 -0700346 coverage_target="Music" />
Brett Chabota3a8aeb2009-03-31 14:51:13 -0700347
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800348<test name="mms"
349 build_path="packages/apps/Mms"
350 package="com.android.mms.tests"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800351 coverage_target="Mms" />
352
Nicolas Catania6f0366f2009-12-07 13:03:13 -0800353<!-- Unit tests for the phone application. -->
354<test name="phone-unit"
Santos Cordon70939ca2013-12-12 18:39:22 -0800355 build_path="packages/services/Telephony"
Nicolas Catania6f0366f2009-12-07 13:03:13 -0800356 package="com.android.phone.tests"
357 continuous="true"
358 coverage_target="Phone" />
359
Jonathan Basseri98108542015-07-09 11:32:51 -0700360<test name="carrierconfig-unit"
361 build_path="packages/apps/CarrierConfig"
362 package="com.android.carrierconfig.tests"
363 continuous="true"
364 coverage_target="Phone"
365 description="Tests for default carrier config app" />
366
Santos Cordon4e0ad8f2015-05-21 12:25:05 -0700367<test name="telecom-unit"
Santos Cordon70939ca2013-12-12 18:39:22 -0800368 build_path="packages/services/Telecomm"
Tyler Gunn2e4aa792014-09-12 09:19:08 -0700369 package="com.android.server.telecom.tests"
Santos Cordon70939ca2013-12-12 18:39:22 -0800370 continuous="true"
371 coverage_target="Phone" />
372
Bryan Mawhinneyd75939d2010-02-05 17:17:13 +0000373<test name="quicksearchbox"
374 build_path="packages/apps/QuickSearchBox"
375 package="com.android.quicksearchbox.tests"
Brett Chabot79a612b2010-04-05 16:37:59 -0700376 coverage_target="QuickSearchBox" />
Bryan Mawhinneyd75939d2010-02-05 17:17:13 +0000377
Brett Chaboteec50422011-08-17 15:40:03 -0700378<test name="systemui"
Geoffrey Pitsch251ae642016-08-18 11:36:37 -0400379 build_path="frameworks/base/packages/SystemUI/tests"
Brett Chaboteec50422011-08-17 15:40:03 -0700380 package="com.android.systemui.tests"
381 coverage_target="SystemUI"
Geoffrey Pitsch251ae642016-08-18 11:36:37 -0400382 runner="android.support.test.runner.AndroidJUnitRunner"
Brett Chaboteec50422011-08-17 15:40:03 -0700383 continuous="true"
384 description="SystemUI tests" />
385
Jeff Sharkey34c8fae2013-09-06 13:56:45 -0700386<test name="documentsui"
387 build_path="frameworks/base/packages/DocumentsUI/tests"
388 package="com.android.documentsui.tests"
389 coverage_target="DocumentsUI"
390 continuous="true"
391 description="DocumentsUI tests" />
392
Niko Catania24728662009-04-02 23:33:53 -0700393<!-- native tests -->
Nicolas Catania18d7a4e2009-06-15 09:28:06 -0700394
395<!-- Bionic C++ -->
Niko Catania24728662009-04-02 23:33:53 -0700396<test-native name="libstdcpp"
397 build_path="system/extras/tests/bionic/libstdc++"
Niko Catania55ebbc42009-04-03 14:13:05 -0700398 description="Bionic libstdc++."
Brett Chabot764d3fa2009-06-25 17:57:31 -0700399 extra_build_args="BIONIC_TESTS=1" />
Niko Catania24728662009-04-02 23:33:53 -0700400
Wei-Ta Chenb515fb12009-05-28 13:42:14 -0700401<test-native name="libskia"
402 build_path="external/skia/tests"
403 description="Skia tests." />
404
Nicolas Catania13a2fcf2010-02-10 22:40:39 -0800405<!-- Google Test -->
Nicolas Cataniaff096c12009-05-01 11:55:36 -0700406<test-native name="gtest"
407 build_path="external/gtest"
408 description="Google test."
Brett Chabot764d3fa2009-06-25 17:57:31 -0700409 extra_build_args="GTEST_TESTS=1" />
Nicolas Catania13a2fcf2010-02-10 22:40:39 -0800410
Lorenzo Colitti791bef52014-02-22 01:56:46 +0900411<!-- clatd -->
412<test-native name="clatd"
413 build_path="external/android-clat"
414 description="clatd unit tests." />
415
Nicolas Catania8595c942010-04-09 10:26:13 -0700416<!-- Libjingle -->
417<test-native name="libjingle"
418 build_path="vendor/google/libraries/libjingle"
419 description="Libjingle."
Brett Chabot8dc9eb82010-04-15 15:43:04 -0700420 full_make="true"
Nicolas Catania8595c942010-04-09 10:26:13 -0700421 extra_build_args="LIBJINGLE_TESTS=1" />
422
Brett Chabot764d3fa2009-06-25 17:57:31 -0700423<!-- host java tests -->
Brett Chabotc5ad47c2010-02-17 11:22:19 -0800424<test-host name="frameworks-core-host"
425 build_path="frameworks/base/core/tests/hosttests"
426 class="android.content.pm.PackageManagerHostTests"
427 jar_name="FrameworkCoreHostTests.jar" />
428
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800429</test-definitions>