blob: 1004eae9e86a5464fee01585cca68568060a67c7 [file] [log] [blame]
// Copyright (C) 2021 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
// Build rule for WallpaperPicker2 tests
//
package {
default_team: "trendy_team_customization_picker",
default_applicable_licenses: ["Android-Apache-2.0"],
}
filegroup {
name: "WallpaperPicker2Tests_srcs",
visibility: [
"//visibility:public",
],
srcs: [
"src/**/*.java",
"src/**/*.kt",
],
}
android_test {
name: "WallpaperPicker2Tests",
defaults: ["WallpaperPicker2_defaults"],
srcs: [
":WallpaperPicker2Tests_srcs",
"module/src/com/android/wallpaper/TestModule.kt",
],
static_libs: [
"WallpaperPicker2TestLib",
"WallpaperPicker2TestRunner",
"androidx.test.espresso.core",
"androidx.test.espresso.contrib",
"androidx.test.espresso.intents",
"androidx.test.ext.junit",
"androidx.test.rules",
"hamcrest-library",
"hamcrest",
"hilt_android",
"hilt_android_testing",
"mockito-target-minus-junit4",
"junit",
"kotlinx_coroutines_test",
"truth",
"flag-junit",
],
libs: [
"android.test.runner",
"android.test.base",
"android.test.mock",
],
platform_apis: true,
test_suites: ["device-tests"],
}