blob: 333aebad44ae4acbef5f3a3a3e262b46b15eeedd [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 },
Ale Nijamkinf48b8c32023-01-08 00:30:46 +000038 {
39 // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+)
40 "name": "SystemUIGoogleBiometricsScreenshotTests",
41 "options": [
42 {
43 "exclude-annotation": "org.junit.Ignore"
44 },
45 {
46 "exclude-annotation": "androidx.test.filters.FlakyTest"
47 }
48 ]
49 },
Joe Bolinger3ca321182022-12-10 02:02:12 +000050 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040051 // Permission indicators
52 "name": "CtsPermission4TestCases",
53 "options": [
54 {
55 "exclude-annotation": "org.junit.Ignore"
56 },
57 {
58 "exclude-annotation": "androidx.test.filters.FlakyTest"
59 }
60 ]
61 },
62 {
63 // Permission indicators
64 "name": "CtsVoiceRecognitionTestCases",
65 "options": [
66 {
67 "exclude-annotation": "org.junit.Ignore"
68 },
69 {
70 "exclude-annotation": "androidx.test.filters.FlakyTest"
71 }
72 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080073 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080074 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040075
76 // Curious where your @Scenario tests will run?
77 //
Julia Tuttleed036552021-04-06 12:02:50 -040078 // @Ignore: nowhere
Sam Dubeyfb754d42023-01-19 12:33:22 +000079 // @FlakyTest: in staged-postsubmit, but not blocking postsubmit or
80 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040081 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
82 // none of the above: in presubmit, postsubmit, and staged-postsubmit
83 //
Sam Dubeyfb754d42023-01-19 12:33:22 +000084 // Ideally, please annotate new tests with @FlakyTest, then with @Postsubmit
85 // once they're ready for postsubmit as they will immediately block go/android-platinum,
86 // then with neither once they're ready for presubmit.
Julia Tuttle49887b22020-08-17 13:00:48 -040087 //
Sam Dubeyfb754d42023-01-19 12:33:22 +000088 // If you don't use @Postsubmit, your new test will immediately
Julia Tuttle49887b22020-08-17 13:00:48 -040089 // block presubmit, which is probably not what you want!
Sam Dubey65f3aad2022-07-18 08:57:41 +000090 "sysui-platinum-postsubmit": [
Lucas Dupine5dc1d92020-01-27 15:02:59 -080091 {
92 "name": "PlatformScenarioTests",
93 "options": [
94 {
95 "include-filter": "android.platform.test.scenario.sysui"
96 },
97 {
98 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
99 },
100 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -0400101 "exclude-annotation": "org.junit.Ignore"
102 },
103 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800104 "exclude-annotation": "androidx.test.filters.FlakyTest"
Sam Dubeyfb754d42023-01-19 12:33:22 +0000105 },
106 {
107 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800108 }
109 ]
110 }
Jun485caff2020-02-27 14:38:28 -0800111 ],
Sam Dubey65f3aad2022-07-18 08:57:41 +0000112 "sysui-staged-platinum-postsubmit": [
Julia Tuttle49887b22020-08-17 13:00:48 -0400113 {
114 "name": "PlatformScenarioTests",
115 "options": [
116 {
117 "include-filter": "android.platform.test.scenario.sysui"
118 },
119 {
120 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
121 },
122 {
123 "exclude-annotation": "org.junit.Ignore"
Julia Tuttle49887b22020-08-17 13:00:48 -0400124 }
125 ]
126 }
127 ],
Sam Dubey95e92a72022-08-02 08:41:28 +0000128 "ironwood-postsubmit": [
129 {
130 "name": "PlatformScenarioTests",
131 "options": [
132 {
133 "include-annotation": "android.platform.test.annotations.IwTest"
134 },
135 {
136 "exclude-annotation": "org.junit.Ignore"
137 },
138 {
139 "include-filter": "android.platform.test.scenario.sysui"
Sam Dubeyfb754d42023-01-19 12:33:22 +0000140 },
141 {
142 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
Sam Dubey95e92a72022-08-02 08:41:28 +0000143 }
144 ]
145 }
146 ],
Jun485caff2020-02-27 14:38:28 -0800147 "auto-end-to-end-postsubmit": [
148 {
Jun01053052021-10-07 17:03:30 -0700149 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800150 "options" : [
151 {
Jun01053052021-10-07 17:03:30 -0700152 "include-filter": "android.platform.tests.HomeTest"
153 }
154 ]
155 },
156 {
157 "name": "AndroidAutomotiveNotificationsTests",
158 "options" : [
Jun485caff2020-02-27 14:38:28 -0800159 {
Jun01053052021-10-07 17:03:30 -0700160 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800161 }
162 ]
163 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800164 ]
165}