Merge "TEST_MAPPING for BatteryStats" into sc-dev
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"file_patterns": ["Battery[^/]*\\.java"],
|
||||
"name": "FrameworksCoreTests",
|
||||
"options": [
|
||||
{ "include-filter": "com.android.internal.os.BatteryStatsTests" },
|
||||
{ "exclude-annotation": "com.android.internal.os.SkipPresubmit" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"file_patterns": ["Battery[^/]*\\.java"],
|
||||
"name": "FrameworksServicesTests",
|
||||
"options": [
|
||||
{ "include-filter": "com.android.server.am.BatteryStatsServiceTest" },
|
||||
{ "include-filter": "com.android.server.am.MeasuredEnergySnapshotTest" },
|
||||
{ "include-filter": "com.android.server.am.BatteryExternalStatsWorkerTest" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "FrameworksCoreTests",
|
||||
"options": [
|
||||
|
||||
19
core/java/com/android/internal/power/TEST_MAPPING
Normal file
19
core/java/com/android/internal/power/TEST_MAPPING
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "FrameworksCoreTests",
|
||||
"options": [
|
||||
{ "include-filter": "com.android.internal.os.BatteryStatsTests" },
|
||||
{ "exclude-annotation": "com.android.internal.os.SkipPresubmit" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "FrameworksServicesTests",
|
||||
"options": [
|
||||
{ "include-filter": "com.android.server.am.BatteryStatsServiceTest" },
|
||||
{ "include-filter": "com.android.server.am.MeasuredEnergySnapshotTest" },
|
||||
{ "include-filter": "com.android.server.am.BatteryExternalStatsWorkerTest" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user