OSDN Git Service

merge from donut
[android-x86/development.git] / testrunner / test_defs.xml
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 <!--
18 This file contains standard test definitions for the Android platform
19
20 The 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
25 See 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 <!-- system-wide tests -->
33 <test name="framework"
34     build_path="frameworks/base/tests/FrameworkTest"
35     package="com.android.frameworktest.tests"
36     class="com.android.frameworktest.AllTests"
37     coverage_target="framework"
38     continuous="true" />
39
40 <test name="android"
41     build_path="frameworks/base/tests/AndroidTests"
42     package="com.android.unit_tests"
43     class="com.android.unit_tests.AndroidTests"
44     coverage_target="framework"
45     continuous="true" />
46
47 <test name="smoke"
48     build_path="frameworks/base/tests/SmokeTest"
49     package="com.android.smoketest.tests"
50     coverage_target="framework"
51     continuous="true" />
52
53 <test name="core"
54     build_path="frameworks/base/tests/CoreTests"
55     package="android.core"
56     class="android.core.CoreTests"
57     coverage_target="framework"
58     continuous="true" />
59
60 <test name="libcore"
61     build_path="frameworks/base/tests/CoreTests"
62     package="android.core"
63     class="android.core.JavaTests"
64     coverage_target="framework" />
65
66 <test name="apidemos"
67     build_path="development/samples/ApiDemos"
68     package="com.example.android.apis.tests"
69     coverage_target="ApiDemos"
70     continuous="true" />
71
72 <test name="launchperf"
73     build_path="development/apps/launchperf"
74     package="com.android.launchperf"
75     runner=".SimpleActivityLaunchPerformance"
76     coverage_target="framework" />
77
78 <!--  targeted framework tests -->
79 <test name="heap"
80     build_path="frameworks/base/tests/AndroidTests"
81     package="com.android.unit_tests"
82     class="com.android.unit_tests.HeapTest"
83     coverage_target="framework" />
84
85 <test name="activity"
86     build_path="frameworks/base/tests/AndroidTests"
87     package="com.android.unit_tests"
88     class="com.android.unit_tests.activity.ActivityTests"
89     coverage_target="framework" />
90
91 <test name="vpntests"
92     build_path="frameworks/base/tests/AndroidTests"
93     package="com.android.unit_tests"
94     class="com.android.unit_tests.VpnTest"
95     coverage_target="framework"
96     continuous="true" />
97
98 <!--  obsolete?
99 <test name="deadlock"
100     build_path="frameworks/base/tests/Deadlock"
101     package="com.android.deadlock.tests"
102     coverage_target="framework" />
103  -->
104
105
106 <test name="tablemerger"
107     build_path="frameworks/base/tests/FrameworkTest"
108     package="com.android.frameworktest.tests"
109     class="android.content.AbstractTableMergerTest"
110     coverage_target="framework" />
111
112 <test name="imf"
113     build_path="frameworks/base/tests/ImfTest"
114     package="com.android.imftest.tests"
115     coverage_target="framework"
116     continuous="true" />
117
118 <test name="framework-permission"
119     build_path="frameworks/base/tests/permission"
120     package="com.android.framework.permission.tests"
121     runner="android.test.InstrumentationTestRunner"
122     coverage_target="framework"
123     continuous="true" />
124
125 <!--  cts tests -->
126
127 <test name="cts-permission"
128     build_path="cts/tests"
129     package="com.android.cts.permission"
130     runner="android.test.InstrumentationTestRunner"
131     coverage_target="framework"
132     continuous="true"
133     cts="true" />
134
135 <test name="cts-permission2"
136     build_path="cts/tests/tests/permission2"
137     package="com.android.cts.permission2"
138     runner="android.test.InstrumentationTestRunner"
139     coverage_target="framework"
140     continuous="true"
141     cts="true" />
142
143 <test name="cts-process"
144     build_path="cts/tests"
145     package="com.android.cts.process"
146     coverage_target="framework"
147     cts="true" />
148
149 <test name="cts-api-signature"
150     build_path="cts/tests"
151     package="android.tests.sigtest"
152     runner=".InstrumentationRunner"
153     cts="true" />
154
155 <test name="cts-api-signature-func"
156     build_path="cts/tests"
157     package="android.tests.sigtest.tests"
158     cts="true" />
159
160 <test name="cts-apidemos"
161     build_path="cts/tests"
162     package="android.apidemos.cts"
163     coverage_target="ApiDemos"
164     cts="true" />
165
166 <test name="cts-app"
167     build_path="cts/tests"
168     package="com.android.cts.app"
169     runner="android.test.InstrumentationCtsTestRunner"
170     coverage_target="framework"
171     cts="true" />
172
173 <test name="cts-content"
174     build_path="cts/tests"
175     package="com.android.cts.content"
176     runner="android.test.InstrumentationCtsTestRunner"
177     coverage_target="framework"
178     cts="true" />
179
180 <test name="cts-database"
181     build_path="cts/tests"
182     package="com.android.cts.database"
183     runner="android.test.InstrumentationCtsTestRunner"
184     coverage_target="framework"
185     cts="true" />
186     
187 <test name="cts-gesture"
188     build_path="cts/tests/tests/gesture"
189     package="com.android.cts.gesture"
190     runner="android.test.InstrumentationTestRunner"
191     coverage_target="framework"
192     cts="true" />
193
194 <test name="cts-graphics"
195     build_path="cts/tests"
196     package="com.android.cts.graphics"
197     runner="android.test.InstrumentationCtsTestRunner"
198     coverage_target="framework"
199     cts="true" />
200
201 <test name="cts-hardware"
202     build_path="cts/tests"
203     package="com.android.cts.hardware"
204     runner="android.test.InstrumentationCtsTestRunner"
205     coverage_target="framework"
206     cts="true" />
207
208 <test name="cts-location"
209     build_path="cts/tests"
210     package="com.android.cts.location"
211     runner="android.test.InstrumentationCtsTestRunner"
212     coverage_target="framework"
213     cts="true" />
214
215 <test name="cts-net"
216     build_path="cts/tests"
217     package="com.android.cts.net"
218     runner="android.test.InstrumentationCtsTestRunner"
219     coverage_target="framework"
220     cts="true" />
221
222 <test name="cts-os"
223     build_path="cts/tests"
224     package="com.android.cts.os"
225     runner="android.test.InstrumentationCtsTestRunner"
226     coverage_target="framework"
227     cts="true" />
228
229 <test name="cts-perf1"
230     build_path="cts/tests"
231     package="com.android.cts.performance"
232     runner="android.test.InstrumentationCtsTestRunner"
233     cts="true" />
234
235 <test name="cts-perf2"
236     build_path="cts/tests"
237     package="com.android.cts.performance2"
238     runner="android.test.InstrumentationCtsTestRunner"
239     cts="true" />
240
241 <test name="cts-perf3"
242     build_path="cts/tests"
243     package="com.android.cts.performance3"
244     runner="android.test.InstrumentationCtsTestRunner"
245     cts="true" />
246
247 <test name="cts-perf4"
248     build_path="cts/tests"
249     package="com.android.cts.performance4"
250     runner="android.test.InstrumentationCtsTestRunner"
251     cts="true" />
252
253 <test name="cts-perf5"
254     build_path="cts/tests"
255     package="com.android.cts.performance5"
256     runner="android.test.InstrumentationCtsTestRunner"
257     cts="true" />
258
259 <test name="cts-provider"
260     build_path="cts/tests"
261     package="com.android.cts.provider"
262     runner="android.test.InstrumentationCtsTestRunner"
263     coverage_target="framework"
264     cts="true" />
265
266 <test name="cts-text"
267     build_path="cts/tests"
268     package="com.android.cts.text"
269     runner="android.test.InstrumentationCtsTestRunner"
270     coverage_target="framework"
271     cts="true" />
272
273 <test name="cts-telephony"
274     build_path="cts/tests"
275     package="com.android.cts.telephony"
276     runner="android.test.InstrumentationCtsTestRunner"
277     coverage_target="framework"
278     cts="true" />
279
280 <test name="cts-util"
281     build_path="cts/tests"
282     package="com.android.cts.util"
283     runner="android.test.InstrumentationCtsTestRunner"
284     coverage_target="framework"
285     cts="true" />
286
287 <test name="cts-view"
288     build_path="cts/tests"
289     package="com.android.cts.view"
290     runner="android.test.InstrumentationCtsTestRunner"
291     coverage_target="framework"
292     cts="true" />
293
294 <test name="cts-widget"
295     build_path="cts/tests"
296     package="com.android.cts.widget"
297     runner="android.test.InstrumentationCtsTestRunner"
298     coverage_target="framework"
299     cts="true" />
300
301 <!--  end of cts tests -->
302
303 <!--  selected app tests -->
304 <test name="browser"
305     build_path="packages/apps/Browser"
306     package="com.android.browser"
307     runner=".BrowserTestRunner"
308     coverage_target="Browser" />
309
310 <test name="browserfunc"
311     build_path="packages/apps/Browser"
312     package="com.android.browser"
313     runner=".BrowserFunctionalTestRunner"
314     coverage_target="Browser" />
315
316 <test name="calendar"
317     build_path="packages/apps/Calendar/tests"
318     package="com.android.calendar.tests"
319     coverage_target="Calendar"
320     continuous="true" />
321
322 <test name="calprov"
323     build_path="packages/providers/CalendarProvider/tests"
324     package="com.android.providers.calendar.tests"
325     coverage_target="CalendarProvider"
326     continuous="true" />
327
328 <test name="camerastress"
329     build_path="packages/apps/Camera"
330     package="com.android.camera.tests"
331     class="com.android.camera.StressTests"
332     coverage_target="Camera" />
333
334 <test name="cameralatency"
335     build_path="packages/apps/Camera"
336     package="com.android.camera.tests"
337     class="com.android.camera.stress.CameraLatency"
338     coverage_target="Camera" />
339
340 <test name="camera"
341     build_path="packages/apps/Camera"
342     package="com.android.camera.tests"
343     class="com.android.camera.UnitTests"
344     continuous="true"
345     coverage_target="Camera" />
346
347 <test name="contactsprov"
348     build_path="packages/providers/GoogleContactsProvider/tests"
349     package="com.android.providers.contactstests"
350     coverage_target="ContactsProvider" />
351
352 <test name="downloadprovider-permission"
353     build_path="packages/providers/DownloadProvider/tests/permission"
354     package="com.android.providers.downloads.permission.tests"
355     coverage_target="DownloadProvider"
356     continuous="true" />
357
358 <test name="email"
359     build_path="packages/apps/Email"
360     package="com.android.email.tests"
361     coverage_target="Email"
362     continuous="true" />
363
364 <test name="emailsmall"
365     build_path="packages/apps/Email"
366     package="com.android.email.tests"
367     class="com.android.email.SmallTests"
368     coverage_target="Email" />
369
370 <test name="globalsearch"
371     build_path="packages/apps/GlobalSearch"
372     package="com.android.globalsearch.tests"
373     coverage_target="GlobalSearch"
374     continuous="true" />
375
376 <test name="globalsearch-permission"
377     build_path="packages/apps/GlobalSearch"
378     package="com.android.globalsearch.permission.tests"
379     coverage_target="GlobalSearch"
380     continuous="true" />
381
382 <test name="improvider-permission"
383     build_path="packages/providers/ImProvider/tests/permission"
384     package="com.android.providers.im.permission.tests"
385     coverage_target="ImProvider"
386     continuous="true" />
387
388 <test name="media"
389     build_path="frameworks/base/media/tests/MediaFrameworkTest"
390     package="com.android.mediaframeworktest"
391     runner=".MediaFrameworkTestRunner"
392     coverage_target="framework"
393     continuous="true" />
394
395 <test name="mediaapitest"
396     build_path="frameworks/base/media/tests/MediaFrameworkTest"
397     package="com.android.mediaframeworktest"
398     class="com.android.mediaframeworktest.functional.MediaPlayerApiTest"
399     runner=".MediaFrameworkTestRunner"
400     coverage_target="framework" />
401
402 <test name="mediarecordertest"
403     build_path="frameworks/base/media/tests/MediaFrameworkTest"
404     package="com.android.mediaframeworktest"
405     class="com.android.mediaframeworktest.functional.MediaRecorderTest"
406     runner=".MediaFrameworkTestRunner"
407     coverage_target="framework" />
408
409 <test name="mediastresstest"
410     build_path="frameworks/base/media/tests/MediaFrameworkTest"
411     package="com.android.mediaframeworktest"
412     runner=".MediaRecorderStressTestRunner"
413     coverage_target="framework" />
414
415 <test name="mediamemorystress"
416     build_path="frameworks/base/media/tests/MediaFrameworkTest"
417     package="com.android.mediaframeworktest"
418     runner=".MediaFrameworkPerfTestRunner"
419     coverage_target="framework" />
420
421 <test name="mediaunit"
422     build_path="frameworks/base/media/tests/MediaFrameworkTest"
423     package="com.android.mediaframeworktest"
424     runner=".MediaFrameworkUnitTestRunner"
425     coverage_target="framework" />
426
427 <test name="musicplayer"
428     build_path="packages/apps/Music"
429     package="com.android.music.tests"
430     runner=".MusicPlayerFunctionalTestRunner"
431     coverage_target="Music" />
432
433 <!-- obsolete?
434 <test name="mediaprov"
435     build_path="tests/MediaProvider"
436     package="com.android.mediaprovidertests"
437     runner=".MediaProviderTestsInstrumentation"
438     coverage_target="MediaProvider" />
439  -->
440
441 <test name="mms"
442     build_path="packages/apps/Mms"
443     package="com.android.mms.tests"
444     runner="com.android.mms.ui.MMSInstrumentationTestRunner"
445     coverage_target="Mms" />
446
447 <test name="mmslaunch"
448     build_path="packages/apps/Mms"
449     package="com.android.mms.tests"
450     runner="com.android.mms.SmsLaunchPerformance"
451     coverage_target="Mms" />
452
453
454 <!-- obsolete?
455 <test name="ringtone"
456     build_path="tests/RingtoneSettings"
457     package="com.android.ringtonesettingstests"
458     runner=".RingtoneSettingsInstrumentationTestRunner"
459     coverage_target="Settings" />
460 -->
461
462 <!--  native tests  -->
463
464 <!-- Bionic C++ -->
465 <test-native name="libstdcpp"
466     build_path="system/extras/tests/bionic/libstdc++"
467     description="Bionic libstdc++."
468     extra_build_args="BIONIC_TESTS=1" />
469
470 <!--  Android STL tests -->
471 <test-native name="astl"
472     build_path="external/astl/tests"
473     description="Android STL."
474     extra_build_args="ASTL_TESTS=1" />
475
476 <!-- Android Keystore tests -->
477 <test-native name="netkeystore_test"
478     build_path="frameworks/base/cmds/keystore/tests"
479     description="Android keystore."
480     extra_build_args="KEYSTORE_TESTS=1" />
481
482 <!-- pending patch 820
483 <test-native name="gtest"
484     build_path="external/gtest"
485     description="Google test."
486     extra_build_args="GTEST_TESTS=1" />
487 -->
488
489 <!-- host java tests -->
490 <test-host name="cts-appsecurity"
491     build_path="cts/tests/appsecurity-tests"
492     class="com.android.cts.appsecurity.AppSecurityTests"
493     jar_name="CtsAppSecurityTests.jar"
494     cts="true" />
495
496 </test-definitions>