summaryrefslogtreecommitdiff
path: root/TEST_MAPPING
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2021-02-16 16:11:41 +0000
committer Lais Andrade <lsandrade@google.com> 2021-02-22 01:08:39 +0000
commitfc7fd1e06d805fd1bb38700027d7beb2d6a6761d (patch)
tree14598b0d6f0560f4c3ce5b075683f0df1aa48cb2 /TEST_MAPPING
parent8a6a2bce6c1a1d46c7516baa9f7501f2c75caa37 (diff)
Add missing permission tests for VibratorManagerService
Add a regression test to cover the SecurityException that caused the linked bug. The test fails without the fix cl merged. Also add all missing permission tests for the VibratorManagerService API, and adds this test to presubmit. Bug: 180324695 Test: VibratorManagerServicePermissionTest Change-Id: I71238fcb4d5204aa7861ed4855579750f391102a
Diffstat (limited to 'TEST_MAPPING')
-rw-r--r--TEST_MAPPING14
1 files changed, 14 insertions, 0 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 6c265bc1a338..d08c52782fb3 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -39,6 +39,20 @@
]
},
{
+ "name": "FrameworkPermissionTests",
+ "options": [
+ {
+ "include-annotation": "android.platform.test.annotations.Presubmit"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ },
+ {
+ "exclude-annotation": "org.junit.Ignore"
+ }
+ ]
+ },
+ {
"name": "FrameworksServicesTests",
"options": [
{