blob: f92625bd9a73d0fdedb1f69f4e75b92c537a8546 [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 },
Ale Nijamkinf48b8c32023-01-08 00:30:46 +000035 {
36 // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+)
37 "name": "SystemUIGoogleBiometricsScreenshotTests",
38 "options": [
39 {
40 "exclude-annotation": "org.junit.Ignore"
41 },
42 {
43 "exclude-annotation": "androidx.test.filters.FlakyTest"
44 }
45 ]
46 },
Joe Bolinger3ca321182022-12-10 02:02:12 +000047 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040048 // Permission indicators
49 "name": "CtsPermission4TestCases",
50 "options": [
51 {
52 "exclude-annotation": "org.junit.Ignore"
53 },
54 {
55 "exclude-annotation": "androidx.test.filters.FlakyTest"
56 }
57 ]
58 },
59 {
60 // Permission indicators
61 "name": "CtsVoiceRecognitionTestCases",
62 "options": [
63 {
64 "exclude-annotation": "org.junit.Ignore"
65 },
66 {
67 "exclude-annotation": "androidx.test.filters.FlakyTest"
68 }
69 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080070 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080071 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040072
73 // Curious where your @Scenario tests will run?
74 //
Julia Tuttleed036552021-04-06 12:02:50 -040075 // @Ignore: nowhere
76 // @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or
77 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040078 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
79 // none of the above: in presubmit, postsubmit, and staged-postsubmit
80 //
81 // Therefore, please annotate new tests with @Staging, then with @Postsubmit
82 // once they're ready for postsubmit, then with neither once they're ready
83 // for presubmit.
84 //
85 // If you don't use @Staging or @Postsubmit, your new test will immediately
86 // block presubmit, which is probably not what you want!
Sam Dubey65f3aad2022-07-18 08:57:41 +000087 "sysui-platinum-postsubmit": [
Lucas Dupine5dc1d92020-01-27 15:02:59 -080088 {
89 "name": "PlatformScenarioTests",
90 "options": [
91 {
92 "include-filter": "android.platform.test.scenario.sysui"
93 },
94 {
95 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
96 },
97 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -040098 "exclude-annotation": "org.junit.Ignore"
99 },
100 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800101 "exclude-annotation": "androidx.test.filters.FlakyTest"
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800102 }
103 ]
104 }
Jun485caff2020-02-27 14:38:28 -0800105 ],
Sam Dubey65f3aad2022-07-18 08:57:41 +0000106 "sysui-staged-platinum-postsubmit": [
Julia Tuttle49887b22020-08-17 13:00:48 -0400107 {
108 "name": "PlatformScenarioTests",
109 "options": [
110 {
111 "include-filter": "android.platform.test.scenario.sysui"
112 },
113 {
114 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
115 },
116 {
117 "exclude-annotation": "org.junit.Ignore"
Julia Tuttle49887b22020-08-17 13:00:48 -0400118 }
119 ]
120 }
121 ],
Sam Dubey95e92a72022-08-02 08:41:28 +0000122 "ironwood-postsubmit": [
123 {
124 "name": "PlatformScenarioTests",
125 "options": [
126 {
127 "include-annotation": "android.platform.test.annotations.IwTest"
128 },
129 {
130 "exclude-annotation": "org.junit.Ignore"
131 },
132 {
133 "include-filter": "android.platform.test.scenario.sysui"
134 }
135 ]
136 }
137 ],
Jun485caff2020-02-27 14:38:28 -0800138 "auto-end-to-end-postsubmit": [
139 {
Jun01053052021-10-07 17:03:30 -0700140 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800141 "options" : [
142 {
Jun01053052021-10-07 17:03:30 -0700143 "include-filter": "android.platform.tests.HomeTest"
144 }
145 ]
146 },
147 {
148 "name": "AndroidAutomotiveNotificationsTests",
149 "options" : [
Jun485caff2020-02-27 14:38:28 -0800150 {
Jun01053052021-10-07 17:03:30 -0700151 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800152 }
153 ]
154 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800155 ]
156}