Merge "Add TEST_MAPPING for gating and logging"

This commit is contained in:
Treehugger Robot
2020-02-10 21:12:10 +00:00
committed by Gerrit Code Review
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",