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