blob: aaee42fe05f0f70d135ff0d86f83547cc3dbdc46 [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 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040036 // Permission indicators
37 "name": "CtsPermission4TestCases",
38 "options": [
39 {
40 "exclude-annotation": "org.junit.Ignore"
41 },
42 {
43 "exclude-annotation": "androidx.test.filters.FlakyTest"
44 }
45 ]
46 },
47 {
48 // Permission indicators
49 "name": "CtsVoiceRecognitionTestCases",
50 "options": [
51 {
52 "exclude-annotation": "org.junit.Ignore"
53 },
54 {
55 "exclude-annotation": "androidx.test.filters.FlakyTest"
56 }
57 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080058 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080059 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040060
61 // Curious where your @Scenario tests will run?
62 //
Julia Tuttleed036552021-04-06 12:02:50 -040063 // @Ignore: nowhere
64 // @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or
65 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040066 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
67 // none of the above: in presubmit, postsubmit, and staged-postsubmit
68 //
69 // Therefore, please annotate new tests with @Staging, then with @Postsubmit
70 // once they're ready for postsubmit, then with neither once they're ready
71 // for presubmit.
72 //
73 // If you don't use @Staging or @Postsubmit, your new test will immediately
74 // block presubmit, which is probably not what you want!
Sam Dubey65f3aad2022-07-18 08:57:41 +000075 "sysui-platinum-postsubmit": [
Lucas Dupine5dc1d92020-01-27 15:02:59 -080076 {
77 "name": "PlatformScenarioTests",
78 "options": [
79 {
80 "include-filter": "android.platform.test.scenario.sysui"
81 },
82 {
83 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
84 },
85 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -040086 "exclude-annotation": "org.junit.Ignore"
87 },
88 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -080089 "exclude-annotation": "androidx.test.filters.FlakyTest"
Lucas Dupine5dc1d92020-01-27 15:02:59 -080090 }
91 ]
92 }
Jun485caff2020-02-27 14:38:28 -080093 ],
Sam Dubey65f3aad2022-07-18 08:57:41 +000094 "sysui-staged-platinum-postsubmit": [
Julia Tuttle49887b22020-08-17 13:00:48 -040095 {
96 "name": "PlatformScenarioTests",
97 "options": [
98 {
99 "include-filter": "android.platform.test.scenario.sysui"
100 },
101 {
102 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
103 },
104 {
105 "exclude-annotation": "org.junit.Ignore"
Julia Tuttle49887b22020-08-17 13:00:48 -0400106 }
107 ]
108 }
109 ],
Sam Dubey95e92a72022-08-02 08:41:28 +0000110 "ironwood-postsubmit": [
111 {
112 "name": "PlatformScenarioTests",
113 "options": [
114 {
115 "include-annotation": "android.platform.test.annotations.IwTest"
116 },
117 {
118 "exclude-annotation": "org.junit.Ignore"
119 },
120 {
121 "include-filter": "android.platform.test.scenario.sysui"
122 }
123 ]
124 }
125 ],
Jun485caff2020-02-27 14:38:28 -0800126 "auto-end-to-end-postsubmit": [
127 {
Jun01053052021-10-07 17:03:30 -0700128 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800129 "options" : [
130 {
Jun01053052021-10-07 17:03:30 -0700131 "include-filter": "android.platform.tests.HomeTest"
132 }
133 ]
134 },
135 {
136 "name": "AndroidAutomotiveNotificationsTests",
137 "options" : [
Jun485caff2020-02-27 14:38:28 -0800138 {
Jun01053052021-10-07 17:03:30 -0700139 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800140 }
141 ]
142 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800143 ]
144}