summaryrefslogtreecommitdiffstats
path: root/testrunner/test_defs.xml
blob: 4a1868ad4493b505b7fbf8f5a3b39fb4f54963f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!--
This file contains standard test definitions for the Android platform

The following test types are supported:
 - On device Java instrumentation tests are defined by <test> tags.
 - native ones (C/C++) are defined by <test-native> tags.
 - host java tests are defined by <test-host> tags.

See test_defs.xsd for more information.
-->

<test-definitions xmlns="http://schemas.android.com/testrunner/test_defs/1.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://schemas.android.com/testrunner/test_defs/1.0 test_defs.xsd">

<!-- frameworks tests -->
<test name="frameworks-core"
    build_path="frameworks/base/core/tests/coretests"
    package="com.android.frameworks.coretests"
    coverage_target="framework"
    continuous="true" />

<!-- will not run in the continuous test as it needs both Wifi & 3G -->
<test name="frameworks-connectivity"
    build_path="frameworks/base/core/tests/ConnectivityManagerTest/"
    package="com.android.connectivitymanagertest"
    runner=".ConnectivityManagerUnitTestRunner"
    coverage_target="framework" />

<test name="frameworks-graphics"
    build_path="frameworks/base/graphics/tests/graphicstests"
    package="com.android.frameworks.graphicstests"
    coverage_target="framework"
    continuous="true" />

<test name="frameworks-location"
    build_path="frameworks/base/location/tests/locationtests"
    package="com.android.frameworks.locationtests"
    coverage_target="framework"
    continuous="true" />

<test name="frameworks-sax"
    build_path="frameworks/base/sax/tests/saxtests"
    package="com.android.frameworks.saxtests"
    coverage_target="framework"
    continuous="true" />

<test name="frameworks-services"
    build_path="frameworks/base/services/tests/servicestests"
    package="com.android.frameworks.servicestests"
    runner="android.support.test.runner.AndroidJUnitRunner"
    coverage_target="framework"
    continuous="true" />

<test name="frameworks-telephony"
    build_path="frameworks/opt/telephony/tests/telephonytests"
    package="com.android.frameworks.telephonytests"
    runner="android.support.test.runner.AndroidJUnitRunner"
    coverage_target="framework"
    continuous="true" />

<test name="frameworks-util"
    build_path="frameworks/base/core/tests/utiltests"
    package="com.android.frameworks.utiltests"
    runner="android.support.test.runner.AndroidJUnitRunner"
    continuous="true" />

<test name="frameworks-wifi"
    build_path="frameworks/opt/net/wifi/tests/wifitests"
    package="com.android.server.wifi.test"
    runner="android.support.test.runner.AndroidJUnitRunner"
    coverage_target="framework"
    continuous="true" />

<test name="frameworks-testrunner"
    build_path="frameworks/base/test-runner"
    package="com.android.frameworks.testrunner.tests"
    coverage_target="android.test.runner"
    continuous="true" />

<test name="frameworks-vpn"
    build_path="frameworks/base/vpn/tests/vpntests"
    package="com.android.frameworks.vpntests"
    coverage_target="framework"
    continuous="true" />

<test name="frameworks-support"
    build_path="frameworks/support/tests"
    package="android.support.tests"
    continuous="true" />

<test name="core"
    build_path="frameworks/base/tests/CoreTests"
    package="android.core"
    coverage_target="framework"
    continuous="true" />

<test name="keystore-unit"
    build_path="frameworks/base/keystore/tests"
    package="android.security.tests"
    coverage_target="framework"
    continuous="true" />

<test name="imf"
    build_path="frameworks/base/tests/ImfTest"
    package="com.android.imftest.tests"
    coverage_target="framework"
    continuous="true" />

<test name="framework-permission"
    build_path="frameworks/base/tests/permission"
    package="com.android.framework.permission.tests"
    runner="android.test.InstrumentationTestRunner"
    coverage_target="framework"
    continuous="true" />

<test name="android-common"
    build_path="frameworks/base/common/tests"
    package="com.android.common.tests"
    coverage_target="framework"
    continuous="true" />

<test name="ex-variablespeed"
    build_path="frameworks/ex/variablespeed/tests"
    package="com.android.ex.variablespeed.tests"
    coverage_target="framework"
    continuous="true"
    description="Framework variable speed audio tests" />

