xref: /aosp_15_r20/frameworks/base/packages/SystemUI/TEST_MAPPING (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1{
2  // Curious where your @Scenario tests are running?
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  //             Tests will run in postsubmit on sysui-e2e-staged suite.
8  //
9  //
10  // @PlatinumTest: Marking your test with this annotation will put your tests in presubmit.
11  //                Please DO NOT annotate new or old tests with @PlatinumTest annotation
12  //                without discussing with mdb:android-platinum
13  //
14  // @Postsubmit: Do not use this annotation for e2e tests. This won't have any affect.
15
16  // For all other e2e tests which are not platinum, they run in sysui-silver suite,that
17  // primarily runs in postsubmit with an exception to e2e test related changes.
18  // If you want to see one shot place to monitor all e2e tests, look for
19  // sysui-e2e-staged suite.
20
21  // v2/android-virtual-infra/test_mapping/presubmit-avd
22  "presubmit": [
23    {
24      "name": "SystemUIGoogleTests"
25    },
26    {
27      // Permission indicators
28      "name": "CtsPermissionUiTestCases",
29      "options": [
30        {
31          "exclude-annotation": "org.junit.Ignore"
32        },
33        {
34          "exclude-annotation": "androidx.test.filters.FlakyTest"
35        },
36        {
37          "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
38        }
39      ]
40    },
41    {
42      // Permission indicators
43      "name": "CtsVoiceRecognitionTestCases"
44    }
45  ],
46
47  "auto-end-to-end-postsubmit": [
48    {
49      "name": "AndroidAutomotiveHomeTests",
50      "options" : [
51        {
52          "include-filter": "android.platform.tests.HomeTest"
53        },
54        {
55          "exclude-filter": "android.platform.tests.HomeTest#testAssistantWidget"
56        }
57      ]
58    }
59  ],
60
61  "postsubmit": [
62    {
63      // Permission indicators
64      "name": "CtsPermissionUiTestCases",
65      "options": [
66        {
67          "include-filter": "android.permissionui.cts.CameraMicIndicatorsPermissionTest"
68        }
69      ]
70    }
71  ],
72
73  // v2/sysui/suite/test-mapping-sysui-screenshot-test
74  "sysui-screenshot-test": [
75    {
76      "name": "SystemUIGoogleScreenshotTests",
77      "options": [
78        {
79          "exclude-annotation": "org.junit.Ignore"
80        },
81        {
82          "exclude-annotation": "androidx.test.filters.FlakyTest"
83        },
84        {
85          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
86        },
87        {
88          "exclude-annotation": "android.platform.test.annotations.Postsubmit"
89        }
90      ]
91    },
92    {
93      "name": "SystemUIGoogleKeyguardScreenshotTests",
94      "options": [
95        {
96          "exclude-annotation": "org.junit.Ignore"
97        },
98        {
99          "exclude-annotation": "androidx.test.filters.FlakyTest"
100        },
101        {
102          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
103        },
104        {
105          "exclude-annotation": "android.platform.test.annotations.Postsubmit"
106        }
107      ]
108    }
109  ],
110
111  // v2/sysui/suite/test-mapping-sysui-screenshot-test-staged
112  "sysui-screenshot-test-staged": [
113    {
114      "name": "SystemUIGoogleScreenshotTests",
115      "options": [
116        {
117          "exclude-annotation": "org.junit.Ignore"
118        },
119        {
120          "include-annotation": "androidx.test.filters.FlakyTest"
121        }
122      ]
123    },
124    {
125      "name": "SystemUIGoogleKeyguardScreenshotTests",
126      "options": [
127        {
128          "exclude-annotation": "org.junit.Ignore"
129        },
130        {
131          "include-annotation": "androidx.test.filters.FlakyTest"
132        }
133      ]
134    }
135  ],
136  "sysui-robo-test": [
137    {
138      "name": "SystemUIGoogleRoboRNGTests"
139    },
140    {
141      "name": "SystemUIGoogleRobo2RNGTests"
142    }
143  ],
144  "imports": [
145    {
146      "path": "cts/tests/tests/multiuser"
147    }
148  ],
149
150  "sysui-e2e-presubmit": [
151    {
152      "name": "PlatformScenarioTests_SysUI_Presubmit"
153    }
154  ]
155}
156