blob: 26feaf979b206d452592c25554c633e67c64a80e [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
vadimt8c1af8c2022-02-01 13:43:14 -08004 "presubmit-large": [
Lucas Dupin46363d4d2019-11-25 12:46:38 -08005 {
6 "name": "PlatformScenarioTests",
7 "options": [
8 {
9 "include-filter": "android.platform.test.scenario.sysui"
10 },
11 {
Lucas Dupinf1ae7072019-12-03 09:25:52 -080012 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
13 },
14 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -040015 "exclude-annotation": "org.junit.Ignore"
16 },
17 {
Julia Tuttle49887b22020-08-17 13:00:48 -040018 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
Lucas Dupin46363d4d2019-11-25 12:46:38 -080019 }
20 ]
vadimt8c1af8c2022-02-01 13:43:14 -080021 }
22 ],
vadimta195fd02022-06-14 13:47:51 -070023 "presubmit-sysui": [
24 {
25 "name": "PlatformScenarioTests",
26 "options": [
27 {
28 "include-filter": "android.platform.test.scenario.sysui"
29 },
30 {
31 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
32 },
33 {
34 "exclude-annotation": "org.junit.Ignore"
35 },
36 {
37 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
38 }
39 ]
40 }
41 ],
vadimt8c1af8c2022-02-01 13:43:14 -080042 "presubmit": [
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040043 {
Fabian Kozynski001e28c2021-08-13 11:09:09 -040044 "name": "SystemUIGoogleTests",
45 "options": [
46 {
47 "exclude-annotation": "org.junit.Ignore"
48 },
49 {
50 "exclude-annotation": "androidx.test.filters.FlakyTest"
51 }
52 ]
53 },
54 {
Jordan Demeulenaere54a210e2022-06-27 15:15:54 +020055 "name": "SystemUIGoogleScreenshotTests",
56 "options": [
57 {
58 "exclude-annotation": "org.junit.Ignore"
59 },
60 {
61 "exclude-annotation": "androidx.test.filters.FlakyTest"
62 }
63 ]
64 },
65 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040066 // Permission indicators
67 "name": "CtsPermission4TestCases",
68 "options": [
69 {
70 "exclude-annotation": "org.junit.Ignore"
71 },
72 {
73 "exclude-annotation": "androidx.test.filters.FlakyTest"
74 }
75 ]
76 },
77 {
78 // Permission indicators
79 "name": "CtsVoiceRecognitionTestCases",
80 "options": [
81 {
82 "exclude-annotation": "org.junit.Ignore"
83 },
84 {
85 "exclude-annotation": "androidx.test.filters.FlakyTest"
86 }
87 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080088 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080089 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040090
91 // Curious where your @Scenario tests will run?
92 //
Julia Tuttleed036552021-04-06 12:02:50 -040093 // @Ignore: nowhere
94 // @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or
95 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040096 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
97 // none of the above: in presubmit, postsubmit, and staged-postsubmit
98 //
99 // Therefore, please annotate new tests with @Staging, then with @Postsubmit
100 // once they're ready for postsubmit, then with neither once they're ready
101 // for presubmit.
102 //
103 // If you don't use @Staging or @Postsubmit, your new test will immediately
104 // block presubmit, which is probably not what you want!
Sam Dubey65f3aad2022-07-18 08:57:41 +0000105 "sysui-platinum-postsubmit": [
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800106 {
107 "name": "PlatformScenarioTests",
108 "options": [
109 {
110 "include-filter": "android.platform.test.scenario.sysui"
111 },
112 {
113 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
114 },
115 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -0400116 "exclude-annotation": "org.junit.Ignore"
117 },
118 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800119 "exclude-annotation": "androidx.test.filters.FlakyTest"
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800120 }
121 ]
122 }
Jun485caff2020-02-27 14:38:28 -0800123 ],
Sam Dubey65f3aad2022-07-18 08:57:41 +0000124 "sysui-staged-platinum-postsubmit": [
Julia Tuttle49887b22020-08-17 13:00:48 -0400125 {
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"
Julia Tuttle49887b22020-08-17 13:00:48 -0400136 }
137 ]
138 }
139 ],
Sam Dubey95e92a72022-08-02 08:41:28 +0000140 "ironwood-postsubmit": [
141 {
142 "name": "PlatformScenarioTests",
143 "options": [
144 {
145 "include-annotation": "android.platform.test.annotations.IwTest"
146 },
147 {
148 "exclude-annotation": "org.junit.Ignore"
149 },
150 {
151 "include-filter": "android.platform.test.scenario.sysui"
152 }
153 ]
154 }
155 ],
Jun485caff2020-02-27 14:38:28 -0800156 "auto-end-to-end-postsubmit": [
157 {
Jun01053052021-10-07 17:03:30 -0700158 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800159 "options" : [
160 {
Jun01053052021-10-07 17:03:30 -0700161 "include-filter": "android.platform.tests.HomeTest"
162 }
163 ]
164 },
165 {
166 "name": "AndroidAutomotiveNotificationsTests",
167 "options" : [
Jun485caff2020-02-27 14:38:28 -0800168 {
Jun01053052021-10-07 17:03:30 -0700169 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800170 }
171 ]
172 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800173 ]
174}