Run more tests in presubmit
If notification policy/system_server code changes, run CTS tests in presubmit Test: build Fixes: 280576227 Change-Id: Ifd4ee70799bf3a474bc917ddfa9f053f25faa1b2
This commit is contained in:
49
core/java/android/service/notification/TEST_MAPPING
Normal file
49
core/java/android/service/notification/TEST_MAPPING
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "CtsNotificationTestCases",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.LargeTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "FrameworksUiServicesTests",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.LargeTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"postsubmit": [
|
||||
{
|
||||
"name": "CtsNotificationTestCases"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "CtsNotificationTestCases",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.LargeTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "FrameworksUiServicesTests",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "android.platform.test.annotations.LargeTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.LargeTest"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"postsubmit": [
|
||||
{
|
||||
"name": "CtsNotificationTestCases"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user