| 1 |
{ |
| 2 |
"presubmit": [ |
| 3 |
{ |
| 4 |
"file_patterns": ["Bugreport[^/]*\\.java"], |
| 5 |
"name": "BugreportManagerTestCases", |
| 6 |
"options": [ |
| 7 |
{ |
| 8 |
"exclude-annotation": "androidx.test.filters.LargeTest" |
| 9 |
} |
| 10 |
] |
| 11 |
}, |
| 12 |
{ |
| 13 |
"file_patterns": ["Bugreport[^/]*\\.java"], |
| 14 |
"name": "CtsBugreportTestCases", |
| 15 |
"options": [ |
| 16 |
{ |
| 17 |
"exclude-annotation": "androidx.test.filters.LargeTest" |
| 18 |
} |
| 19 |
] |
| 20 |
}, |
| 21 |
{ |
| 22 |
"file_patterns": ["Bugreport[^/]*\\.java"], |
| 23 |
"name": "ShellTests", |
| 24 |
"options": [ |
| 25 |
{ |
| 26 |
"exclude-annotation": "androidx.test.filters.LargeTest" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"exclude-annotation": "androidx.test.filters.FlakyTest" |
| 30 |
} |
| 31 |
] |
| 32 |
}, |
| 33 |
{ |
| 34 |
"file_patterns": [ |
| 35 |
"BatteryStats[^/]*\\.java", |
| 36 |
"BatteryUsageStats[^/]*\\.java", |
| 37 |
"PowerComponents\\.java", |
| 38 |
"[^/]*BatteryConsumer[^/]*\\.java" |
| 39 |
], |
| 40 |
"name": "FrameworksCoreTests", |
| 41 |
"options": [ |
| 42 |
{ "include-filter": "com.android.internal.os.BatteryStatsTests" }, |
| 43 |
{ "exclude-annotation": "com.android.internal.os.SkipPresubmit" } |
| 44 |
] |
| 45 |
}, |
| 46 |
{ |
| 47 |
"file_patterns": [ |
| 48 |
"BatteryStats[^/]*\\.java", |
| 49 |
"BatteryUsageStats[^/]*\\.java", |
| 50 |
"PowerComponents\\.java", |
| 51 |
"[^/]*BatteryConsumer[^/]*\\.java" |
| 52 |
], |
| 53 |
"name": "FrameworksServicesTests", |
| 54 |
"options": [ |
| 55 |
{ "include-filter": "com.android.server.am.BatteryStatsServiceTest" }, |
| 56 |
{ "include-filter": "com.android.server.am.MeasuredEnergySnapshotTest" }, |
| 57 |
{ "include-filter": "com.android.server.am.BatteryExternalStatsWorkerTest" } |
| 58 |
] |
| 59 |
}, |
| 60 |
{ |
| 61 |
"file_patterns": [ |
| 62 |
"Parcel\\.java", |
| 63 |
"[^/]*Bundle[^/]*\\.java" |
| 64 |
], |
| 65 |
"name": "FrameworksMockingCoreTests", |
| 66 |
"options": [ |
| 67 |
{ "include-filter": "android.os.BundleRecyclingTest"}, |
| 68 |
{ "exclude-annotation": "androidx.test.filters.FlakyTest" }, |
| 69 |
{ "exclude-annotation": "org.junit.Ignore" } |
| 70 |
] |
| 71 |
}, |
| 72 |
{ |
| 73 |
"file_patterns": [ |
| 74 |
"BatteryUsageStats[^/]*\\.java", |
| 75 |
"PowerComponents\\.java", |
| 76 |
"[^/]*BatteryConsumer[^/]*\\.java" |
| 77 |
], |
| 78 |
"name": "BatteryUsageStatsProtoTests" |
| 79 |
}, |
| 80 |
{ |
| 81 |
"file_patterns": ["SharedMemory[^/]*\\.java"], |
| 82 |
"name": "CtsOsTestCases", |
| 83 |
"options": [ |
| 84 |
{ |
| 85 |
"include-filter": "android.os.cts.SharedMemoryTest" |
| 86 |
} |
| 87 |
] |
| 88 |
} |
| 89 |
], |
| 90 |
"postsubmit": [ |
| 91 |
{ |
| 92 |
"file_patterns": ["Bugreport[^/]*\\.java"], |
| 93 |
"name": "BugreportManagerTestCases" |
| 94 |
}, |
| 95 |
{ |
| 96 |
"file_patterns": ["Bugreport[^/]*\\.java"], |
| 97 |
"name": "CtsBugreportTestCases" |
| 98 |
}, |
| 99 |
{ |
| 100 |
"file_patterns": ["Bugreport[^/]*\\.java"], |
| 101 |
"name": "ShellTests" |
| 102 |
} |
| 103 |
] |
| 104 |
} |