blob: 92e32d96cdf3dcd11dbe7ff81d9c096b07ebea9a [file] [log] [blame]
Colin Crossfdec9ff2019-05-02 13:21:41 -07001// Copyright (C) 2015 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
15android_test {
16 name: "SettingsLibTests",
David Su6c00e382020-01-06 15:24:42 -080017 defaults: [
18 "SettingsLibDefaults",
19 "framework-wifi-test-defaults"
20 ],
Colin Crossfdec9ff2019-05-02 13:21:41 -070021
22 certificate: "platform",
23
24 srcs: ["src/**/*.java"],
25
26 libs: [
27 "android.test.runner",
28 "telephony-common",
29 "android.test.base",
30 ],
31
32 platform_apis: true,
33 test_suites: ["device-tests"],
34
35 static_libs: [
Arc Wang794c7e22020-12-31 13:58:52 +080036 "androidx.test.core",
Colin Crossfdec9ff2019-05-02 13:21:41 -070037 "androidx.test.rules",
38 "androidx.test.espresso.core",
39 "mockito-target-minus-junit4",
40 "truth-prebuilt",
Arc Wang76229342021-01-13 16:39:01 +080041 "SettingsLibSettingsSpinner",
Arc Wang794c7e22020-12-31 13:58:52 +080042 "SettingsLibUsageProgressBarPreference",
Colin Crossfdec9ff2019-05-02 13:21:41 -070043 ],
44
45 dxflags: ["--multi-dex"],
46}