<test-native name="libandroidfw"
    build_path="frameworks/base/libs/androidfw/tests"
    description="Framework libandroidfw unit tests." />

<test-native name="libinput"
    build_path="frameworks/native/libs/input/tests"
    description="Framework libinput unit tests." />

<test-native name="libinputservice"
    build_path="frameworks/base/services/input/tests"
    description="Framework libinputservice unit tests." />

<test name="volley"
    build_path="frameworks/support/volley/tests"
    package="com.android.volley.tests"
    continuous="true" />

<!--  end of framework tests -->

<!-- media framework tests -->
<test name="media"
    build_path="frameworks/base/media/tests/MediaFrameworkTest"
    package="com.android.mediaframeworktest"
    runner=".MediaFrameworkTestRunner"
    coverage_target="framework"
    continuous="true" />

<test name="mediaapitest"
    build_path="frameworks/base/media/tests/MediaFrameworkTest"
    package="com.android.mediaframeworktest"
    class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
    runner=".MediaFrameworkTestRunner"
    coverage_target="framework" />

<test name="mediarecordertest"
    build_path="frameworks/base/media/tests/MediaFrameworkTest"
    package="com.android.mediaframeworktest"
    class="com.android.mediaframeworktest.functional.MediaRecorderTest"
    runner=".MediaFrameworkTestRunner"
    coverage_target="framework" />

<test name="mediastresstest"
    build_path="frameworks/base/media/tests/MediaFrameworkTest"
    package="com.android.mediaframeworktest"
    runner=".MediaRecorderStressTestRunner"
    coverage_target="framework" />

<test name="mediamemorystress"
    build_path="frameworks/base/media/tests/MediaFrameworkTest"
    package="com.android.mediaframeworktest"
    runner=".MediaFrameworkPerfTestRunner"
    coverage_target="framework" />

<test name="mediaunit"
    build_path="frameworks/base/media/tests/MediaFrameworkTest"
    package="com.android.mediaframeworktest"
    runner=".MediaFrameworkUnitTestRunner"
    coverage_target="framework" />

<test name="mediaintegrationtest"
    build_path="frameworks/base/media/tests/MediaFrameworkTest"
    package="com.android.mediaframeworktest"
    runner=".MediaFrameworkIntegrationTestRunner"
    coverage_target="framework" />

<test-native name="camera-client-native"
    build_path="frameworks/av/camera/tests/"
    description="Camera client native tests." />

<test-native name="camera-hal2-native"
    build_path="hardware/libhardware/tests/camera2"
    description="Camera hal2 native tests." />
<!--  end of media framework tests -->

<!--  targeted framework tests -->
<test name="account"
    build_path="frameworks/base/core/tests/coretests"
    package="com.android.frameworks.coretests"
    class="android.accounts.AccountManagerServiceTest"
    coverage_target="framework" />

<test name="smoke"
    build_path="frameworks/base/tests/SmokeTest"
    package="com.android.smoketest.tests"
    coverage_target="framework"
    continuous="true" />

<test name="launchperf"
    build_path="development/apps/launchperf"
    package="com.android.launchperf"
    runner=".SimpleActivityLaunchPerformance"
    coverage_target="framework" />

<test name="contentprovideroperation"
    build_path="frameworks/base/core/tests/coretests"
    package="com.android.frameworks.coretests"
    class="android.content.ContentProviderOperationTest"
    coverage_target="framework" />

<!--  selected app tests -->
<test name="apidemos"
    build_path="development/samples/ApiDemos"
    package="com.example.android.apis.tests" />

<test name="calculator"
    build_path="packages/apps/Calculator"
    package="com.android.calculator2.tests"
    coverage_target="Calculator"
    continuous="true" />

<test name="calendar"
    build_path="packages/apps/Calendar"
    package="com.android.calendar.tests"
    coverage_target="Calendar"
    continuous="true" />

<test name="calprov"
    build_path="packages/providers/CalendarProvider"
    package="com.android.providers.calendar.tests"
    coverage_target="CalendarProvider"
    continuous="true" />

<test name="camera-functional"
    build_path="packages/apps/Camera"
    package="com.google.android.camera.tests"
    runner="com.android.camera.CameraTestRunner"
    coverage_target="Camera"
    description="Camera functional test"
    continuous="true" />

