// Copyright (C) 2022 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. package { default_applicable_licenses: ["Android-Apache-2.0"], } android_test { name: "AdServicesEndToEndTests", srcs: [ "src/**/*.java", ], sdk_version: "module_current", static_libs: [ "adservices-clients", "androidx.concurrent_concurrent-futures", "androidx.test.rules", "compatibility-device-util-axt", "mockito-target-extended-minus-junit4", "truth", "framework-adservices.impl", "framework-sdksandbox.impl", "adservices-test-fixtures", "adservices-test-utility", ], libs: [ "android.test.base", ], test_suites: [ "general-tests", ], lint: { extra_check_modules: ["AdServicesTestLintChecker"], test: false, // TODO(b/343741206): remove when checks will run on android_test }, } android_test { name: "AdExtServicesEndToEndTests", defaults: ["mts-target-sdk-version-current"], srcs: [ "src/**/*.java", ], sdk_version: "module_current", static_libs: [ "adservices-clients", "androidx.concurrent_concurrent-futures", "androidx.test.rules", "compatibility-device-util-axt", "mockito-target-extended-minus-junit4", "truth", "framework-adservices.impl", "framework-sdksandbox.impl", "adservices-test-fixtures", "adservices-test-utility", ], libs: [ "android.test.base", "android.ext.adservices", ], test_suites: [ "general-tests", ], min_sdk_version: "30", max_sdk_version: "32", test_config: "AndroidTest.ExtServices.xml", manifest: "AndroidManifestExtServices.xml", lint: { extra_check_modules: ["AdServicesTestLintChecker"], baseline_filename: "lint-baseline-adextservices.xml", test: false, // TODO(b/343741206): remove when checks will run on android_test }, }