blob: edb5ee30524f962148890cff68d0614c3a18e9a7 [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 {
Fabian Kozynskid3e874b2021-04-05 15:29:59 -040055 // Permission indicators
56 "name": "CtsPermission4TestCases",
57 "options": [
58 {
59 "exclude-annotation": "org.junit.Ignore"
60 },
61 {
62 "exclude-annotation": "androidx.test.filters.FlakyTest"
63 }
64 ]
65 },
66 {
67 // Permission indicators
68 "name": "CtsVoiceRecognitionTestCases",
69 "options": [
70 {
71 "exclude-annotation": "org.junit.Ignore"
72 },
73 {
74 "exclude-annotation": "androidx.test.filters.FlakyTest"
75 }
76 ]
Lucas Dupin46363d4d2019-11-25 12:46:38 -080077 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080078 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040079
80 // Curious where your @Scenario tests will run?
81 //
Julia Tuttleed036552021-04-06 12:02:50 -040082 // @Ignore: nowhere
83 // @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or
84 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040085 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
86 // none of the above: in presubmit, postsubmit, and staged-postsubmit
87 //
88 // Therefore, please annotate new tests with @Staging, then with @Postsubmit
89 // once they're ready for postsubmit, then with neither once they're ready
90 // for presubmit.
91 //
92 // If you don't use @Staging or @Postsubmit, your new test will immediately
93 // block presubmit, which is probably not what you want!
Sam Dubey855d1732022-07-18 08:57:41 +000094 "sysui-platinum-postsubmit": [
Lucas Dupine5dc1d92020-01-27 15:02:59 -080095 {
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 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -0400105 "exclude-annotation": "org.junit.Ignore"
106 },
107 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800108 "exclude-annotation": "androidx.test.filters.FlakyTest"
Lucas Dupine5dc1d92020-01-27 15:02:59 -0800109 }
110 ]
111 }
Jun485caff2020-02-27 14:38:28 -0800112 ],
Sam Dubey855d1732022-07-18 08:57:41 +0000113 "sysui-staged-platinum-postsubmit": [
Julia Tuttle49887b22020-08-17 13:00:48 -0400114 {
115 "name": "PlatformScenarioTests",
116 "options": [
117 {
118 "include-filter": "android.platform.test.scenario.sysui"
119 },
120 {
121 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
122 },
123 {
124 "exclude-annotation": "org.junit.Ignore"
Julia Tuttle49887b22020-08-17 13:00:48 -0400125 }
126 ]
127 }
128 ],
Jun485caff2020-02-27 14:38:28 -0800129 "auto-end-to-end-postsubmit": [
130 {
Jun01053052021-10-07 17:03:30 -0700131 "name": "AndroidAutomotiveHomeTests",
Jun485caff2020-02-27 14:38:28 -0800132 "options" : [
133 {
Jun01053052021-10-07 17:03:30 -0700134 "include-filter": "android.platform.tests.HomeTest"
135 }
136 ]
137 },
138 {
139 "name": "AndroidAutomotiveNotificationsTests",
140 "options" : [
Jun485caff2020-02-27 14:38:28 -0800141 {
Jun01053052021-10-07 17:03:30 -0700142 "include-filter": "android.platform.tests.NotificationTest"
Jun485caff2020-02-27 14:38:28 -0800143 }
144 ]
145 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -0800146 ]
147}