<test name="contactsprov"
    build_path="packages/providers/ContactsProvider"
    package="com.android.providers.contacts.tests"
    coverage_target="ContactsProvider"
    continuous="true" />

<test name="contacts"
    build_path="packages/apps/Contacts"
    package="com.android.contacts.tests"
    runner="android.test.InstrumentationTestRunner"
    coverage_target="Contacts"
    description="Tests for the Contacts app."
    continuous="true" />

<test name="contacts-launch"
    build_path="packages/apps/Contacts"
    package="com.android.contacts.tests"
    runner="com.android.contacts.ContactsLaunchPerformance"
    description="Launch performance for Contacts." />

<test name="dialer"
    build_path="packages/apps/Dialer"
    package="com.android.dialer.tests"
    runner="android.test.InstrumentationTestRunner"
    coverage_target="Dialer"
    description="Tests for the Dialer app."
    continuous="true" />

<test name="downloadprovider"
    build_path="packages/providers/DownloadProvider/tests"
    package="com.android.providers.downloads.tests"
    coverage_target="DownloadProvider"
    continuous="true" />

<test name="downloadprovider-permission"
    build_path="packages/providers/DownloadProvider/tests/permission"
    package="com.android.providers.downloads.permission.tests"
    coverage_target="DownloadProvider"
    continuous="true" />

<test name="email"
    build_path="packages/apps/Email"
    package="com.android.email.tests"
    coverage_target="Email"
    continuous="true" />

<test name="emailsmall"
    build_path="packages/apps/Email"
    package="com.android.email.tests"
    class="com.android.email.SmallTests"
    coverage_target="Email" />

<test name="exchange"
    build_path="packages/apps/Exchange"
    package="com.android.exchange.tests"
    coverage_target="Exchange"
    continuous="true" />

<test name="musicplayer"
    build_path="packages/apps/Music"
    package="com.android.music.tests"
    runner=".MusicPlayerFunctionalTestRunner"
    coverage_target="Music" />

<test name="mms"
    build_path="packages/apps/Mms"
    package="com.android.mms.tests"
    coverage_target="Mms" />

<!-- Unit tests for the phone application. -->
<test name="phone-unit"
    build_path="packages/services/Telephony"
    package="com.android.phone.tests"
    continuous="true"
    coverage_target="Phone" />

<test name="carrierconfig-unit"
    build_path="packages/apps/CarrierConfig"
    package="com.android.carrierconfig.tests"
    continuous="true"
    coverage_target="Phone"
    description="Tests for default carrier config app" />

<test name="telecom-unit"
    build_path="packages/services/Telecomm"
    package="com.android.server.telecom.tests"
    continuous="true"
    coverage_target="Phone" />

<test name="quicksearchbox"
    build_path="packages/apps/QuickSearchBox"
    package="com.android.quicksearchbox.tests"
    coverage_target="QuickSearchBox" />

<test name="systemui"
    build_path="frameworks/base/packages/SystemUI"
    package="com.android.systemui.tests"
    coverage_target="SystemUI"
    continuous="true"
    description="SystemUI tests" />

<test name="documentsui"
    build_path="frameworks/base/packages/DocumentsUI/tests"
    package="com.android.documentsui.tests"
    coverage_target="DocumentsUI"
    continuous="true"
    description="DocumentsUI tests" />

<!--  native tests  -->

<!-- Bionic C++ -->
<test-native name="libstdcpp"
    build_path="system/extras/tests/bionic/libstdc++"
    description="Bionic libstdc++."
    extra_build_args="BIONIC_TESTS=1" />

<test-native name="libskia"
    build_path="external/skia/tests"
    description="Skia tests." />

<!-- Google Test -->
<test-native name="gtest"
    build_path="external/gtest"
    description="Google test."
    extra_build_args="GTEST_TESTS=1" />

<!-- clatd -->
<test-native name="clatd"
    build_path="external/android-clat"
    description="clatd unit tests." />

<!-- Libjingle -->
<test-native name="libjingle"
    build_path="vendor/google/libraries/libjingle"
    description="Libjingle."
    full_make="true"
    extra_build_args="LIBJINGLE_TESTS=1" />

<!-- host java tests -->
<test-host name="frameworks-core-host"
    build_path="frameworks/base/core/tests/hosttests"
    class="android.content.pm.PackageManagerHostTests"
    jar_name="FrameworkCoreHostTests.jar" />

</test-definitions>