| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 1 | // Copyright (C) 2023 The Android Open Source Project | 
|  | 2 | // | 
|  | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); | 
|  | 4 | // you may not use this file except in compliance with the License. | 
|  | 5 | // You may obtain a copy of the License at | 
|  | 6 | // | 
|  | 7 | //      http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 8 | // | 
|  | 9 | // Unless required by applicable law or agreed to in writing, software | 
|  | 10 | // distributed under the License is distributed on an "AS IS" BASIS, | 
|  | 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | 12 | // See the License for the specific language governing permissions and | 
|  | 13 | // limitations under the License. | 
|  | 14 |  | 
|  | 15 | package { | 
| Aditya Choudhary | 01b5ede | 2024-01-31 11:08:57 +0000 | [diff] [blame] | 16 | default_team: "trendy_team_fwk_core_networking", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 17 | default_applicable_licenses: ["Android-Apache-2.0"], | 
|  | 18 | } | 
|  | 19 |  | 
|  | 20 | android_test { | 
|  | 21 | name: "RemoteAuthUnitTests", | 
| Remi NGUYEN VAN | c41daa4 | 2023-08-14 15:34:20 +0900 | [diff] [blame] | 22 | defaults: [ | 
|  | 23 | "enable-remoteauth-targets", | 
| Krzysztof Kosiński | 739ed22 | 2023-10-07 00:48:10 +0000 | [diff] [blame] | 24 | "mts-target-sdk-version-current", | 
| Remi NGUYEN VAN | c41daa4 | 2023-08-14 15:34:20 +0900 | [diff] [blame] | 25 | ], | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 26 | sdk_version: "test_current", | 
|  | 27 | min_sdk_version: "31", | 
|  | 28 |  | 
|  | 29 | // Include all test java files. | 
| Igor Zaslavsky | e336586 | 2023-09-21 09:26:31 +0000 | [diff] [blame] | 30 | srcs: [], | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 31 |  | 
|  | 32 | libs: [ | 
|  | 33 | "android.test.base", | 
|  | 34 | "android.test.mock", | 
|  | 35 | "android.test.runner", | 
| Salil Rajadhyaksha | ba35a14 | 2023-08-14 22:21:52 +0000 | [diff] [blame] | 36 | "framework-annotations-lib", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 37 | ], | 
|  | 38 | compile_multilib: "both", | 
|  | 39 |  | 
|  | 40 | static_libs: [ | 
|  | 41 | "androidx.test.ext.junit", | 
| Salil Rajadhyaksha | ba35a14 | 2023-08-14 22:21:52 +0000 | [diff] [blame] | 42 | "androidx.test.ext.truth", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 43 | "androidx.test.rules", | 
| Jin Chen | be08f54 | 2023-08-07 15:58:20 -0700 | [diff] [blame] | 44 | "com.uwb.support.generic", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 45 | "framework-remoteauth-static", | 
|  | 46 | "junit", | 
| Igor Zaslavsky | ec344f4 | 2023-08-08 04:28:45 +0000 | [diff] [blame] | 47 | "libprotobuf-java-lite", | 
| Jin Chen | be08f54 | 2023-08-07 15:58:20 -0700 | [diff] [blame] | 48 | "mockito-target-extended-minus-junit4", | 
| Salil Rajadhyaksha | ba35a14 | 2023-08-14 22:21:52 +0000 | [diff] [blame] | 49 | "mockito-target-minus-junit4", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 50 | "platform-test-annotations", | 
|  | 51 | "service-remoteauth-pre-jarjar", | 
| Krzysztof Kosiński | 739ed22 | 2023-10-07 00:48:10 +0000 | [diff] [blame] | 52 | "truth", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 53 | ], | 
| Jin Chen | be08f54 | 2023-08-07 15:58:20 -0700 | [diff] [blame] | 54 | // these are needed for Extended Mockito | 
|  | 55 | jni_libs: [ | 
|  | 56 | "libdexmakerjvmtiagent", | 
|  | 57 | "libstaticjvmtiagent", | 
|  | 58 | ], | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 59 | test_suites: [ | 
|  | 60 | "general-tests", | 
|  | 61 | "mts-tethering", | 
|  | 62 | ], | 
|  | 63 | } |