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:
Julia Reynolds
2023-06-02 18:19:18 -04:00
parent 87ab1ffb58
commit e0b4af0f2f
2 changed files with 98 additions and 0 deletions

View 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"
}
]
}

View 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"
}
]
}