summaryrefslogtreecommitdiff
path: root/services/core/java/com/android/server/TEST_MAPPING
blob: 25337a4343296fe7a25df2085bf38c4e714032ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
    "presubmit": [
        {
            "name": "CtsLocationFineTestCases",
            "options": [
                {
                    // TODO: Wait for test to deflake - b/293934372
                    "exclude-filter":"android.location.cts.fine.ScanningSettingsTest"
                }
             ]
        },
        {
            "name": "CtsLocationCoarseTestCases"
        },
        {
            "name": "CtsLocationNoneTestCases"
        },
        {
            "name": "CtsToastTestCases",
            "file_patterns": ["NotificationManagerService\\.java"]
        },
        {
            "name": "CtsWindowManagerDeviceWindow",
            "options": [
                {
                    "include-filter": "android.server.wm.window.ToastWindowTest"
                }
            ],
            "file_patterns": ["NotificationManagerService\\.java"]
        },
        {
            "name": "CtsScopedStorageCoreHostTest",
            "file_patterns": ["StorageManagerService\\.java"]
        },
        {
            "name": "CtsScopedStorageHostTest",
            "file_patterns": ["StorageManagerService\\.java"]
        },
        {
            "name": "CtsScopedStorageDeviceOnlyTest",
            "file_patterns": ["StorageManagerService\\.java"]
        },
        {
            "name": "CtsScopedStorageBypassDatabaseOperationsTest",
            "file_patterns": ["StorageManagerService\\.java"]
        },
        {
            "name": "CtsScopedStorageGeneralTest",
            "file_patterns": ["StorageManagerService\\.java"]
        },
        {
            "name": "CtsScopedStorageRedactUriTest",
            "file_patterns": ["StorageManagerService\\.java"]
        },
        {
            "name": "FrameworksMockingServicesTests",
            "options": [
                {
                    "include-filter": "com.android.server.sensorprivacy"
                }
            ],
            "file_patterns": ["SensorPrivacyService\\.java"]
        },
        {
            "name": "FrameworksServicesTests",
            "options": [
                {
                    "include-filter": "com.android.server.BinaryTransparencyServiceTest"
                }
            ],
            "file_patterns": ["BinaryTransparencyService\\.java"]
        },
        {
            "name": "FrameworksServicesTests",
            "options": [
                {
                    "include-filter": "com.android.server.PinnerServiceTest"
                },
                {
                    "exclude-annotation": "org.junit.Ignore"
                }
            ],
            "file_patterns": ["PinnerService\\.java"]
        },
        {
            "name": "BinaryTransparencyHostTest",
            "file_patterns": ["BinaryTransparencyService\\.java"]
        },
        {
            // GWP-ASan's CTS test ensures that recoverable tombstones work,
            // which is emitted by the NativeTombstoneManager.
            "name": "CtsGwpAsanTestCases"
        },
        {
            "name": "FrameworksVcnTests",
            "file_patterns": ["VcnManagementService\\.java"]
        },
        {
            "name": "CtsVcnTestCases",
            "file_patterns": ["VcnManagementService\\.java"]
        },
        {
            "name": "FrameworksVpnTests",
            "options": [
                {
                    "exclude-annotation": "com.android.testutils.SkipPresubmit"
                }
            ],
            "file_patterns": ["VpnManagerService\\.java"]
        },
        {
            "name": "FrameworksNetTests"
        },
        {
            "name": "CtsSuspendAppsTestCases"
        }
    ],
    "presubmit-large": [
        {
            "name": "CtsContentTestCases",
            "options": [
                {
                    "include-filter": "android.content.cts.ClipboardManagerTest"
                },
                {
                    "include-filter": "android.content.cts.ClipDataTest"
                },
                {
                    "include-filter": "android.content.cts.ClipDescriptionTest"
                }
            ],
            "file_patterns": ["ClipboardService\\.java"]
        },
        {
            "name": "CtsHostsideNetworkTests",
            "options": [
                {
                    "exclude-annotation": "androidx.test.filters.FlakyTest"
                },
                {
                    "exclude-annotation": "android.platform.test.annotations.FlakyTest"
                },
                {
                    "exclude-annotation": "com.android.testutils.SkipPresubmit"
                }
            ],
            "file_patterns": ["VpnManagerService\\.java"]
        }
    ],
    "postsubmit": [
        // these tests need to establish SLO baseline, see go/test-mapping-slo-guide
        {
            "name": "CtsPackageManagerTestCases"
        },
        {
            "name": "FrameworksServicesTests",
            "options": [
                {
                    "include-filter": "com.android.server.PinnerServiceTest"
                },
                {
                    "exclude-annotation": "org.junit.Ignore"
                }
            ],
            "file_patterns": ["PinnerService\\.java"]
        }
    ]
}