blob: 60bfdb2ee379596162a76c18e2e91ef501b66d04 [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"
Sam Dubeyfb754d42023-01-19 12:33:22 +000019 },
20 {
21 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
vadimta195fd02022-06-14 13:47:51 -070022 }
23 ]
24 }
25 ],
vadimt8c1af8c2022-02-01 13:43:14 -080026 "presubmit": [
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040027 {
Fabian Kozynski001e28c2021-08-13 11:09:09 -040028 "name": "SystemUIGoogleTests",
29 "options": [
30 {
31 "exclude-annotation": "org.junit.Ignore"
32 },
33 {
34 "exclude-annotation": "androidx.test.filters.FlakyTest"
35 }
36 ]
37 },
38 {
Jordan Demeulenaere54a210e2022-06-27 15:15:54 +020039 "name": "SystemUIGoogleScreenshotTests",
40 "options": [
41 {
42 "exclude-annotation": "org.junit.Ignore"
43 },
44 {
45 "exclude-annotation": "androidx.test.filters.FlakyTest"
46 }
47 ]
48 },
49 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040050 // Permission indicators
51 "name": "CtsPermission4TestCases",
52 "options": [
53 {
54 "exclude-annotation": "org.junit.Ignore"
55 },
56 {
57 "exclude-annotation": "androidx.test.filters.FlakyTest"
58 }
59 ]
60 },
61 {
62 // Permission indicators
63 "name": "CtsVoiceRecognitionTestCases",
64 "options": [
65 {
66 "exclude-annotation": "org.junit.Ignore"
67 },
68 {
69 "exclude-annotation": "androidx.test.filters.FlakyTest"
70 }
71 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080072 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080073 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040074
75 // Curious where your @Scenario tests will run?
76 //
Julia Tuttleed036552021-04-06 12:02:50 -040077 // @Ignore: nowhere
Sam Dubeyfb754d42023-01-19 12:33:22 +000078 // @FlakyTest: in staged-postsubmit, but not blocking postsubmit or
79 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040080 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
81 // none of the above: in presubmit, postsubmit, and staged-postsubmit
82 //
Sam Dubeyfb754d42023-01-19 12:33:22 +000083 // Ideally, please annotate new tests with @FlakyTest, then with @Postsubmit
84 // once they're ready for postsubmit as they will immediately block go/android-platinum,
85 // then with neither once they're ready for presubmit.
Julia Tuttle49887b22020-08-17 13:00:48 -040086 //
Sam Dubeyfb754d42023-01-19 12:33:22 +000087 // If you don't use @Postsubmit, your new test will immediately
Julia Tuttle49887b22020-08-17 13:00:48 -040088 // block presubmit, which is probably not what you want!
Sam Dubey855d1732022-07-18 08:57:41 +000089 "sysui-platinum-postsubmit": [
Lucas Dupine5dc1d92020-01-27 15:02:59 -080090 {
91 "name": "PlatformScenarioTests",
92 "options": [
93 {
94 "include-filter": "android.platform.test.scenario.sysui"
95 },
96 {
97 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
98 },
99 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -0400100 "exclude-annotation": "org.junit.Ignore"
101 },
102 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800103 "exclude-annotation": "androidx.test.filters.FlakyTest"
Sam Dubeyfb754d42023-01-19 12:33:22 +0000104 },
105 {
106 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800107 }
108 ]
109 }
Jun485caff2020-02-27 14:38:28 -0800110 ],
Sam Dubey855d1732022-07-18 08:57:41 +0000111 "sysui-staged-platinum-postsubmit": [
Julia Tuttle49887b22020-08-17 13:00:48 -0400112 {
113 "name": "PlatformScenarioTests",
114 "options": [
115 {
116 "include-filter": "android.platform.test.scenario.sysui"
117 },
118 {
119 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
120 },
121 {
122 "exclude-annotation": "org.junit.Ignore"
Julia Tuttle49887b22020-08-17 13:00:48 -0400123 }
124 ]
125 }
126 ],
Sam Dubey520e09e2022-08-02 08:41:28 +0000127 "ironwood-postsubmit": [
128 {
129 "name": "PlatformScenarioTests",
130 "options": [
131 {
132 "include-annotation": "android.platform.test.annotations.IwTest"
133 },
134 {
135 "exclude-annotation": "org.junit.Ignore"
136 },
137 {
138 "include-filter": "android.platform.test.scenario.sysui"
Sam Dubeyfb754d42023-01-19 12:33:22 +0000139 },
140 {
141 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
Sam Dubey520e09e2022-08-02 08:41:28 +0000142 }
143 ]
144 }
145 ],
Jun485caff2020-02-27 14:38:28 -0800146 "auto-end-to-end-postsubmit": [
147 {
Jun01053052021-10-07 17:03:30 -0700148 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800149 "options" : [
150 {
Jun01053052021-10-07 17:03:30 -0700151 "include-filter": "android.platform.tests.HomeTest"
152 }
153 ]
154 },
155 {
156 "name": "AndroidAutomotiveNotificationsTests",
157 "options" : [
Jun485caff2020-02-27 14:38:28 -0800158 {
Jun01053052021-10-07 17:03:30 -0700159 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800160 }
161 ]
162 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800163 ]
164}