| 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 | 8c1af8c | 2022-02-01 13:43:14 -0800 | [diff] [blame] | 4 |   "presubmit-large": [ | 
| Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 5 |     { | 
 | 6 |       "name": "PlatformScenarioTests", | 
 | 7 |       "options": [ | 
 | 8 |         { | 
 | 9 |             "include-filter": "android.platform.test.scenario.sysui" | 
 | 10 |         }, | 
 | 11 |         { | 
| Lucas Dupin | f1ae707 | 2019-12-03 09:25:52 -0800 | [diff] [blame] | 12 |             "include-annotation": "android.platform.test.scenario.annotation.Scenario" | 
 | 13 |         }, | 
 | 14 |         { | 
| Julia Tuttle | a3e4e3a | 2020-03-11 17:09:58 -0400 | [diff] [blame] | 15 |             "exclude-annotation": "org.junit.Ignore" | 
 | 16 |         }, | 
 | 17 |         { | 
| Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 18 |             "exclude-annotation": "android.platform.test.annotations.Postsubmit" | 
| Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 19 |         } | 
 | 20 |       ] | 
| vadimt | 8c1af8c | 2022-02-01 13:43:14 -0800 | [diff] [blame] | 21 |     } | 
 | 22 |   ], | 
| vadimt | a195fd0 | 2022-06-14 13:47:51 -0700 | [diff] [blame^] | 23 |   "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 |   ], | 
| vadimt | 8c1af8c | 2022-02-01 13:43:14 -0800 | [diff] [blame] | 42 |   "presubmit": [ | 
| Fabian Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 43 |     { | 
| Fabian Kozynski | 001e28c | 2021-08-13 11:09:09 -0400 | [diff] [blame] | 44 |       "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 Kozynski | d3e874b | 2021-04-05 15:29:59 -0400 | [diff] [blame] | 55 |       // 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 Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 77 |     } | 
| Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 78 |   ], | 
| Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 79 |  | 
 | 80 |   // Curious where your @Scenario tests will run? | 
 | 81 |   // | 
| Julia Tuttle | ed03655 | 2021-04-06 12:02:50 -0400 | [diff] [blame] | 82 |   // @Ignore: nowhere | 
 | 83 |   // @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or | 
 | 84 |   // 	presubmit | 
| Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 85 |   // @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! | 
| Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 94 |   "platinum-postsubmit": [ | 
 | 95 |     { | 
 | 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 Tuttle | a3e4e3a | 2020-03-11 17:09:58 -0400 | [diff] [blame] | 105 |             "exclude-annotation": "org.junit.Ignore" | 
 | 106 |         }, | 
 | 107 |         { | 
| Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 108 |             "exclude-annotation": "androidx.test.filters.FlakyTest" | 
| Lucas Dupin | e5dc1d9 | 2020-01-27 15:02:59 -0800 | [diff] [blame] | 109 |         } | 
 | 110 |       ] | 
 | 111 |     } | 
| Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 112 |   ], | 
| Julia Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 113 |   "staged-platinum-postsubmit": [ | 
 | 114 |     { | 
 | 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 Tuttle | 49887b2 | 2020-08-17 13:00:48 -0400 | [diff] [blame] | 125 |         } | 
 | 126 |       ] | 
 | 127 |     } | 
 | 128 |   ], | 
| Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 129 |   "auto-end-to-end-postsubmit": [ | 
 | 130 |     { | 
| Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 131 |       "name": "AndroidAutomotiveHomeTests", | 
| Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 132 |       "options" : [ | 
 | 133 |         { | 
| Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 134 |           "include-filter": "android.platform.tests.HomeTest" | 
 | 135 |         } | 
 | 136 |       ] | 
 | 137 |     }, | 
 | 138 |     { | 
 | 139 |       "name": "AndroidAutomotiveNotificationsTests", | 
 | 140 |       "options" : [ | 
| Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 141 |         { | 
| Jun | 0105305 | 2021-10-07 17:03:30 -0700 | [diff] [blame] | 142 |           "include-filter": "android.platform.tests.NotificationTest" | 
| Jun | 485caff | 2020-02-27 14:38:28 -0800 | [diff] [blame] | 143 |         } | 
 | 144 |       ] | 
 | 145 |     } | 
| Lucas Dupin | 46363d4d | 2019-11-25 12:46:38 -0800 | [diff] [blame] | 146 |   ] | 
 | 147 | } |