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

Commit 150b8d7d authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Add TEST_MAPPING for displayservicetests

- Run display tests when either display code is changed or when display
  tests code are changed.

Bug: 290761553
Test: atest --test-mapping services/core/java/com/android/server/display:presubmit

Merged-In: I55bb88ea2ab656d5fbdd3a23fdc2a6371384aec9
Change-Id: I83a7bb3167dc186f638356e909bfdfe03ee30b54
parent 0aa176c0
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
{
    "presubmit": [
        {
            "name": "FrameworksMockingServicesTests",
            "options": [
                {"include-filter": "com.android.server.display"},
                {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
                {"exclude-annotation": "androidx.test.filters.FlakyTest"}
            ]
        },
        {
            "name": "FrameworksServicesTests",
            "name": "DisplayServiceTests",
            "options": [
                {"include-filter": "com.android.server.display"},
                {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
@@ -31,5 +23,14 @@
                }
            ]
        }
    ],
    "postsubmit": [
        {
            "name": "DisplayServiceTests",
            "options": [
                {"include-filter": "com.android.server.display"},
                {"exclude-annotation": "org.junit.Ignore"}
            ]
        }
    ]
}
+2 −8
Original line number Diff line number Diff line
{
  "presubmit": [
  "imports": [
    {
      "name": "DisplayServiceTests",
      "options": [
        {"include-filter": "com.android.server.display"},
        {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
      "path": "frameworks/base/services/core/java/com/android/server/display"
    }
  ]
}