1{
2    "presubmit": [
3        {
4            "name": "CtsRoleTestCases",
5            "options": [
6                {
7                    "exclude-annotation": "androidx.test.filters.FlakyTest"
8                }
9            ]
10        }
11    ],
12    "mainline-presubmit": [
13        {
14            "name": "CtsRoleTestCases[com.google.android.permission.apex]",
15            "options": [
16                // TODO(b/238677748): These two tests currently fails on R base image
17                {
18                    "exclude-filter": "android.app.role.cts.RoleManagerTest#openDefaultAppListThenIsNotDefaultAppInList"
19                },
20                {
21                    "exclude-filter": "android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenPermissionIsRevoked"
22                },
23                {
24                    "exclude-annotation": "androidx.test.filters.FlakyTest"
25                }
26            ]
27        }
28    ],
29    "permission-mainline-presubmit": [
30        {
31            "name": "CtsRoleTestCases",
32            "options": [
33                // TODO(b/238677748): These two tests currently fails on R base image
34                {
35                    "exclude-filter": "android.app.role.cts.RoleManagerTest#openDefaultAppListThenIsNotDefaultAppInList"
36                },
37                {
38                    "exclude-filter": "android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenPermissionIsRevoked"
39                },
40                {
41                    "exclude-annotation": "androidx.test.filters.FlakyTest"
42                }
43            ]
44        }
45    ],
46    "postsubmit": [
47        {
48            "name": "CtsRoleTestCases"
49        }
50    ],
51    "mainline-postsubmit": [
52        {
53            "name": "CtsRoleTestCases[com.google.android.permission.apex]",
54            "options": [
55                // TODO(b/238677748): These two tests currently fails on R base image
56                {
57                    "exclude-filter": "android.app.role.cts.RoleManagerTest#openDefaultAppListThenIsNotDefaultAppInList"
58                },
59                {
60                    "exclude-filter": "android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenPermissionIsRevoked"
61                }
62            ]
63        }
64    ]
65}
66