blob: c59b0f9c8e9ad0a94020fa065abf6c2991ac7a8a [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 {
56 // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+)
57 "name": "SystemUIGoogleBiometricsScreenshotTests",
58 "options": [
59 {
60 "exclude-annotation": "org.junit.Ignore"
61 },
62 {
63 "exclude-annotation": "androidx.test.filters.FlakyTest"
64 }
65 ]
66 },
Joe Bolinger3ca321182022-12-10 02:02:12 +000067 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040068 // Permission indicators
Nate Myrend0792312023-05-30 14:22:41 -070069 "name": "CtsPermissionUiTestCases",
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040070 "options": [
71 {
72 "exclude-annotation": "org.junit.Ignore"
73 },
74 {
Jay Thomas Sullivan86d48192023-07-17 23:17:38 -070075 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
Nate Myren1db39b62023-01-31 15:04:22 -080076 },
77 {
Nate Myrend0792312023-05-30 14:22:41 -070078 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040079 }
80 ]
81 },
82 {
83 // Permission indicators
84 "name": "CtsVoiceRecognitionTestCases",
85 "options": [
86 {
87 "exclude-annotation": "org.junit.Ignore"
88 },
89 {
90 "exclude-annotation": "androidx.test.filters.FlakyTest"
91 }
92 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080093 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080094 ],
Jun485caff2020-02-27 14:38:28 -080095 "auto-end-to-end-postsubmit": [
96 {
Jun01053052021-10-07 17:03:30 -070097 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -080098 "options" : [
99 {
Jun01053052021-10-07 17:03:30 -0700100 "include-filter": "android.platform.tests.HomeTest"
101 }
102 ]
103 },
104 {
105 "name": "AndroidAutomotiveNotificationsTests",
106 "options" : [
Jun485caff2020-02-27 14:38:28 -0800107 {
Jun01053052021-10-07 17:03:30 -0700108 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800109 }
110 ]
111 }
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +0000112 ],
Jay Thomas Sullivan86d48192023-07-17 23:17:38 -0700113 "postsubmit": [
114 {
115 // Permission indicators
116 "name": "CtsPermissionUiTestCases",
117 "options": [
118 {
119 "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
120 }
121 ]
122 }
123 ],
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +0000124 "silver-sysui": [
125 {
126 "name": "PlatformScenarioTests",
127 "options": [
128 {
129 "include-filter": "android.platform.test.scenario.sysui"
130 },
131 {
132 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
133 },
134 {
135 "exclude-annotation": "org.junit.Ignore"
136 },
137 {
138 "exclude-annotation": "android.platform.test.annotations.PlatinumTest"
139 },
140 {
141 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
142 }
143 ]
144 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800145 ]
146}