blob: 35b906b0b8fede4ee889459f53423e7199b1557c [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
Julia Tuttle49887b22020-08-17 13:00:48 -04004 "presubmit": [
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 {
Lucas Dupin46363d4d2019-11-25 12:46:38 -080018 "exclude-annotation": "androidx.test.filters.FlakyTest"
Julia Tuttle49887b22020-08-17 13:00:48 -040019 },
20 {
21 "exclude-annotation": "android.platform.helpers.Staging"
22 },
23 {
24 "exclude-annotation": "android.platform.test.annotations.Postsubmit"
Lucas Dupin46363d4d2019-11-25 12:46:38 -080025 }
26 ]
27 }
Lucas Dupine5dc1d92020-01-27 15:02:59 -080028 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040029
30 // Curious where your @Scenario tests will run?
31 //
Julia Tuttleed036552021-04-06 12:02:50 -040032 // @Ignore: nowhere
33 // @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or
34 // presubmit
Julia Tuttle49887b22020-08-17 13:00:48 -040035 // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
36 // none of the above: in presubmit, postsubmit, and staged-postsubmit
37 //
38 // Therefore, please annotate new tests with @Staging, then with @Postsubmit
39 // once they're ready for postsubmit, then with neither once they're ready
40 // for presubmit.
41 //
42 // If you don't use @Staging or @Postsubmit, your new test will immediately
43 // block presubmit, which is probably not what you want!
Lucas Dupine5dc1d92020-01-27 15:02:59 -080044 "platinum-postsubmit": [
45 {
46 "name": "PlatformScenarioTests",
47 "options": [
48 {
49 "include-filter": "android.platform.test.scenario.sysui"
50 },
51 {
52 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
53 },
54 {
Julia Tuttlea3e4e3a2020-03-11 17:09:58 -040055 "exclude-annotation": "org.junit.Ignore"
56 },
57 {
Lucas Dupine5dc1d92020-01-27 15:02:59 -080058 "exclude-annotation": "androidx.test.filters.FlakyTest"
59 },
60 {
61 "exclude-annotation": "android.platform.helpers.Staging"
62 }
63 ]
64 }
Jun485caff2020-02-27 14:38:28 -080065 ],
Julia Tuttle49887b22020-08-17 13:00:48 -040066 "staged-platinum-postsubmit": [
67 {
68 "name": "PlatformScenarioTests",
69 "options": [
70 {
71 "include-filter": "android.platform.test.scenario.sysui"
72 },
73 {
74 "include-annotation": "android.platform.test.scenario.annotation.Scenario"
75 },
76 {
77 "exclude-annotation": "org.junit.Ignore"
Julia Tuttle49887b22020-08-17 13:00:48 -040078 }
79 ]
80 }
81 ],
Jun485caff2020-02-27 14:38:28 -080082 "auto-end-to-end-postsubmit": [
83 {
84 "name": "AndroidAutoUiTests",
85 "options" : [
86 {
87 "include-filter": "android.test.functional.auto.apps.HomeHelperTest"
88 },
89 {
90 "include-filter": "android.test.functional.auto.apps.NotificationHelperTest"
91 }
92 ]
93 }
Lucas Dupin46363d4d2019-11-25 12:46:38 -080094 ]
95}