go/test-module-config This change only creates new names for existing tests. A follow-up CL will adjust TEST_MAPPING files to use these names. Where appropriate, minor changes to the .bp file were made to fix missing test_suites. Flag: TEST_ONLY Test: These do not affect anything yet. Change-Id: Iab1b96fd7b3d49f29e573817bd9be805741a9cad
35 lines
1002 B
Plaintext
35 lines
1002 B
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_base_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_base_license"],
|
|
}
|
|
|
|
android_test {
|
|
name: "LoudnessCodecApiTest",
|
|
srcs: ["**/*.java"],
|
|
static_libs: [
|
|
"androidx.test.ext.junit",
|
|
"androidx.test.rules",
|
|
"junit",
|
|
"junit-params",
|
|
"mockito-target-minus-junit4",
|
|
"flag-junit",
|
|
"hamcrest-library",
|
|
"platform-test-annotations",
|
|
],
|
|
platform_apis: true,
|
|
certificate: "platform",
|
|
resource_dirs: ["res"],
|
|
test_suites: ["device-tests"],
|
|
}
|
|
|
|
test_module_config {
|
|
name: "LoudnessCodecApiTest_Presubmit",
|
|
base: "LoudnessCodecApiTest",
|
|
test_suites: ["device-tests"],
|
|
include_annotations: ["android.platform.test.annotations.Presubmit"],
|
|
}
|