Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 1 | { |
| 2 | // Looking for unit test presubmit configuration? |
| 3 | // This currently lives in ATP config apct/system_ui/unit_test |
vadimt | a195fd0 | 2022-06-14 13:47:51 -0700 | [diff] [blame] | 4 | "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 Dubey | fb754d4 | 2023-01-19 12:33:22 +0000 | [diff] [blame] | 19 | }, |
| 20 | { |
| 21 | "exclude-annotation": "android.platform.test.annotations.FlakyTest" |
vadimt | a195fd0 | 2022-06-14 13:47:51 -0700 | [diff] [blame] | 22 | } |
| 23 | ] |
| 24 | } |
| 25 | ], |
vadimt | 8c1af8c | 2022-02-01 13:43:14 -0800 | [diff] [blame] | 26 | "presubmit": [ |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 27 | { |
Fabian Kozynski | 001e28c | 2021-08-13 11:09:09 -0400 | [diff] [blame] | 28 | "name": "SystemUIGoogleTests", |
| 29 | "options": [ |
| 30 | { |
| 31 | "exclude-annotation": "org.junit.Ignore" |
| 32 | }, |
| 33 | { |
| 34 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 35 | } |
| 36 | ] |
| 37 | }, |
Ale Nijamkin | f48b8c3 | 2023-01-08 00:30:46 +0000 | [diff] [blame] | 38 | { |
| 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 Bolinger | 3ca32118 | 2022-12-10 02:02:12 +0000 | [diff] [blame] | 50 | { |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 51 | // Permission indicators |
Nate Myren | 1db39b6 | 2023-01-31 15:04:22 -0800 | [diff] [blame^] | 52 | "name": "CtsPermission3TestCases", |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 53 | "options": [ |
| 54 | { |
| 55 | "exclude-annotation": "org.junit.Ignore" |
| 56 | }, |
| 57 | { |
| 58 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
Nate Myren | 1db39b6 | 2023-01-31 15:04:22 -0800 | [diff] [blame^] | 59 | }, |
| 60 | { |
| 61 | "include-filter": "android.permission3.cts.CameraMicIndicatorsPermissionTest" |
Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 62 | } |
| 63 | ] |
| 64 | }, |
| 65 | { |
| 66 | // Permission indicators |
| 67 | "name": "CtsVoiceRecognitionTestCases", |
| 68 | "options": [ |
| 69 | { |
| 70 | "exclude-annotation": "org.junit.Ignore" |
| 71 | }, |
| 72 | { |
| 73 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
| 74 | } |
| 75 | ] |
Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 76 | } |
Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 77 | ], |
Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 78 | |
| 79 | // Curious where your @Scenario tests will run? |
| 80 | // |
Julia Tuttle | ed03655 | 2021-04-06 12:02:50 -0400 | [diff] [blame] | 81 | // @Ignore: nowhere |
Sam Dubey | fb754d4 | 2023-01-19 12:33:22 +0000 | [diff] [blame] | 82 | // @FlakyTest: in staged-postsubmit, but not blocking postsubmit or |
| 83 | // presubmit |
Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 84 | // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit |
| 85 | // none of the above: in presubmit, postsubmit, and staged-postsubmit |
| 86 | // |
Sam Dubey | fb754d4 | 2023-01-19 12:33:22 +0000 | [diff] [blame] | 87 | // Ideally, please annotate new tests with @FlakyTest, then with @Postsubmit |
| 88 | // once they're ready for postsubmit as they will immediately block go/android-platinum, |
| 89 | // then with neither once they're ready for presubmit. |
Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 90 | // |
Sam Dubey | fb754d4 | 2023-01-19 12:33:22 +0000 | [diff] [blame] | 91 | // If you don't use @Postsubmit, your new test will immediately |
Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 92 | // block presubmit, which is probably not what you want! |
Sam Dubey | 65f3aad | 2022-07-18 08:57:41 +0000 | [diff] [blame] | 93 | "sysui-platinum-postsubmit": [ |
Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 94 | { |
| 95 | "name": "PlatformScenarioTests", |
| 96 | "options": [ |
| 97 | { |
| 98 | "include-filter": "android.platform.test.scenario.sysui" |
| 99 | }, |
| 100 | { |
| 101 | "include-annotation": "android.platform.test.scenario.annotation.Scenario" |
| 102 | }, |
| 103 | { |
Julia Tuttle | a3e4e3a | 2020-03-11 17:09:58 -0400 | [diff] [blame] | 104 | "exclude-annotation": "org.junit.Ignore" |
| 105 | }, |
| 106 | { |
Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 107 | "exclude-annotation": "androidx.test.filters.FlakyTest" |
Sam Dubey | fb754d4 | 2023-01-19 12:33:22 +0000 | [diff] [blame] | 108 | }, |
| 109 | { |
| 110 | "exclude-annotation": "android.platform.test.annotations.FlakyTest" |
Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 111 | } |
| 112 | ] |
| 113 | } |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 114 | ], |
Sam Dubey | 65f3aad | 2022-07-18 08:57:41 +0000 | [diff] [blame] | 115 | "sysui-staged-platinum-postsubmit": [ |
Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 116 | { |
| 117 | "name": "PlatformScenarioTests", |
| 118 | "options": [ |
| 119 | { |
| 120 | "include-filter": "android.platform.test.scenario.sysui" |
| 121 | }, |
| 122 | { |
| 123 | "include-annotation": "android.platform.test.scenario.annotation.Scenario" |
| 124 | }, |
| 125 | { |
| 126 | "exclude-annotation": "org.junit.Ignore" |
Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 127 | } |
| 128 | ] |
| 129 | } |
| 130 | ], |
Sam Dubey | 95e92a7 | 2022-08-02 08:41:28 +0000 | [diff] [blame] | 131 | "ironwood-postsubmit": [ |
| 132 | { |
| 133 | "name": "PlatformScenarioTests", |
| 134 | "options": [ |
| 135 | { |
| 136 | "include-annotation": "android.platform.test.annotations.IwTest" |
| 137 | }, |
| 138 | { |
| 139 | "exclude-annotation": "org.junit.Ignore" |
| 140 | }, |
| 141 | { |
| 142 | "include-filter": "android.platform.test.scenario.sysui" |
Sam Dubey | fb754d4 | 2023-01-19 12:33:22 +0000 | [diff] [blame] | 143 | }, |
| 144 | { |
| 145 | "exclude-annotation": "android.platform.test.annotations.FlakyTest" |
Sam Dubey | 95e92a7 | 2022-08-02 08:41:28 +0000 | [diff] [blame] | 146 | } |
| 147 | ] |
| 148 | } |
| 149 | ], |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 150 | "auto-end-to-end-postsubmit": [ |
| 151 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 152 | "name": "AndroidAutomotiveHomeTests", |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 153 | "options" : [ |
| 154 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 155 | "include-filter": "android.platform.tests.HomeTest" |
| 156 | } |
| 157 | ] |
| 158 | }, |
| 159 | { |
| 160 | "name": "AndroidAutomotiveNotificationsTests", |
| 161 | "options" : [ |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 162 | { |
Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 163 | "include-filter": "android.platform.tests.NotificationTest" |
Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 164 | } |
| 165 | ] |
| 166 | } |
Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 167 | ] |
| 168 | } |