• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     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
17<!--
18This file contains standard test definitions for the Android platform
19
20The 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.
24
25See test_defs.xsd for more information.
26-->
27
28<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">
31
32<!-- 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
39<!-- 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
46<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
52<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
58<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
64<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
70<test name="frameworks-telephony"
71    build_path="frameworks/opt/telephony/tests/telephonytests"
72    package="com.android.frameworks.telephonytests"
73    coverage_target="framework"
74    continuous="true" />
75
76<test name="frameworks-testrunner"
77    build_path="frameworks/base/test-runner"
78    package="com.android.frameworks.testrunner.tests"
79    coverage_target="android.test.runner"
80    continuous="true" />
81
82<test name="frameworks-vpn"
83    build_path="frameworks/base/vpn/tests/vpntests"
84    package="com.android.frameworks.vpntests"
85    coverage_target="framework"
86    continuous="true" />
87
88<test name="frameworks-support"
89    build_path="frameworks/support/tests"
90    package="android.support.tests"
91    continuous="true" />
92
93<test name="core"
94    build_path="frameworks/base/tests/CoreTests"
95    package="android.core"
96    coverage_target="framework"
97    continuous="true" />
98
99<test name="keystore-unit"
100    build_path="frameworks/base/keystore/tests"
101    package="android.security.tests"
102    coverage_target="framework"
103    continuous="true" />
104
105<test name="imf"
106    build_path="frameworks/base/tests/ImfTest"
107    package="com.android.imftest.tests"
108    coverage_target="framework"
109    continuous="true" />
110
111<test name="framework-permission"
112    build_path="frameworks/base/tests/permission"
113    package="com.android.framework.permission.tests"
114    runner="android.test.InstrumentationTestRunner"
115    coverage_target="framework"
116    continuous="true" />
117
118<test name="android-common"
119    build_path="frameworks/base/common/tests"
120    package="com.android.common.tests"
121    coverage_target="framework"
122    continuous="true" />
123
124<test name="ex-variablespeed"
125    build_path="frameworks/ex/variablespeed/tests"
126    package="com.android.ex.variablespeed.tests"
127    coverage_target="framework"
128    continuous="true"
129    description="Framework variable speed audio tests" />
130
131<test-native name="libandroidfw"
132    build_path="frameworks/base/libs/androidfw/tests"
133    description="Framework libandroidfw unit tests." />
134
135<test-native name="libutils"
136    build_path="frameworks/native/libs/utils/tests"
137    description="Framework libutils unit tests." />
138
139<test-native name="libinput"
140    build_path="frameworks/base/services/input/tests"
141    description="Framework libinput unit tests." />
142
143<test name="volley"
144    build_path="frameworks/support/volley/tests"
145    package="com.android.volley.tests"
146    continuous="true" />
147
148<!--  end of framework tests -->
149
150<!-- media framework tests -->
151<test name="media"
152    build_path="frameworks/base/media/tests/MediaFrameworkTest"
153    package="com.android.mediaframeworktest"
154    runner=".MediaFrameworkTestRunner"
155    coverage_target="framework"
156    continuous="true" />
157
158<test name="mediaapitest"
159    build_path="frameworks/base/media/tests/MediaFrameworkTest"
160    package="com.android.mediaframeworktest"
161    class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
162    runner=".MediaFrameworkTestRunner"
163    coverage_target="framework" />
164
165<test name="mediarecordertest"
166    build_path="frameworks/base/media/tests/MediaFrameworkTest"
167    package="com.android.mediaframeworktest"
168    class="com.android.mediaframeworktest.functional.MediaRecorderTest"
169    runner=".MediaFrameworkTestRunner"
170    coverage_target="framework" />
171
172<test name="mediastresstest"
173    build_path="frameworks/base/media/tests/MediaFrameworkTest"
174    package="com.android.mediaframeworktest"
175    runner=".MediaRecorderStressTestRunner"
176    coverage_target="framework" />
177
178<test name="mediamemorystress"
179    build_path="frameworks/base/media/tests/MediaFrameworkTest"
180    package="com.android.mediaframeworktest"
181    runner=".MediaFrameworkPerfTestRunner"
182    coverage_target="framework" />
183
184<test name="mediaunit"
185    build_path="frameworks/base/media/tests/MediaFrameworkTest"
186    package="com.android.mediaframeworktest"
187    runner=".MediaFrameworkUnitTestRunner"
188    coverage_target="framework" />
189
190<!--  end of media framework tests -->
191
192<!--  targeted framework tests -->
193<test name="account"
194    build_path="frameworks/base/core/tests/coretests"
195    package="com.android.frameworks.coretests"
196    class="android.accounts.AccountManagerServiceTest"
197    coverage_target="framework" />
198
199<test name="smoke"
200    build_path="frameworks/base/tests/SmokeTest"
201    package="com.android.smoketest.tests"
202    coverage_target="framework"
203    continuous="true" />
204
205<test name="launchperf"
206    build_path="development/apps/launchperf"
207    package="com.android.launchperf"
208    runner=".SimpleActivityLaunchPerformance"
209    coverage_target="framework" />
210
211<test name="contentprovideroperation"
212    build_path="frameworks/base/core/tests/coretests"
213    package="com.android.frameworks.coretests"
214    class="android.content.ContentProviderOperationTest"
215    coverage_target="framework" />
216
217<!--  cts tests -->
218
219<test name="cts-permission"
220    build_path="cts/tests/tests/permission"
221    package="com.android.cts.permission"
222    runner="android.test.InstrumentationTestRunner"
223    coverage_target="framework"
224    continuous="true"
225    suite="cts" />
226
227<test name="cts-permission2"
228    build_path="cts/tests/tests/permission2"
229    package="com.android.cts.permission2"
230    runner="android.test.InstrumentationTestRunner"
231    coverage_target="framework"
232    continuous="true"
233    suite="true" />
234
235<test name="cts-process"
236    build_path="cts/tests/tests/process"
237    package="com.android.cts.process"
238    coverage_target="framework"
239    suite="cts" />
240
241<test name="cts-security"
242    build_path="cts/tests/tests/security"
243    package="com.android.cts.security"
244    runner="android.test.InstrumentationCtsTestRunner"
245    suite="cts" />
246
247<test name="cts-accounts"
248    build_path="cts/tests/tests/accounts"
249    package="android.accounts.cts"
250    runner="android.test.InstrumentationTestRunner"
251    coverage_target="framework"
252    suite="cts" />
253
254<test name="cts-api-signature"
255    build_path="cts/tests/SignatureTest"
256    package="android.tests.sigtest"
257    runner=".InstrumentationRunner"
258    suite="cts" />
259
260<test name="cts-api-signature-func"
261    build_path="cts/tests/SignatureTest"
262    package="android.tests.sigtest.tests"
263    suite="cts" />
264
265<test name="cts-app"
266    build_path="cts/tests/tests/app"
267    package="com.android.cts.app"
268    runner="android.test.InstrumentationCtsTestRunner"
269    coverage_target="framework"
270    suite="cts" />
271
272<test name="cts-content"
273    build_path="cts/tests/tests/content"
274    package="com.android.cts.content"
275    runner="android.test.InstrumentationTestRunner"
276    coverage_target="framework"
277    suite="cts" />
278
279<test name="cts-database"
280    build_path="cts/tests/tests/database"
281    package="com.android.cts.database"
282    runner="android.test.InstrumentationCtsTestRunner"
283    coverage_target="framework"
284    suite="cts" />
285
286<test name="cts-dreams"
287    build_path="cts/tests/tests/dreams"
288    package="com.android.cts.dreams"
289    runner="android.test.InstrumentationCtsTestRunner"
290    coverage_target="framework"
291    suite="cts" />
292
293<test name="cts-gesture"
294    build_path="cts/tests/tests/gesture"
295    package="com.android.cts.gesture"
296    runner="android.test.InstrumentationTestRunner"
297    coverage_target="framework"
298    suite="cts" />
299
300<test name="cts-graphics"
301    build_path="cts/tests/tests/graphics"
302    package="com.android.cts.graphics"
303    runner="android.test.InstrumentationCtsTestRunner"
304    coverage_target="framework"
305    suite="cts" />
306
307<test name="cts-hardware"
308    build_path="cts/tests/tests/hardware"
309    package="com.android.cts.hardware"
310    runner="android.test.InstrumentationCtsTestRunner"
311    coverage_target="framework"
312    continuous="true"
313    suite="cts" />
314
315<test name="cts-location"
316    build_path="cts/tests/tests/location"
317    package="com.android.cts.location"
318    runner="android.test.InstrumentationCtsTestRunner"
319    coverage_target="framework"
320    suite="cts" />
321
322<test name="cts-media"
323    build_path="cts/tests/tests/media"
324    package="com.android.cts.media"
325    runner="android.test.InstrumentationCtsTestRunner"
326    coverage_target="framework"
327    suite="cts" />
328
329<test name="cts-net"
330    build_path="cts/tests/tests/net"
331    package="com.android.cts.net"
332    runner="android.test.InstrumentationTestRunner"
333    coverage_target="framework"
334    suite="cts" />
335
336<test name="cts-os"
337    build_path="cts/tests/tests/os"
338    package="com.android.cts.os"
339    runner="android.test.InstrumentationCtsTestRunner"
340    coverage_target="framework"
341    suite="cts" />
342
343<test name="cts-provider"
344    build_path="cts/tests/tests/provider"
345    package="com.android.cts.provider"
346    runner="android.test.InstrumentationCtsTestRunner"
347    coverage_target="framework"
348    suite="cts" />
349
350<test name="cts-text"
351    build_path="cts/tests/tests/text"
352    package="com.android.cts.text"
353    runner="android.test.InstrumentationCtsTestRunner"
354    coverage_target="framework"
355    suite="cts" />
356
357<test name="cts-telephony"
358    build_path="cts/tests/tests/telephony"
359    package="com.android.cts.telephony"
360    runner="android.test.InstrumentationCtsTestRunner"
361    coverage_target="framework"
362    suite="cts" />
363
364<test name="cts-util"
365    build_path="cts/tests/tests/util"
366    package="com.android.cts.util"
367    runner="android.test.InstrumentationCtsTestRunner"
368    coverage_target="framework"
369    suite="cts" />
370
371<test name="cts-view"
372    build_path="cts/tests/tests/view"
373    package="com.android.cts.view"
374    runner="android.test.InstrumentationCtsTestRunner"
375    coverage_target="framework"
376    suite="cts" />
377
378<test name="cts-webkit"
379    build_path="cts/tests/tests/webkit"
380    package="com.android.cts.webkit"
381    runner="android.test.InstrumentationCtsTestRunner"
382    coverage_target="framework"
383    suite="cts" />
384
385<test name="cts-widget"
386    build_path="cts/tests/tests/widget"
387    package="com.android.cts.widget"
388    runner="android.test.InstrumentationCtsTestRunner"
389    coverage_target="framework"
390    suite="cts" />
391
392<!--  end of cts tests -->
393
394<!--  selected app tests -->
395<test name="apidemos"
396    build_path="development/samples/ApiDemos"
397    package="com.example.android.apis.tests" />
398
399<test name="applicationsprov"
400    build_path="packages/providers/ApplicationsProvider"
401    package="com.android.providers.applications.tests"
402    coverage_target="ApplicationsProvider"
403    continuous="true" />
404
405<test name="browser"
406    build_path="packages/apps/Browser"
407    package="com.android.browser.tests"
408    coverage_target="Browser"
409    continuous="true" />
410
411<test name="calculator"
412    build_path="packages/apps/Calculator"
413    package="com.android.calculator2.tests"
414    coverage_target="Calculator"
415    continuous="true" />
416
417<test name="calendar"
418    build_path="packages/apps/Calendar"
419    package="com.android.calendar.tests"
420    coverage_target="Calendar"
421    continuous="true" />
422
423<test name="calprov"
424    build_path="packages/providers/CalendarProvider"
425    package="com.android.providers.calendar.tests"
426    coverage_target="CalendarProvider"
427    continuous="true" />
428
429<test name="camera-functional"
430    build_path="packages/apps/Camera"
431    package="com.google.android.camera.tests"
432    runner="com.android.camera.CameraTestRunner"
433    coverage_target="Camera"
434    description="Camera functional test"
435    continuous="true" />
436
437<test name="contactsprov"
438    build_path="packages/providers/ContactsProvider"
439    package="com.android.providers.contacts.tests"
440    coverage_target="ContactsProvider"
441    continuous="true" />
442
443<test name="contacts"
444    build_path="packages/apps/Contacts"
445    package="com.android.contacts.tests"
446    runner="android.test.InstrumentationTestRunner"
447    coverage_target="Contacts"
448    description="Tests for the Contacts app."
449    continuous="true" />
450
451<test name="contacts-launch"
452    build_path="packages/apps/Contacts"
453    package="com.android.contacts.tests"
454    runner="com.android.contacts.ContactsLaunchPerformance"
455    description="Launch performance for Contacts." />
456
457<test name="dialer"
458    build_path="packages/apps/Dialer"
459    package="com.android.dialer.tests"
460    runner="android.test.InstrumentationTestRunner"
461    coverage_target="Dialer"
462    description="Tests for the Dialer app."
463    continuous="true" />
464
465<test name="downloadprovider"
466    build_path="packages/providers/DownloadProvider/tests"
467    package="com.android.providers.downloads.tests"
468    coverage_target="DownloadProvider"
469    continuous="true" />
470
471<test name="downloadprovider-permission"
472    build_path="packages/providers/DownloadProvider/tests/permission"
473    package="com.android.providers.downloads.permission.tests"
474    coverage_target="DownloadProvider"
475    continuous="true" />
476
477<test name="email"
478    build_path="packages/apps/Email"
479    package="com.android.email.tests"
480    coverage_target="Email"
481    continuous="true" />
482
483<test name="emailsmall"
484    build_path="packages/apps/Email"
485    package="com.android.email.tests"
486    class="com.android.email.SmallTests"
487    coverage_target="Email" />
488
489<test name="exchange"
490    build_path="packages/apps/Exchange"
491    package="com.android.exchange.tests"
492    coverage_target="Exchange"
493    continuous="true" />
494
495<test name="musicplayer"
496    build_path="packages/apps/Music"
497    package="com.android.music.tests"
498    runner=".MusicPlayerFunctionalTestRunner"
499    coverage_target="Music" />
500
501<test name="mms"
502    build_path="packages/apps/Mms"
503    package="com.android.mms.tests"
504    coverage_target="Mms" />
505
506<!-- Unit tests for the phone application. -->
507<test name="phone-unit"
508    build_path="packages/apps/Phone"
509    package="com.android.phone.tests"
510    continuous="true"
511    coverage_target="Phone" />
512
513<test name="quicksearchbox"
514    build_path="packages/apps/QuickSearchBox"
515    package="com.android.quicksearchbox.tests"
516    coverage_target="QuickSearchBox" />
517
518<test name="systemui"
519    build_path="frameworks/base/packages/SystemUI"
520    package="com.android.systemui.tests"
521    coverage_target="SystemUI"
522    continuous="true"
523    description="SystemUI tests" />
524
525<!--  native tests  -->
526
527<!-- Bionic C++ -->
528<test-native name="libstdcpp"
529    build_path="system/extras/tests/bionic/libstdc++"
530    description="Bionic libstdc++."
531    extra_build_args="BIONIC_TESTS=1" />
532
533<test-native name="libskia"
534    build_path="external/skia/tests"
535    description="Skia tests." />
536
537<!-- Google Test -->
538<test-native name="gtest"
539    build_path="external/gtest"
540    description="Google test."
541    extra_build_args="GTEST_TESTS=1" />
542
543<!-- Libjingle -->
544<test-native name="libjingle"
545    build_path="vendor/google/libraries/libjingle"
546    description="Libjingle."
547    full_make="true"
548    extra_build_args="LIBJINGLE_TESTS=1" />
549
550<!-- host java tests -->
551<test-host name="cts-appsecurity"
552    build_path="cts/hostsidetests/appsecurity"
553    class="com.android.cts.appsecurity.AppSecurityTests"
554    jar_name="CtsAppSecurityTests.jar"
555    suite="cts" />
556
557<test-host name="frameworks-core-host"
558    build_path="frameworks/base/core/tests/hosttests"
559    class="android.content.pm.PackageManagerHostTests"
560    jar_name="FrameworkCoreHostTests.jar" />
561
562</test-definitions>
563