Add TEST_MAPPING for gating and logging

The tests included are unit tests for the implementation (under
FrameworksServicesTests), for the corresponding TestRule
(PlatformCompatGating) and CTS tests.

Bug: 137821288
Test: cd frameworks/base/core/java/android/app/compat && atest
Test: cd frameworks/base/services/core/java/com/android/server/compat \
          && atest
Change-Id: I1a652775715f1a9738cc72725303bc78dfa17d03
This commit is contained in:
Andrei Onea
2020-02-07 19:37:28 +00:00
committed by Andrei-Valentin Onea
parent 142a3f86e3
commit 1a0195349b
3 changed files with 29 additions and 0 deletions

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