Merge "Add TEST_MAPPING for gating and logging"
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",
|
name: "PlatformCompatGating",
|
||||||
// Only compile source java files in this apk.
|
// Only compile source java files in this apk.
|
||||||
srcs: ["src/**/*.java"],
|
srcs: ["src/**/*.java"],
|
||||||
|
test_suites: ["device-tests"],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"junit",
|
"junit",
|
||||||
"androidx.test.runner",
|
"androidx.test.runner",
|
||||||
|
|||||||
Reference in New Issue
Block a user