blob: cd45b8ea9f61980efdf35fae5c45d19102f3bbce [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 },
35 {
Jordan Demeulenaere54a210e2022-06-27 15:15:54 +020036 "name": "SystemUIGoogleScreenshotTests",
37 "options": [
38 {
39 "exclude-annotation": "org.junit.Ignore"
40 },
41 {
42 "exclude-annotation": "androidx.test.filters.FlakyTest"
43 }
44 ]
45 },
46 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040047 // Permission indicators
48 "name": "CtsPermission4TestCases",
49 "options": [
50 {
51 "exclude-annotation": "org.junit.Ignore"
52 },
53 {
54 "exclude-annotation": "androidx.test.filters.FlakyTest"
55 }
56 ]
57 },
58 {
59 // Permission indicators
60 "name": "CtsVoiceRecognitionTestCases",
61 "options": [
62 {
63 "exclude-annotation": "org.junit.Ignore"
64 },
65 {
66 "exclude-annotation": "androidx.test.filters.FlakyTest"
67 }
68 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080069 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080070 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040071
72 // Curious where your @Scenario tests will run?
73 //
Julia Tuttleed036552021-04-06 12:02:50 -040074 // @Ignore: nowhere
75 // @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or
76 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040077 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
78 // none of the above: in presubmit, postsubmit, and staged-postsubmit
79 //
80 // Therefore, please annotate new tests with @Staging, then with @Postsubmit
81 // once they're ready for postsubmit, then with neither once they're ready
82 // for presubmit.
83 //
84 // If you don't use @Staging or @Postsubmit, your new test will immediately
85 // block presubmit, which is probably not what you want!
Sam Dubey855d1732022-07-18 08:57:41 +000086 "sysui-platinum-postsubmit": [
Lucas Dupine5dc1d92020-01-27 15:02:59 -080087 {
88 "name": "PlatformScenarioTests",
89 "options": [
90 {
91 "include-filter": "android.platform.test.scenario.sysui"
92 },
93 {
94 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
95 },
96 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -040097 "exclude-annotation": "org.junit.Ignore"
98 },
99 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800100 "exclude-annotation": "androidx.test.filters.FlakyTest"
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800101 }
102 ]
103 }
Jun485caff2020-02-27 14:38:28 -0800104 ],
Sam Dubey855d1732022-07-18 08:57:41 +0000105 "sysui-staged-platinum-postsubmit": [
Julia Tuttle49887b22020-08-17 13:00:48 -0400106 {
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 {
116 "exclude-annotation": "org.junit.Ignore"
Julia Tuttle49887b22020-08-17 13:00:48 -0400117 }
118 ]
119 }
120 ],
Sam Dubey520e09e2022-08-02 08:41:28 +0000121 "ironwood-postsubmit": [
122 {
123 "name": "PlatformScenarioTests",
124 "options": [
125 {
126 "include-annotation": "android.platform.test.annotations.IwTest"
127 },
128 {
129 "exclude-annotation": "org.junit.Ignore"
130 },
131 {
132 "include-filter": "android.platform.test.scenario.sysui"
133 }
134 ]
135 }
136 ],
Jun485caff2020-02-27 14:38:28 -0800137 "auto-end-to-end-postsubmit": [
138 {
Jun01053052021-10-07 17:03:30 -0700139 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800140 "options" : [
141 {
Jun01053052021-10-07 17:03:30 -0700142 "include-filter": "android.platform.tests.HomeTest"
143 }
144 ]
145 },
146 {
147 "name": "AndroidAutomotiveNotificationsTests",
148 "options" : [
Jun485caff2020-02-27 14:38:28 -0800149 {
Jun01053052021-10-07 17:03:30 -0700150 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800151 }
152 ]
153 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800154 ]
155}