blob: 5564bd6ecbca4ef8687c4bec6596b42c04e05126 [file] [log] [blame]
markchien43e97e02019-09-03 15:58:06 +08001//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17android_test {
18 name: "TetheringTests",
19 certificate: "platform",
markchiendd6177b2019-09-23 20:29:54 +080020 srcs: [
21 ":servicescore-tethering-src",
22 "src/**/*.java",
23 ],
markchien43e97e02019-09-03 15:58:06 +080024 test_suites: ["device-tests"],
25 static_libs: [
26 "androidx.test.rules",
27 "frameworks-base-testutils",
28 "mockito-target-extended-minus-junit4",
29 "TetheringApiCurrentLib",
30 "testables",
31 ],
32 libs: [
33 "android.test.runner",
34 "android.test.base",
35 "android.test.mock",
36 ],
37 jni_libs: [
38 // For mockito extended
39 "libdexmakerjvmtiagent",
40 "libstaticjvmtiagent",
41 ],
42}
43
44// This group would be removed when tethering migration is done.
45filegroup {
46 name: "tethering-tests-src",
47 srcs: [
markchiendd6177b2019-09-23 20:29:54 +080048 "src/com/android/server/connectivity/tethering/EntitlementManagerTest.java",
markchien43e97e02019-09-03 15:58:06 +080049 "src/com/android/server/connectivity/tethering/TetheringConfigurationTest.java",
markchien74a4fa92019-09-09 20:50:49 +080050 "src/android/net/dhcp/DhcpServingParamsParcelExtTest.java",
51 "src/android/net/ip/IpServerTest.java",
52 "src/android/net/util/InterfaceSetTest.java",
markchien43e97e02019-09-03 15:58:06 +080053 ],
54}