Merge "Add TEST_MAPPING for gating and logging" am: 05fb4434f3
Change-Id: I701ef53dada696ee5f6e45d8539ca385a08ffc29
This commit is contained in:
7
core/java/android/app/compat/TEST_MAPPING
Normal file
7
core/java/android/app/compat/TEST_MAPPING
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"imports": [
|
||||
{
|
||||
"path": "frameworks/base/services/core/java/com/android/services/compat"
|
||||
}
|
||||
]
|
||||
}
|
||||
21
services/core/java/com/android/server/compat/TEST_MAPPING
Normal file
21
services/core/java/com/android/server/compat/TEST_MAPPING
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"presubmit": [
|
||||
// Unit tests
|
||||
{
|
||||
"name": "FrameworksServicesTests",
|
||||
"options": [
|
||||
{
|
||||
"include-filter": "com.android.server.compat"
|
||||
}
|
||||
]
|
||||
},
|
||||
// Tests for the TestRule
|
||||
{
|
||||
"name": "PlatformCompatGating"
|
||||
},
|
||||
// CTS tests
|
||||
{
|
||||
"name": "CtsAppCompatHostTestCases#"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -18,6 +18,7 @@ android_test {
|
||||
name: "PlatformCompatGating",
|
||||
// Only compile source java files in this apk.
|
||||
srcs: ["src/**/*.java"],
|
||||
test_suites: ["device-tests"],
|
||||
static_libs: [
|
||||
"junit",
|
||||
"androidx.test.runner",
|
||||
|
||||
Reference in New Issue
Block a user