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:
18
media/java/android/media/projection/TEST_MAPPING
Normal file
18
media/java/android/media/projection/TEST_MAPPING
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user