Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32827511 authored by Lais Andrade's avatar Lais Andrade
Browse files

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
parent 78d05e22
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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",