Add FrameworksVibratorServicesTests to android/os test mapping
Add file-pattern presubmit test mapping for changes in vibrator-related
sources from android.os.* and android.os.vibrator.*.
This ensures that any changes in these source folders will also trigger
FrameworksVibratorServicesTests, which relies on VibrationEffect and
other client classes.
Fix: 290760064
Test: atest --test-mapping \
services/core/java/android/os:presubmit
Change-Id: Id677a39f9762ff050968be71217b31590c7a2d73
This commit is contained in:
@@ -13,6 +13,19 @@
|
||||
{"exclude-annotation": "org.junit.Ignore"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file_patterns": [
|
||||
"[^/]*(Vibrator|Vibration)[^/]*\\.java",
|
||||
"vibrator/.*"
|
||||
],
|
||||
"name": "FrameworksVibratorServicesTests",
|
||||
"options": [
|
||||
{"exclude-annotation": "android.platform.test.annotations.LargeTest"},
|
||||
{"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
|
||||
{"exclude-annotation": "androidx.test.filters.FlakyTest"},
|
||||
{"exclude-annotation": "org.junit.Ignore"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file_patterns": ["Bugreport[^/]*\\.java"],
|
||||
"name": "BugreportManagerTestCases",
|
||||
|
||||
Reference in New Issue
Block a user