Merge "Add TEST_MAPPING for gating and logging" am: 05fb4434f3

Change-Id: I701ef53dada696ee5f6e45d8539ca385a08ffc29
This commit is contained in:
Automerger Merge Worker
2020-02-10 21:24:31 +00:00
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
{
"imports": [
{
"path": "frameworks/base/services/core/java/com/android/services/compat"
}
]
}

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

View File

@@ -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",