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
This commit is contained in:
Naomi Musgrave
2023-01-11 12:34:22 +00:00
parent 2d26e18d52
commit f64e96ef62
3 changed files with 36 additions and 13 deletions

View File

@@ -0,0 +1,18 @@
{
"presubmit": [
{
"name": "MediaProjectionTests",
"options": [
{
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
},
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "org.junit.Ignore"
}
]
}
]
}

View File

@@ -1,13 +0,0 @@
{
"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"}
]
}
]
}

View File

@@ -0,0 +1,18 @@
{
"presubmit": [
{
"name": "MediaProjectionTests",
"options": [
{
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
},
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "org.junit.Ignore"
}
]
}
]
}