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

Commit f64e96ef authored by Naomi Musgrave's avatar Naomi Musgrave
Browse files

Update presubmit mapping for MediaProjection & related

The desired end state:
1) run unit tests when anything in `android.media.projection` changes
2) TODO - tracked by b/265302522 - run CTS tests when anything in `android.media.projection` changes

Tested with "test-mapping" command; runs all presubmit tests in the given directory and parent folders.

Bug: 245745197
Test: atest --test-mapping media/java/android/media/projection:presubmit
Change-Id: Iaffc209af5ae9433455f184ddbacfb41b6f6094d
parent 2d26e18d
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "MediaProjectionTests",
      "options": [
        {
          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation": "org.junit.Ignore"
        }
      ]
    }
  ]
}
+0 −13
Original line number Diff line number Diff line
{
    "presubmit": [
        {
            "name": "FrameworksServicesTests",
            "options": [
                {"include-filter": "android.media.projection.mediaprojectiontests"},
                {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
                {"exclude-annotation": "androidx.test.filters.FlakyTest"},
                {"exclude-annotation": "org.junit.Ignore"}
            ]
        }
    ]
}
+18 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "MediaProjectionTests",
      "options": [
        {
          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation": "org.junit.Ignore"
        }
      ]
    }
  ]
}