blob: 41911eb536a4a640d82388b34512495e13d4b712 [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"
67 coverage_target="framework"
68 continuous="true" />
69
Neal Nguyenadce5662010-01-14 14:13:37 -080070<test name="frameworks-telephony"
Jake Hambye8d40782012-07-19 12:31:30 -070071 build_path="frameworks/opt/telephony/tests/telephonytests"
Neal Nguyenadce5662010-01-14 14:13:37 -080072 package="com.android.frameworks.telephonytests"
73 coverage_target="framework"
74 continuous="true" />
75
Lorenzo Colittie02265e2016-02-19 14:28:49 +090076<test name="frameworks-util"
77 build_path="frameworks/base/core/tests/utiltests"
78 package="com.android.frameworks.utiltests"
79 runner="android.support.test.runner.AndroidJUnitRunner"
80 continuous="true" />
81
Mitchell Wills93178d72015-12-02 17:53:55 -080082<test name="frameworks-wifi"
83 build_path="frameworks/opt/net/wifi/tests/wifitests"
84 package="com.android.server.wifi.test"
85 runner="android.support.test.runner.AndroidJUnitRunner"
86 coverage_target="framework"
87 continuous="true" />
88
Brett Chabot0145eaf2010-02-18 18:55:11 -080089<test name="frameworks-testrunner"
Brett Chabot786f4db2010-02-20 20:07:38 -080090 build_path="frameworks/base/test-runner"
Brett Chabot0145eaf2010-02-18 18:55:11 -080091 package="com.android.frameworks.testrunner.tests"
Brett Chabot786f4db2010-02-20 20:07:38 -080092 coverage_target="android.test.runner"
Brett Chabot0145eaf2010-02-18 18:55:11 -080093 continuous="true" />
94
Neal Nguyen04bcaad2010-01-25 15:33:21 -080095<test name="frameworks-vpn"
96 build_path="frameworks/base/vpn/tests/vpntests"
97 package="com.android.frameworks.vpntests"
98 coverage_target="framework"
99 continuous="true" />
100
Jeff Sharkey39ffbcc2013-05-30 14:27:32 -0700101<test name="frameworks-support"
102 build_path="frameworks/support/tests"
103 package="android.support.tests"
Jeff Sharkey01ae4532013-03-07 21:21:13 -0800104 continuous="true" />
105
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800106<test name="core"
107 build_path="frameworks/base/tests/CoreTests"
108 package="android.core"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800109 coverage_target="framework"
110 continuous="true" />
111
Chung-yih Wang84dcb452009-09-29 11:27:11 +0800112<test name="keystore-unit"
113 build_path="frameworks/base/keystore/tests"
114 package="android.security.tests"
Chung-yih Wang84dcb452009-09-29 11:27:11 +0800115 coverage_target="framework"
116 continuous="true" />
117
The Android Open Source Project6ffae012009-03-18 17:39:43 -0700118<test name="imf"
119 build_path="frameworks/base/tests/ImfTest"
120 package="com.android.imftest.tests"
121 coverage_target="framework"
122 continuous="true" />
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800123
Brett Chabot2e1ac5d2009-06-15 10:46:49 -0700124<test name="framework-permission"
125 build_path="frameworks/base/tests/permission"
126 package="com.android.framework.permission.tests"
127 runner="android.test.InstrumentationTestRunner"
128 coverage_target="framework"
Brett Chabot8ccda762009-06-17 10:56:52 -0700129 continuous="true" />
Brett Chabot2e1ac5d2009-06-15 10:46:49 -0700130
Brett Chabot8c63b972010-04-05 12:19:17 -0700131<test name="android-common"
Dan Egnore970b3d2009-11-18 12:05:35 -0800132 build_path="frameworks/base/common/tests"
Brett Chabotf692a042010-04-02 08:50:02 -0700133 package="com.android.common.tests"
134 coverage_target="framework"
135 continuous="true" />
Dan Egnore970b3d2009-11-18 12:05:35 -0800136
Hugo Hudson35cf07a2011-07-26 00:17:05 +0100137<test name="ex-variablespeed"
138 build_path="frameworks/ex/variablespeed/tests"
139 package="com.android.ex.variablespeed.tests"
140 coverage_target="framework"
141 continuous="true"
142 description="Framework variable speed audio tests" />
143
Jeff Brown6ec6d982012-04-06 14:50:23 -0700144<test-native name="libandroidfw"
145 build_path="frameworks/base/libs/androidfw/tests"
146 description="Framework libandroidfw unit tests." />
Jeff Brownec5b11b2010-06-13 20:09:33 -0700147
Jeff Brown55ecde52011-01-02 21:34:53 -0800148<test-native name="libinput"
Jeff Brown1190c0f2013-07-01 19:27:30 -0700149 build_path="frameworks/native/libs/input/tests"
Jeff Brown55ecde52011-01-02 21:34:53 -0800150 description="Framework libinput unit tests." />
151
Jeff Brown1190c0f2013-07-01 19:27:30 -0700152<test-native name="libinputservice"
153 build_path="frameworks/base/services/input/tests"
154 description="Framework libinputservice unit tests." />
155
Jeff Sharkey2753baa2012-02-14 17:30:01 -0800156<test name="volley"
157 build_path="frameworks/support/volley/tests"
158 package="com.android.volley.tests"
159 continuous="true" />
160
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700161<!-- end of framework tests -->
162
163<!-- media framework tests -->
164<test name="media"
165 build_path="frameworks/base/media/tests/MediaFrameworkTest"
166 package="com.android.mediaframeworktest"
167 runner=".MediaFrameworkTestRunner"
168 coverage_target="framework"
169 continuous="true" />
170
171<test name="mediaapitest"
172 build_path="frameworks/base/media/tests/MediaFrameworkTest"
173 package="com.android.mediaframeworktest"
174 class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
175 runner=".MediaFrameworkTestRunner"
176 coverage_target="framework" />
177
178<test name="mediarecordertest"
179 build_path="frameworks/base/media/tests/MediaFrameworkTest"
180 package="com.android.mediaframeworktest"
181 class="com.android.mediaframeworktest.functional.MediaRecorderTest"
182 runner=".MediaFrameworkTestRunner"
183 coverage_target="framework" />
184
185<test name="mediastresstest"
186 build_path="frameworks/base/media/tests/MediaFrameworkTest"
187 package="com.android.mediaframeworktest"
188 runner=".MediaRecorderStressTestRunner"
189 coverage_target="framework" />
190
191<test name="mediamemorystress"
192 build_path="frameworks/base/media/tests/MediaFrameworkTest"
193 package="com.android.mediaframeworktest"
194 runner=".MediaFrameworkPerfTestRunner"
195 coverage_target="framework" />
196
197<test name="mediaunit"
198 build_path="frameworks/base/media/tests/MediaFrameworkTest"
199 package="com.android.mediaframeworktest"
200 runner=".MediaFrameworkUnitTestRunner"
201 coverage_target="framework" />
202
Igor Murashkin9fa45c02013-06-03 11:33:03 -0700203<test name="mediaintegrationtest"
204 build_path="frameworks/base/media/tests/MediaFrameworkTest"
205 package="com.android.mediaframeworktest"
206 runner=".MediaFrameworkIntegrationTestRunner"
207 coverage_target="framework" />
208
Yu Shan Emily Laub152b932013-04-12 17:27:15 -0700209<test-native name="camera-client-native"
210 build_path="frameworks/av/camera/tests/"
211 description="Camera client native tests." />
212
213<test-native name="camera-hal2-native"
214 build_path="hardware/libhardware/tests/camera2"
215 description="Camera hal2 native tests." />
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700216<!-- end of media framework tests -->
217
218<!-- targeted framework tests -->
219<test name="account"
220 build_path="frameworks/base/core/tests/coretests"
221 package="com.android.frameworks.coretests"
222 class="android.accounts.AccountManagerServiceTest"
223 coverage_target="framework" />
224
225<test name="smoke"
226 build_path="frameworks/base/tests/SmokeTest"
227 package="com.android.smoketest.tests"
228 coverage_target="framework"
229 continuous="true" />
230
231<test name="launchperf"
232 build_path="development/apps/launchperf"
233 package="com.android.launchperf"
234 runner=".SimpleActivityLaunchPerformance"
235 coverage_target="framework" />
236
237<test name="contentprovideroperation"
238 build_path="frameworks/base/core/tests/coretests"
239 package="com.android.frameworks.coretests"
240 class="android.content.ContentProviderOperationTest"
241 coverage_target="framework" />
242
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800243<!-- selected app tests -->
Brett Chabota6f3b0a2010-04-01 18:38:31 -0700244<test name="apidemos"
245 build_path="development/samples/ApiDemos"
246 package="com.example.android.apis.tests" />
247
Guang Zhucf02f242010-06-21 16:55:00 -0700248<test name="calculator"
249 build_path="packages/apps/Calculator"
250 package="com.android.calculator2.tests"
Guang Zhub7d67e62010-12-06 14:09:11 -0800251 coverage_target="Calculator"
252 continuous="true" />
Guang Zhucf02f242010-06-21 16:55:00 -0700253
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800254<test name="calendar"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700255 build_path="packages/apps/Calendar"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800256 package="com.android.calendar.tests"
257 coverage_target="Calendar"
258 continuous="true" />
259
260<test name="calprov"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700261 build_path="packages/providers/CalendarProvider"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800262 package="com.android.providers.calendar.tests"
Swarna Kumar8aca5b82009-07-30 15:03:25 -0700263 coverage_target="CalendarProvider"
264 continuous="true" />
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800265
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800266<test name="camera-functional"
Jason Noguchib7076982012-02-16 18:41:56 -0800267 build_path="packages/apps/Camera"
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800268 package="com.google.android.camera.tests"
269 runner="com.android.camera.CameraTestRunner"
Jason Noguchib7076982012-02-16 18:41:56 -0800270 coverage_target="Camera"
Yu Shan Emily Lau9ba4eff2012-02-23 15:39:52 -0800271 description="Camera functional test"
Jason Noguchib7076982012-02-16 18:41:56 -0800272 continuous="true" />
273
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800274<test name="contactsprov"
Swarna Kumar3bf043f2010-03-22 15:38:22 -0700275 build_path="packages/providers/ContactsProvider"
Omari Stephensa3410462009-09-02 13:01:11 -0700276 package="com.android.providers.contacts.tests"
Omari Stephens17a9df52009-09-29 14:16:07 -0700277 coverage_target="ContactsProvider"
278 continuous="true" />
Omari Stephensa3410462009-09-02 13:01:11 -0700279
Nicolas Cataniaf8f452c2009-09-25 16:30:09 -0700280<test name="contacts"
281 build_path="packages/apps/Contacts"
282 package="com.android.contacts.tests"
283 runner="android.test.InstrumentationTestRunner"
284 coverage_target="Contacts"
Omari Stephens17a9df52009-09-29 14:16:07 -0700285 description="Tests for the Contacts app."
286 continuous="true" />
Nicolas Cataniaf8f452c2009-09-25 16:30:09 -0700287
Brett Chabotcf87c982009-11-12 11:47:16 -0800288<test name="contacts-launch"
289 build_path="packages/apps/Contacts"
290 package="com.android.contacts.tests"
291 runner="com.android.contacts.ContactsLaunchPerformance"
292 description="Launch performance for Contacts." />
293
Santos Cordonddd7ea42013-03-19 12:08:05 -0700294<test name="dialer"
295 build_path="packages/apps/Dialer"
296 package="com.android.dialer.tests"
297 runner="android.test.InstrumentationTestRunner"
298 coverage_target="Dialer"
299 description="Tests for the Dialer app."
300 continuous="true" />
301
Jeff Sharkey74767752011-10-12 13:45:25 -0700302<test name="downloadprovider"
303 build_path="packages/providers/DownloadProvider/tests"
304 package="com.android.providers.downloads.tests"
305 coverage_target="DownloadProvider"
306 continuous="true" />
307
Brett Chabot5de234e2009-06-15 13:04:58 -0700308<test name="downloadprovider-permission"
309 build_path="packages/providers/DownloadProvider/tests/permission"
310 package="com.android.providers.downloads.permission.tests"
Brett Chabot8ccda762009-06-17 10:56:52 -0700311 coverage_target="DownloadProvider"
312 continuous="true" />
Brett Chabot5de234e2009-06-15 13:04:58 -0700313
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800314<test name="email"
315 build_path="packages/apps/Email"
316 package="com.android.email.tests"
317 coverage_target="Email"
318 continuous="true" />
319
320<test name="emailsmall"
321 build_path="packages/apps/Email"
322 package="com.android.email.tests"
323 class="com.android.email.SmallTests"
324 coverage_target="Email" />
325
Marc Blankb1bc3d82011-02-17 12:47:10 -0800326<test name="exchange"
327 build_path="packages/apps/Exchange"
328 package="com.android.exchange.tests"
329 coverage_target="Exchange"
330 continuous="true" />
331
Brett Chabota3a8aeb2009-03-31 14:51:13 -0700332<test name="musicplayer"
333 build_path="packages/apps/Music"
334 package="com.android.music.tests"
335 runner=".MusicPlayerFunctionalTestRunner"
Yu Shan Emily Laud17eb0b2009-04-09 13:55:00 -0700336 coverage_target="Music" />
Brett Chabota3a8aeb2009-03-31 14:51:13 -0700337
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800338<test name="mms"
339 build_path="packages/apps/Mms"
340 package="com.android.mms.tests"
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800341 coverage_target="Mms" />
342
Nicolas Catania6f0366f2009-12-07 13:03:13 -0800343<!-- Unit tests for the phone application. -->
344<test name="phone-unit"
Santos Cordon70939ca2013-12-12 18:39:22 -0800345 build_path="packages/services/Telephony"
Nicolas Catania6f0366f2009-12-07 13:03:13 -0800346 package="com.android.phone.tests"
347 continuous="true"
348 coverage_target="Phone" />
349
Jonathan Basseri98108542015-07-09 11:32:51 -0700350<test name="carrierconfig-unit"
351 build_path="packages/apps/CarrierConfig"
352 package="com.android.carrierconfig.tests"
353 continuous="true"
354 coverage_target="Phone"
355 description="Tests for default carrier config app" />
356
Santos Cordon4e0ad8f2015-05-21 12:25:05 -0700357<test name="telecom-unit"
Santos Cordon70939ca2013-12-12 18:39:22 -0800358 build_path="packages/services/Telecomm"
Tyler Gunn2e4aa792014-09-12 09:19:08 -0700359 package="com.android.server.telecom.tests"
Santos Cordon70939ca2013-12-12 18:39:22 -0800360 continuous="true"
361 coverage_target="Phone" />
362
Bryan Mawhinneyd75939d2010-02-05 17:17:13 +0000363<test name="quicksearchbox"
364 build_path="packages/apps/QuickSearchBox"
365 package="com.android.quicksearchbox.tests"
Brett Chabot79a612b2010-04-05 16:37:59 -0700366 coverage_target="QuickSearchBox" />
Bryan Mawhinneyd75939d2010-02-05 17:17:13 +0000367
Brett Chaboteec50422011-08-17 15:40:03 -0700368<test name="systemui"
369 build_path="frameworks/base/packages/SystemUI"
370 package="com.android.systemui.tests"
371 coverage_target="SystemUI"
372 continuous="true"
373 description="SystemUI tests" />
374
Jeff Sharkey34c8fae2013-09-06 13:56:45 -0700375<test name="documentsui"
376 build_path="frameworks/base/packages/DocumentsUI/tests"
377 package="com.android.documentsui.tests"
378 coverage_target="DocumentsUI"
379 continuous="true"
380 description="DocumentsUI tests" />
381
Niko Catania24728662009-04-02 23:33:53 -0700382<!-- native tests -->
Nicolas Catania18d7a4e2009-06-15 09:28:06 -0700383
384<!-- Bionic C++ -->
Niko Catania24728662009-04-02 23:33:53 -0700385<test-native name="libstdcpp"
386 build_path="system/extras/tests/bionic/libstdc++"
Niko Catania55ebbc42009-04-03 14:13:05 -0700387 description="Bionic libstdc++."
Brett Chabot764d3fa2009-06-25 17:57:31 -0700388 extra_build_args="BIONIC_TESTS=1" />
Niko Catania24728662009-04-02 23:33:53 -0700389
Wei-Ta Chenb515fb12009-05-28 13:42:14 -0700390<test-native name="libskia"
391 build_path="external/skia/tests"
392 description="Skia tests." />
393
Nicolas Catania13a2fcf2010-02-10 22:40:39 -0800394<!-- Google Test -->
Nicolas Cataniaff096c12009-05-01 11:55:36 -0700395<test-native name="gtest"
396 build_path="external/gtest"
397 description="Google test."
Brett Chabot764d3fa2009-06-25 17:57:31 -0700398 extra_build_args="GTEST_TESTS=1" />
Nicolas Catania13a2fcf2010-02-10 22:40:39 -0800399
Lorenzo Colitti791bef52014-02-22 01:56:46 +0900400<!-- clatd -->
401<test-native name="clatd"
402 build_path="external/android-clat"
403 description="clatd unit tests." />
404
Erik Kline0e42c832014-12-03 16:20:34 +0900405<!-- dhcpcd -->
406<test-native name="dhcpcd"
407 build_path="external/dhcpcd"
408 description="dhcpcd unit tests." />
409
Nicolas Catania8595c942010-04-09 10:26:13 -0700410<!-- Libjingle -->
411<test-native name="libjingle"
412 build_path="vendor/google/libraries/libjingle"
413 description="Libjingle."
Brett Chabot8dc9eb82010-04-15 15:43:04 -0700414 full_make="true"
Nicolas Catania8595c942010-04-09 10:26:13 -0700415 extra_build_args="LIBJINGLE_TESTS=1" />
416
Brett Chabot764d3fa2009-06-25 17:57:31 -0700417<!-- host java tests -->
Brett Chabotc5ad47c2010-02-17 11:22:19 -0800418<test-host name="frameworks-core-host"
419 build_path="frameworks/base/core/tests/hosttests"
420 class="android.content.pm.PackageManagerHostTests"
421 jar_name="FrameworkCoreHostTests.jar" />
422
The Android Open Source Project52d4c302009-03-03 19:29:09 -0800423</test-definitions>