blob: 27e5418c1e186fc390e0bdb3515fbf5f7910a552 [file] [log] [blame]
Casey Borders13a35ea2023-07-13 00:30:38 +00001// 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
15package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_test {
20 name: "RemoteAuthUnitTests",
Remi NGUYEN VANc41daa42023-08-14 15:34:20 +090021 defaults: [
22 "enable-remoteauth-targets",
23 "mts-target-sdk-version-current"
24 ],
Casey Borders13a35ea2023-07-13 00:30:38 +000025 sdk_version: "test_current",
26 min_sdk_version: "31",
27
28 // Include all test java files.
29 srcs: ["src/**/*.java"],
30
31 libs: [
32 "android.test.base",
33 "android.test.mock",
34 "android.test.runner",
35 ],
36 compile_multilib: "both",
37
38 static_libs: [
39 "androidx.test.ext.junit",
40 "androidx.test.rules",
41 "framework-remoteauth-static",
42 "junit",
Igor Zaslavskyec344f42023-08-08 04:28:45 +000043 "libprotobuf-java-lite",
Casey Borders13a35ea2023-07-13 00:30:38 +000044 "platform-test-annotations",
45 "service-remoteauth-pre-jarjar",
46 "truth-prebuilt",
47 ],
48 test_suites: [
49 "general-tests",
50 "mts-tethering",
51 ],
52}