blob: 3af7a450285657aa902ea9f6f5c9b40a4285e763 [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"
David Safff37bab52023-07-10 14:37:57 -040038 },
39 {
40 "exclude-annotation": "androidx.test.filters.FlakyTest"
vadimta195fd02022-06-14 13:47:51 -070041 }
42 ]
43 }
44 ],
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +000045 // v2/android-virtual-infra/test_mapping/presubmit-avd
vadimt8c1af8c2022-02-01 13:43:14 -080046 "presubmit": [
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040047 {
Fabian Kozynski001e28c2021-08-13 11:09:09 -040048 "name": "SystemUIGoogleTests",
49 "options": [
50 {
51 "exclude-annotation": "org.junit.Ignore"
52 },
53 {
54 "exclude-annotation": "androidx.test.filters.FlakyTest"
55 }
56 ]
57 },
Ale Nijamkinf48b8c32023-01-08 00:30:46 +000058 {
59 // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+)
60 "name": "SystemUIGoogleBiometricsScreenshotTests",
61 "options": [
62 {
63 "exclude-annotation": "org.junit.Ignore"
64 },
65 {
66 "exclude-annotation": "androidx.test.filters.FlakyTest"
67 }
68 ]
69 },
Joe Bolinger3ca321182022-12-10 02:02:12 +000070 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040071 // Permission indicators
Nate Myren1db39b62023-01-31 15:04:22 -080072 "name": "CtsPermission3TestCases",
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040073 "options": [
74 {
75 "exclude-annotation": "org.junit.Ignore"
76 },
77 {
78 "exclude-annotation": "androidx.test.filters.FlakyTest"
Nate Myren1db39b62023-01-31 15:04:22 -080079 },
80 {
81 "include-filter": "android.permission3.cts.CameraMicIndicatorsPermissionTest"
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040082 }
83 ]
84 },
85 {
86 // Permission indicators
87 "name": "CtsVoiceRecognitionTestCases",
88 "options": [
89 {
90 "exclude-annotation": "org.junit.Ignore"
91 },
92 {
93 "exclude-annotation": "androidx.test.filters.FlakyTest"
94 }
95 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080096 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080097 ],
Jun485caff2020-02-27 14:38:28 -080098 "auto-end-to-end-postsubmit": [
99 {
Jun01053052021-10-07 17:03:30 -0700100 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800101 "options" : [
102 {
Jun01053052021-10-07 17:03:30 -0700103 "include-filter": "android.platform.tests.HomeTest"
104 }
105 ]
106 },
107 {
108 "name": "AndroidAutomotiveNotificationsTests",
109 "options" : [
Jun485caff2020-02-27 14:38:28 -0800110 {
Jun01053052021-10-07 17:03:30 -0700111 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800112 }
113 ]
114 }
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +0000115 ],
116 "silver-sysui": [
117 {
118 "name": "PlatformScenarioTests",
119 "options": [
120 {
121 "include-filter": "android.platform.test.scenario.sysui"
122 },
123 {
124 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
125 },
126 {
127 "exclude-annotation": "org.junit.Ignore"
128 },
129 {
130 "exclude-annotation": "android.platform.test.annotations.PlatinumTest"
131 },
132 {
133 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
David Safff37bab52023-07-10 14:37:57 -0400134 },
135 {
136 "exclude-annotation": "androidx.test.filters.FlakyTest"
Sam Dubeyc0a8e3a2023-05-30 15:08:55 +0000137 }
138 ]
139 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800140 ]
141}