Add TEST_MAPPING for UsageStats.

All tests under the packages android.app.usage and
com.android.server.usage (except StorageStatsServiceTest) will now run
in presubmit.
Also added UsageStatsTest CTS to postsubmit.

Bug: 143221092
Test: services/usage/java/com/android/server/usage/ atest
Change-Id: Ibac2b7d5a4f47f354e9190ff6df3aa16002f92f9
This commit is contained in:
Varun Shah
2019-10-23 13:32:24 -07:00
parent e93875e1d3
commit 31d134630c

View File

@@ -0,0 +1,33 @@
{
"presubmit": [
{
"name": "FrameworksCoreTests",
"options": [
{
"include-filter": "android.app.usage"
}
]
},
{
"name": "FrameworksServicesTests",
"options": [
{
"include-filter": "com.android.server.usage"
},
{
"exclude-filter": "com.android.server.usage.StorageStatsServiceTest"
}
]
}
],
"postsubmit": [
{
"name": "CtsUsageStatsTestCases",
"options": [
{
"include-filter": "android.app.usage.cts.UsageStatsTest"
}
]
}
]
}