blob: 42a5c61af768f091f1f50114def9268b36af6d4a [file] [log] [blame]
Lucas Dupin46363d4d2019-11-25 12:46:38 -08001{
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +00002 // Curious where your @Scenario tests will run?
3 //
4 // @Ignore: Will not run in any configuration
5 //
6 // @FlakyTest: Tests that don't block pre/postsubmit but are staged to run known failures
7 //
8 // @Postsubmit: Runs in platinum suite and blocks droidfood in postsubmit
9 //
10 // @PlatinumTest: As of May, 2023, running in postsubmit. Set to run in presubmit as part of
11 // v2/android-platinum/suite-test-mapping-platinum-sysui
12 // Please DO NOT annotate new or old tests with @PlatinumTest annotation without discussing
13 // with mdb:android-platinum
14 //
15 // As of May, 2023, If you don't use @Postsubmit, your new test will immediately
16 // block presubmit, which is probably NOT what you want. This will change effectively once
17 // we move to @PlatinumTest annotation.
18
19 // v2/sysui/test-mapping-presubmit-sysui_cloud-tf
vadimta195fd02022-06-14 13:47:51 -070020 "presubmit-sysui": [
21 {
22 "name": "PlatformScenarioTests",
23 "options": [
24 {
25 "include-filter": "android.platform.test.scenario.sysui"
26 },
27 {
28 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
29 },
30 {
31 "exclude-annotation": "org.junit.Ignore"
32 },
33 {
34 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
Sam Dubeyfb754d42023-01-19 12:33:22 +000035 },
36 {
37 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
vadimta195fd02022-06-14 13:47:51 -070038 }
39 ]
40 }
41 ],
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +000042 // v2/android-virtual-infra/test_mapping/presubmit-avd
vadimt8c1af8c2022-02-01 13:43:14 -080043 "presubmit": [
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040044 {
Fabian Kozynski001e28c2021-08-13 11:09:09 -040045 "name": "SystemUIGoogleTests",
46 "options": [
47 {
48 "exclude-annotation": "org.junit.Ignore"
49 },
50 {
51 "exclude-annotation": "androidx.test.filters.FlakyTest"
52 }
53 ]
54 },
Ale Nijamkinf48b8c32023-01-08 00:30:46 +000055 {
Chris Göllner5267a042023-07-20 13:33:28 +000056 "name": "SystemUIGoogleScreenshotTests",
57 "options": [
58 {
59 "exclude-annotation": "org.junit.Ignore"
60 },
61 {
62 "exclude-annotation": "androidx.test.filters.FlakyTest"
63 },
64 {
65 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
66 }
67 ]
68 },
69 {
Ale Nijamkinf48b8c32023-01-08 00:30:46 +000070 // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+)
71 "name": "SystemUIGoogleBiometricsScreenshotTests",
72 "options": [
73 {
74 "exclude-annotation": "org.junit.Ignore"
75 },
76 {
77 "exclude-annotation": "androidx.test.filters.FlakyTest"
78 }
79 ]
80 },
Joe Bolinger3ca321182022-12-10 02:02:12 +000081 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040082 // Permission indicators
Nate Myrend0792312023-05-30 14:22:41 -070083 "name": "CtsPermissionUiTestCases",
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040084 "options": [
85 {
86 "exclude-annotation": "org.junit.Ignore"
87 },
88 {
89 "exclude-annotation": "androidx.test.filters.FlakyTest"
Nate Myren1db39b62023-01-31 15:04:22 -080090 },
91 {
Nate Myrend0792312023-05-30 14:22:41 -070092 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040093 }
94 ]
95 },
96 {
97 // Permission indicators
98 "name": "CtsVoiceRecognitionTestCases",
99 "options": [
100 {
101 "exclude-annotation": "org.junit.Ignore"
102 },
103 {
104 "exclude-annotation": "androidx.test.filters.FlakyTest"
105 }
106 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800107 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800108 ],
Jun485caff2020-02-27 14:38:28 -0800109 "auto-end-to-end-postsubmit": [
110 {
Jun01053052021-10-07 17:03:30 -0700111 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800112 "options" : [
113 {
Jun01053052021-10-07 17:03:30 -0700114 "include-filter": "android.platform.tests.HomeTest"
115 }
116 ]
117 },
118 {
119 "name": "AndroidAutomotiveNotificationsTests",
120 "options" : [
Jun485caff2020-02-27 14:38:28 -0800121 {
Jun01053052021-10-07 17:03:30 -0700122 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800123 }
124 ]
125 }
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +0000126 ],
127 "silver-sysui": [
128 {
129 "name": "PlatformScenarioTests",
130 "options": [
131 {
132 "include-filter": "android.platform.test.scenario.sysui"
133 },
134 {
135 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
136 },
137 {
138 "exclude-annotation": "org.junit.Ignore"
139 },
140 {
141 "exclude-annotation": "android.platform.test.annotations.PlatinumTest"
142 },
143 {
144 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
145 }
146 ]
147 }
Chris Göllner5267a042023-07-20 13:33:28 +0000148 ],
149 "postsubmit": [
150 {
151 "name": "SystemUIGoogleScreenshotTests",
152 "options": [
153 {
154 "exclude-annotation": "org.junit.Ignore"
155 },
156 {
157 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
158 },
159 {
160 "include-annotation": "android.platform.test.annotations.Postsubmit"
161 }
162 ]
163 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800164 ]
165}