blob: 161559ab5a60a164a27ae4f85b767c7261c7775c [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
Chad Brubakerec4080c2016-08-22 12:05:15 -0700163<test name="networksecurityconfig"
164 build_path="frameworks/base/tests/NetworkSecurityConfigTest"
165 package="android.security.net.config"
166 coverage_target="framework"
167 description="Android network security config tests." />
168
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700169<!-- end of framework tests -->
170
171<!-- media framework tests -->
172<test name="media"
173 build_path="frameworks/base/media/tests/MediaFrameworkTest"
174 package="com.android.mediaframeworktest"
175 runner=".MediaFrameworkTestRunner"
176 coverage_target="framework"
177 continuous="true" />
178
179<test name="mediaapitest"
180 build_path="frameworks/base/media/tests/MediaFrameworkTest"
181 package="com.android.mediaframeworktest"
182 class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
183 runner=".MediaFrameworkTestRunner"
184 coverage_target="framework" />
185
186<test name="mediarecordertest"
187 build_path="frameworks/base/media/tests/MediaFrameworkTest"
188 package="com.android.mediaframeworktest"
189 class="com.android.mediaframeworktest.functional.MediaRecorderTest"
190 runner=".MediaFrameworkTestRunner"
191 coverage_target="framework" />
192
193<test name="mediastresstest"
194 build_path="frameworks/base/media/tests/MediaFrameworkTest"
195 package="com.android.mediaframeworktest"
196 runner=".MediaRecorderStressTestRunner"
197 coverage_target="framework" />
198
199<test name="mediamemorystress"
200 build_path="frameworks/base/media/tests/MediaFrameworkTest"
201 package="com.android.mediaframeworktest"
202 runner=".MediaFrameworkPerfTestRunner"
203 coverage_target="framework" />
204
205<test name="mediaunit"
206 build_path="frameworks/base/media/tests/MediaFrameworkTest"
207 package="com.android.mediaframeworktest"
208 runner=".MediaFrameworkUnitTestRunner"
209 coverage_target="framework" />
210
Igor Murashkin9fa45c02013-06-03 11:33:03 -0700211<test name="mediaintegrationtest"
212 build_path="frameworks/base/media/tests/MediaFrameworkTest"
213 package="com.android.mediaframeworktest"
214 runner=".MediaFrameworkIntegrationTestRunner"
215 coverage_target="framework" />
216
Yu Shan Emily Laub152b932013-04-12 17:27:15 -0700217<test-native name="camera-client-native"
218 build_path="frameworks/av/camera/tests/"
219 description="Camera client native tests." />
220
221<test-native name="camera-hal2-native"
222 build_path="hardware/libhardware/tests/camera2"
223 description="Camera hal2 native tests." />
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700224<!-- end of media framework tests -->
225
226<!-- targeted framework tests -->
227<test name="account"
228 build_path="frameworks/base/core/tests/coretests"
229 package="com.android.frameworks.coretests"
230 class="android.accounts.AccountManagerServiceTest"
231 coverage_target="framework" />
232
233<test name="smoke"
234 build_path="frameworks/base/tests/SmokeTest"
235 package="com.android.smoketest.tests"
236 coverage_target="framework"
237 continuous="true" />
238
239<test name="launchperf"
240 build_path="development/apps/launchperf"
241 package="com.android.launchperf"
242 runner=".SimpleActivityLaunchPerformance"
243 coverage_target="framework" />
244
245<test name="contentprovideroperation"
246 build_path="frameworks/base/core/tests/coretests"
247 package="com.android.frameworks.coretests"
248 class="android.content.ContentProviderOperationTest"
249 coverage_target="framework" />
250
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800251<!-- selected app tests -->
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700252<test name="apidemos"
253 build_path="development/samples/ApiDemos"
254 package="com.example.android.apis.tests" />
255
Guang Zhucf02f242010-06-21 16:55:00 -0700256<test name="calculator"
257 build_path="packages/apps/Calculator"
258 package="com.android.calculator2.tests"
Guang Zhub7d67e62010-12-06 14:09:11 -0800259 coverage_target="Calculator"
260 continuous="true" />
Guang Zhucf02f242010-06-21 16:55:00 -0700261
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800262<test name="calendar"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700263 build_path="packages/apps/Calendar"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800264 package="com.android.calendar.tests"
265 coverage_target="Calendar"
266 continuous="true" />
267
268<test name="calprov"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700269 build_path="packages/providers/CalendarProvider"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800270 package="com.android.providers.calendar.tests"
Swarna Kumar8aca5b82009-07-30 15:03:25 -0700271 coverage_target="CalendarProvider"
272 continuous="true" />
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800273
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800274<test name="camera-functional"
Jason Noguchib7076982012-02-16 18:41:56 -0800275 build_path="packages/apps/Camera"
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800276 package="com.google.android.camera.tests"
277 runner="com.android.camera.CameraTestRunner"
Jason Noguchib7076982012-02-16 18:41:56 -0800278 coverage_target="Camera"
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800279 description="Camera functional test"
Jason Noguchib7076982012-02-16 18:41:56 -0800280 continuous="true" />
281
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800282<test name="contactsprov"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700283 build_path="packages/providers/ContactsProvider"
Omari Stephensa3410462009-09-02 13:01:11 -0700284 package="com.android.providers.contacts.tests"
Omari Stephens17a9df52009-09-29 14:16:07 -0700285 coverage_target="ContactsProvider"
286 continuous="true" />
Omari Stephensa3410462009-09-02 13:01:11 -0700287
Nicolas Cataniaf8f452c2009-09-25 16:30:09 -0700288<test name="contacts"
289 build_path="packages/apps/Contacts"
290 package="com.android.contacts.tests"
291 runner="android.test.InstrumentationTestRunner"
292 coverage_target="Contacts"
Omari Stephens17a9df52009-09-29 14:16:07 -0700293 description="Tests for the Contacts app."
294 continuous="true" />
Nicolas Cataniaf8f452c2009-09-25 16:30:09 -0700295
Brett Chabotcf87c982009-11-12 11:47:16 -0800296<test name="contacts-launch"
297 build_path="packages/apps/Contacts"
298 package="com.android.contacts.tests"
299 runner="com.android.contacts.ContactsLaunchPerformance"
300 description="Launch performance for Contacts." />
301
Santos Cordonddd7ea42013-03-19 12:08:05 -0700302<test name="dialer"
303 build_path="packages/apps/Dialer"
304 package="com.android.dialer.tests"
305 runner="android.test.InstrumentationTestRunner"
306 coverage_target="Dialer"
307 description="Tests for the Dialer app."
308 continuous="true" />
309
Victor Chang126f40c2016-08-18 19:55:19 +0100310<test name="managed-provisioning"
311 build_path="packages/apps/ManagedProvisioning/tests"
312 package="com.android.managedprovisioning.tests"
313 runner="com.android.managedprovisioning.TestInstrumentationRunner"
314 coverage_target="ManagedProvisioning"
315 description="Tests for the ManagedProvisioning app."
316 continuous="true" />
317
Jeff Sharkey74767752011-10-12 13:45:25 -0700318<test name="downloadprovider"
319 build_path="packages/providers/DownloadProvider/tests"
320 package="com.android.providers.downloads.tests"
321 coverage_target="DownloadProvider"
322 continuous="true" />
323
Brett Chabot5de234e2009-06-15 13:04:58 -0700324<test name="downloadprovider-permission"
325 build_path="packages/providers/DownloadProvider/tests/permission"
326 package="com.android.providers.downloads.permission.tests"
Brett Chabot8ccda762009-06-17 10:56:52 -0700327 coverage_target="DownloadProvider"
328 continuous="true" />
Brett Chabot5de234e2009-06-15 13:04:58 -0700329
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800330<test name="email"
331 build_path="packages/apps/Email"
332 package="com.android.email.tests"
333 coverage_target="Email"
334 continuous="true" />
335
336<test name="emailsmall"
337 build_path="packages/apps/Email"
338 package="com.android.email.tests"
339 class="com.android.email.SmallTests"
340 coverage_target="Email" />
341
Marc Blankb1bc3d82011-02-17 12:47:10 -0800342<test name="exchange"
343 build_path="packages/apps/Exchange"
344 package="com.android.exchange.tests"
345 coverage_target="Exchange"
346 continuous="true" />
347
Brett Chabota3a8aeb2009-03-31 14:51:13 -0700348<test name="musicplayer"
349 build_path="packages/apps/Music"
350 package="com.android.music.tests"
351 runner=".MusicPlayerFunctionalTestRunner"
Yu Shan Emily Laud17eb0b2009-04-09 13:55:00 -0700352 coverage_target="Music" />
Brett Chabota3a8aeb2009-03-31 14:51:13 -0700353
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800354<test name="mms"
355 build_path="packages/apps/Mms"
356 package="com.android.mms.tests"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800357 coverage_target="Mms" />
358
Nicolas Catania6f0366f2009-12-07 13:03:13 -0800359<!-- Unit tests for the phone application. -->
360<test name="phone-unit"
Santos Cordon70939ca2013-12-12 18:39:22 -0800361 build_path="packages/services/Telephony"
Nicolas Catania6f0366f2009-12-07 13:03:13 -0800362 package="com.android.phone.tests"
363 continuous="true"
364 coverage_target="Phone" />
365
Jonathan Basseri98108542015-07-09 11:32:51 -0700366<test name="carrierconfig-unit"
367 build_path="packages/apps/CarrierConfig"
368 package="com.android.carrierconfig.tests"
369 continuous="true"
370 coverage_target="Phone"
371 description="Tests for default carrier config app" />
372
Santos Cordon4e0ad8f2015-05-21 12:25:05 -0700373<test name="telecom-unit"
Santos Cordon70939ca2013-12-12 18:39:22 -0800374 build_path="packages/services/Telecomm"
Tyler Gunn2e4aa792014-09-12 09:19:08 -0700375 package="com.android.server.telecom.tests"
Santos Cordon70939ca2013-12-12 18:39:22 -0800376 continuous="true"
377 coverage_target="Phone" />
378
Bryan Mawhinneyd75939d2010-02-05 17:17:13 +0000379<test name="quicksearchbox"
380 build_path="packages/apps/QuickSearchBox"
381 package="com.android.quicksearchbox.tests"
Brett Chabot79a612b2010-04-05 16:37:59 -0700382 coverage_target="QuickSearchBox" />
Bryan Mawhinneyd75939d2010-02-05 17:17:13 +0000383
Brett Chaboteec50422011-08-17 15:40:03 -0700384<test name="systemui"
Geoffrey Pitsch251ae642016-08-18 11:36:37 -0400385 build_path="frameworks/base/packages/SystemUI/tests"
Brett Chaboteec50422011-08-17 15:40:03 -0700386 package="com.android.systemui.tests"
387 coverage_target="SystemUI"
Geoffrey Pitsch251ae642016-08-18 11:36:37 -0400388 runner="android.support.test.runner.AndroidJUnitRunner"
Brett Chaboteec50422011-08-17 15:40:03 -0700389 continuous="true"
390 description="SystemUI tests" />
391
Jorim Jaggifd16ae92016-10-11 14:32:25 +0200392<test name="systemui-jank"
393 build_path="platform_testing/tests/jank/UbSystemUiJankTests"
394 package="android.platform.systemui.tests.jank"
395 runner="android.test.InstrumentationTestRunner"
396 continuous="true"
397 description="SystemUI jank tests" />
398
Jeff Sharkey34c8fae2013-09-06 13:56:45 -0700399<test name="documentsui"
400 build_path="frameworks/base/packages/DocumentsUI/tests"
401 package="com.android.documentsui.tests"
402 coverage_target="DocumentsUI"
403 continuous="true"
404 description="DocumentsUI tests" />
405
Niko Catania24728662009-04-02 23:33:53 -0700406<!-- native tests -->
Nicolas Catania18d7a4e2009-06-15 09:28:06 -0700407
408<!-- Bionic C++ -->
Niko Catania24728662009-04-02 23:33:53 -0700409<test-native name="libstdcpp"
410 build_path="system/extras/tests/bionic/libstdc++"
Niko Catania55ebbc42009-04-03 14:13:05 -0700411 description="Bionic libstdc++."
Brett Chabot764d3fa2009-06-25 17:57:31 -0700412 extra_build_args="BIONIC_TESTS=1" />
Niko Catania24728662009-04-02 23:33:53 -0700413
Wei-Ta Chenb515fb12009-05-28 13:42:14 -0700414<test-native name="libskia"
415 build_path="external/skia/tests"
416 description="Skia tests." />
417
Nicolas Catania13a2fcf2010-02-10 22:40:39 -0800418<!-- Google Test -->
Nicolas Cataniaff096c12009-05-01 11:55:36 -0700419<test-native name="gtest"
420 build_path="external/gtest"
421 description="Google test."
Brett Chabot764d3fa2009-06-25 17:57:31 -0700422 extra_build_args="GTEST_TESTS=1" />
Nicolas Catania13a2fcf2010-02-10 22:40:39 -0800423
Lorenzo Colitti791bef52014-02-22 01:56:46 +0900424<!-- clatd -->
425<test-native name="clatd"
426 build_path="external/android-clat"
427 description="clatd unit tests." />
428
Nicolas Catania8595c942010-04-09 10:26:13 -0700429<!-- Libjingle -->
430<test-native name="libjingle"
431 build_path="vendor/google/libraries/libjingle"
432 description="Libjingle."
Brett Chabot8dc9eb82010-04-15 15:43:04 -0700433 full_make="true"
Nicolas Catania8595c942010-04-09 10:26:13 -0700434 extra_build_args="LIBJINGLE_TESTS=1" />
435
Brett Chabot764d3fa2009-06-25 17:57:31 -0700436<!-- host java tests -->
Brett Chabotc5ad47c2010-02-17 11:22:19 -0800437<test-host name="frameworks-core-host"
438 build_path="frameworks/base/core/tests/hosttests"
439 class="android.content.pm.PackageManagerHostTests"
440 jar_name="FrameworkCoreHostTests.jar" />
441
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800442</test-definitions>