OSDN Git Service

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