1{ 2 // Curious where your @Scenario tests will run? 3 // 4 // @Ignore: Will not run in any configuration 5 // 6 // @FlakyTest: Tests that don't block pre/postsubmit but are staged to run known failures 7 // 8 // @Postsubmit: Runs in platinum suite and blocks droidfood in postsubmit 9 // 10 // @PlatinumTest: As of May, 2023, running in postsubmit. Set to run in presubmit as part of 11 // v2/android-platinum/suite-test-mapping-platinum-sysui 12 // Please DO NOT annotate new or old tests with @PlatinumTest annotation without discussing 13 // with mdb:android-platinum 14 // 15 // As of May, 2023, If you don't use @Postsubmit, your new test will immediately 16 // block presubmit, which is probably NOT what you want. This will change effectively once 17 // we move to @PlatinumTest annotation. 18 19 // v2/sysui/test-mapping-presubmit-sysui_cloud-tf 20 "presubmit-sysui": [ 21 { 22 "name": "PlatformScenarioTests", 23 "options": [ 24 { 25 "include-filter": "android.platform.test.scenario.sysui" 26 }, 27 { 28 "include-annotation": "android.platform.test.scenario.annotation.Scenario" 29 }, 30 { 31 "exclude-annotation": "org.junit.Ignore" 32 }, 33 { 34 "exclude-annotation": "android.platform.test.annotations.Postsubmit" 35 }, 36 { 37 "exclude-annotation": "android.platform.test.annotations.FlakyTest" 38 }, 39 { 40 "exclude-annotation": "androidx.test.filters.FlakyTest" 41 } 42 ] 43 } 44 ], 45 // v2/android-virtual-infra/test_mapping/presubmit-avd 46 "presubmit": [ 47 { 48 "name": "SystemUIGoogleTests", 49 "options": [ 50 { 51 "exclude-annotation": "org.junit.Ignore" 52 }, 53 { 54 "exclude-annotation": "androidx.test.filters.FlakyTest" 55 } 56 ] 57 }, 58 { 59 // TODO(b/251476085): Consider merging with SystemUIGoogleScreenshotTests (in U+) 60 "name": "SystemUIGoogleBiometricsScreenshotTests", 61 "options": [ 62 { 63 "exclude-annotation": "org.junit.Ignore" 64 }, 65 { 66 "exclude-annotation": "androidx.test.filters.FlakyTest" 67 } 68 ] 69 }, 70 { 71 // Permission indicators 72 "name": "CtsPermission3TestCases", 73 "options": [ 74 { 75 "exclude-annotation": "org.junit.Ignore" 76 }, 77 { 78 "exclude-annotation": "androidx.test.filters.FlakyTest" 79 }, 80 { 81 "include-filter": "android.permission3.cts.CameraMicIndicatorsPermissionTest" 82 } 83 ] 84 }, 85 { 86 // Permission indicators 87 "name": "CtsVoiceRecognitionTestCases", 88 "options": [ 89 { 90 "exclude-annotation": "org.junit.Ignore" 91 }, 92 { 93 "exclude-annotation": "androidx.test.filters.FlakyTest" 94 } 95 ] 96 } 97 ], 98 "auto-end-to-end-postsubmit": [ 99 { 100 "name": "AndroidAutomotiveHomeTests", 101 "options" : [ 102 { 103 "include-filter": "android.platform.tests.HomeTest" 104 } 105 ] 106 }, 107 { 108 "name": "AndroidAutomotiveNotificationsTests", 109 "options" : [ 110 { 111 "include-filter": "android.platform.tests.NotificationTest" 112 } 113 ] 114 } 115 ], 116 "silver-sysui": [ 117 { 118 "name": "PlatformScenarioTests", 119 "options": [ 120 { 121 "include-filter": "android.platform.test.scenario.sysui" 122 }, 123 { 124 "include-annotation": "android.platform.test.scenario.annotation.Scenario" 125 }, 126 { 127 "exclude-annotation": "org.junit.Ignore" 128 }, 129 { 130 "exclude-annotation": "android.platform.test.annotations.PlatinumTest" 131 }, 132 { 133 "exclude-annotation": "android.platform.test.annotations.FlakyTest" 134 }, 135 { 136 "exclude-annotation": "androidx.test.filters.FlakyTest" 137 } 138 ] 139 } 140 ] 141} 142