Merge "Add TetheringCommonTests" am: 7219f9a5dd am: 075cf4d923
Change-Id: I0d10c0c02375b10cbd2cd30e2fbe473580118b6c
This commit is contained in:
@@ -14,6 +14,26 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
// Tests in this folder are included both in unit tests and CTS.
|
||||||
|
java_library {
|
||||||
|
name: "TetheringCommonTests",
|
||||||
|
srcs: [
|
||||||
|
"common/**/*.java",
|
||||||
|
"common/**/*.kt"
|
||||||
|
],
|
||||||
|
static_libs: [
|
||||||
|
"androidx.test.rules",
|
||||||
|
"net-tests-utils",
|
||||||
|
],
|
||||||
|
// TODO(b/147200698) change sdk_version to module-current and remove framework-minus-apex
|
||||||
|
sdk_version: "core_platform",
|
||||||
|
libs: [
|
||||||
|
"framework-minus-apex",
|
||||||
|
"framework-tethering",
|
||||||
|
],
|
||||||
|
visibility: ["//cts/tests/tests/tethering"],
|
||||||
|
}
|
||||||
|
|
||||||
java_defaults {
|
java_defaults {
|
||||||
name: "TetheringTestsDefaults",
|
name: "TetheringTestsDefaults",
|
||||||
srcs: [
|
srcs: [
|
||||||
@@ -22,6 +42,7 @@ java_defaults {
|
|||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"TetheringApiCurrentLib",
|
"TetheringApiCurrentLib",
|
||||||
|
"TetheringCommonTests",
|
||||||
"androidx.test.rules",
|
"androidx.test.rules",
|
||||||
"frameworks-base-testutils",
|
"frameworks-base-testutils",
|
||||||
"mockito-target-extended-minus-junit4",
|
"mockito-target-extended-minus-junit4",
|
||||||
|
|||||||
Reference in New Issue
Block a user