1// 2// Copyright (C) 2023 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_team: "trendy_team_capture_and_share", 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22android_test { 23 name: "IntentResolver-tests-unit", 24 manifest: "AndroidManifest.xml", 25 srcs: [ 26 "src/**/*.java", 27 "src/**/*.kt", 28 ], 29 30 libs: [ 31 "android.test.runner.stubs.system", 32 "android.test.base.stubs.system", 33 "android.test.mock.stubs.system", 34 "framework", 35 "framework-res", 36 "flag-junit", 37 ], 38 39 resource_dirs: ["res"], 40 test_config: "AndroidTest.xml", 41 static_libs: [ 42 "androidx.test.core", 43 "androidx.test.ext.junit", 44 "androidx.test.ext.truth", 45 "androidx.test.espresso.contrib", 46 "androidx.test.espresso.core", 47 "androidx.test.rules", 48 "androidx.test.runner", 49 "androidx.lifecycle_lifecycle-common-java8", 50 "androidx.lifecycle_lifecycle-extensions", 51 "androidx.lifecycle_lifecycle-runtime-testing", 52 "IntentResolver-core", 53 "IntentResolver-tests-shared", 54 "junit", 55 "kosmos", 56 "kotlinx_coroutines_test", 57 "mockito-target-minus-junit4", 58 "mockito-kotlin-nodeps", 59 "platform-compat-test-rules", // PlatformCompatChangeRule 60 "testables", // TestableContext/TestableResources 61 "truth", 62 "flag-junit", 63 "platform-test-annotations", 64 ], 65 test_suites: ["general-tests"], 66} 67