blob: 54a3842e445121d57e37389da2a010c29c7c7da6 [file] [log] [blame]
Santiago Etchebehereac7512d2021-03-04 18:26:29 -08001// Copyright (C) 2021 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
16//
17// Build rule for WallpaperPicker2 tests
18//
Bob Badour2021dd72021-03-19 03:57:19 -070019package {
20 default_applicable_licenses: ["Android-Apache-2.0"],
21}
22
Santiago Etchebehereac7512d2021-03-04 18:26:29 -080023android_test {
24 name: "WallpaperPicker2Tests",
25
Chris Poultney02698d82022-09-20 18:28:35 +000026 defaults: ["WallpaperPicker2_defaults"],
Santiago Etchebehereac7512d2021-03-04 18:26:29 -080027 srcs: [
28 "src/**/*.java",
29 "src/**/*.kt",
30 ],
Chris Poultney02698d82022-09-20 18:28:35 +000031 static_libs: [
32 "androidx.annotation_annotation",
33 "androidx.test.espresso.core",
34 "androidx.test.espresso.contrib",
35 "androidx.test.espresso.intents",
36 "androidx.test.rules",
37 "hamcrest-library",
38 "hamcrest",
39 "mockito-target-minus-junit4",
40 "ub-uiautomator",
41 "junit",
42 ],
43 libs: [
44 "android.test.runner",
45 "android.test.base",
46 "android.test.mock",
47 ],
Santiago Etchebehereac7512d2021-03-04 18:26:29 -080048
Chris Poultney02698d82022-09-20 18:28:35 +000049 platform_apis: true,
50 test_suites: ["device-tests"],
Santiago Etchebehereac7512d2021-03-04 18:26:29 -080051}