blob: b22195a99eb24bab62c3aaa32e7a80a4892ab5f5 [file] [log] [blame]
Lucas Dupin46363d4d2019-11-25 12:46:38 -08001{
2 // Looking for unit test presubmit configuration?
3 // This currently lives in ATP config apct/system_ui/unit_test
vadimta195fd02022-06-14 13:47:51 -07004 "presubmit-sysui": [
5 {
6 "name": "PlatformScenarioTests",
7 "options": [
8 {
9 "include-filter": "android.platform.test.scenario.sysui"
10 },
11 {
12 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
13 },
14 {
15 "exclude-annotation": "org.junit.Ignore"
16 },
17 {
18 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
19 }
20 ]
21 }
22 ],
vadimt8c1af8c2022-02-01 13:43:14 -080023 "presubmit": [
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040024 {
Fabian Kozynski001e28c2021-08-13 11:09:09 -040025 "name": "SystemUIGoogleTests",
26 "options": [
27 {
28 "exclude-annotation": "org.junit.Ignore"
29 },
30 {
31 "exclude-annotation": "androidx.test.filters.FlakyTest"
32 }
33 ]
34 },
David Saff8936b242023-01-04 15:14:24 +000035// Disable until can pass: b/259124654
36// {
37// // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+)
38// "name": "SystemUIGoogleBiometricsScreenshotTests",
39// "options": [
40// {
41// "exclude-annotation": "org.junit.Ignore"
42// },
43// {
44// "exclude-annotation": "androidx.test.filters.FlakyTest"
45// }
46// ]
47// },
Joe Bolinger3ca321182022-12-10 02:02:12 +000048 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040049 // Permission indicators
50 "name": "CtsPermission4TestCases",
51 "options": [
52 {
53 "exclude-annotation": "org.junit.Ignore"
54 },
55 {
56 "exclude-annotation": "androidx.test.filters.FlakyTest"
57 }
58 ]
59 },
60 {
61 // Permission indicators
62 "name": "CtsVoiceRecognitionTestCases",
63 "options": [
64 {
65 "exclude-annotation": "org.junit.Ignore"
66 },
67 {
68 "exclude-annotation": "androidx.test.filters.FlakyTest"
69 }
70 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080071 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080072 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040073
74 // Curious where your @Scenario tests will run?
75 //
Julia Tuttleed036552021-04-06 12:02:50 -040076 // @Ignore: nowhere
77 // @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or
78 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040079 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
80 // none of the above: in presubmit, postsubmit, and staged-postsubmit
81 //
82 // Therefore, please annotate new tests with @Staging, then with @Postsubmit
83 // once they're ready for postsubmit, then with neither once they're ready
84 // for presubmit.
85 //
86 // If you don't use @Staging or @Postsubmit, your new test will immediately
87 // block presubmit, which is probably not what you want!
Sam Dubey65f3aad2022-07-18 08:57:41 +000088 "sysui-platinum-postsubmit": [
Lucas Dupine5dc1d92020-01-27 15:02:59 -080089 {
90 "name": "PlatformScenarioTests",
91 "options": [
92 {
93 "include-filter": "android.platform.test.scenario.sysui"
94 },
95 {
96 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
97 },
98 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -040099 "exclude-annotation": "org.junit.Ignore"
100 },
101 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800102 "exclude-annotation": "androidx.test.filters.FlakyTest"
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800103 }
104 ]
105 }
Jun485caff2020-02-27 14:38:28 -0800106 ],
Sam Dubey65f3aad2022-07-18 08:57:41 +0000107 "sysui-staged-platinum-postsubmit": [
Julia Tuttle49887b22020-08-17 13:00:48 -0400108 {
109 "name": "PlatformScenarioTests",
110 "options": [
111 {
112 "include-filter": "android.platform.test.scenario.sysui"
113 },
114 {
115 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
116 },
117 {
118 "exclude-annotation": "org.junit.Ignore"
Julia Tuttle49887b22020-08-17 13:00:48 -0400119 }
120 ]
121 }
122 ],
Sam Dubey95e92a72022-08-02 08:41:28 +0000123 "ironwood-postsubmit": [
124 {
125 "name": "PlatformScenarioTests",
126 "options": [
127 {
128 "include-annotation": "android.platform.test.annotations.IwTest"
129 },
130 {
131 "exclude-annotation": "org.junit.Ignore"
132 },
133 {
134 "include-filter": "android.platform.test.scenario.sysui"
135 }
136 ]
137 }
138 ],
Jun485caff2020-02-27 14:38:28 -0800139 "auto-end-to-end-postsubmit": [
140 {
Jun01053052021-10-07 17:03:30 -0700141 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800142 "options" : [
143 {
Jun01053052021-10-07 17:03:30 -0700144 "include-filter": "android.platform.tests.HomeTest"
145 }
146 ]
147 },
148 {
149 "name": "AndroidAutomotiveNotificationsTests",
150 "options" : [
Jun485caff2020-02-27 14:38:28 -0800151 {
Jun01053052021-10-07 17:03:30 -0700152 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800153 }
154 ]
155 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800156 ]
157}