markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | android_test { |
| 18 | name: "TetheringTests", |
| 19 | certificate: "platform", |
markchien | dd6177b | 2019-09-23 20:29:54 +0800 | [diff] [blame^] | 20 | srcs: [ |
| 21 | ":servicescore-tethering-src", |
| 22 | "src/**/*.java", |
| 23 | ], |
markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 24 | 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. |
| 45 | filegroup { |
| 46 | name: "tethering-tests-src", |
| 47 | srcs: [ |
markchien | dd6177b | 2019-09-23 20:29:54 +0800 | [diff] [blame^] | 48 | "src/com/android/server/connectivity/tethering/EntitlementManagerTest.java", |
markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 49 | "src/com/android/server/connectivity/tethering/TetheringConfigurationTest.java", |
markchien | 74a4fa9 | 2019-09-09 20:50:49 +0800 | [diff] [blame] | 50 | "src/android/net/dhcp/DhcpServingParamsParcelExtTest.java", |
| 51 | "src/android/net/ip/IpServerTest.java", |
| 52 | "src/android/net/util/InterfaceSetTest.java", |
markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 53 | ], |
| 54 | } |