// Copyright (C) 2008 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. android_test { name: "CtsAppTestCases", defaults: ["cts_defaults"], libs: [ "android.test.runner", "org.apache.http.legacy", "android.test.base", ], static_libs: [ "compatibility-device-util-axt", "ctstestrunner-axt", "ctstestserver", "cts-wm-util", "mockito-target-minus-junit4", "androidx.test.ext.junit", "androidx.test.rules", "platform-test-annotations", "platformprotosnano", ], srcs: ["src/**/*.java"], // Tag this module as a cts test artifact test_suites: [ "cts", "vts10", "general-tests", ], instrumentation_for: "CtsAppTestStubs", sdk_version: "test_current", min_sdk_version: "14", } android_test { name: "CtsDownloadManagerApi28", defaults: ["cts_defaults"], libs: [ "android.test.runner", "org.apache.http.legacy", "android.test.base", ], static_libs: [ "compatibility-device-util-axt", "ctstestrunner-axt", "ctstestserver", "mockito-target-minus-junit4", "androidx.test.rules", "platform-test-annotations", "androidx.test.rules", ], srcs: [ "DownloadManagerApi28Test/src/**/*.java", "src/android/app/cts/DownloadManagerTestBase.java", ], resource_dirs: ["app/res"], asset_dirs: ["app/assets"], // Tag this module as a cts test artifact test_suites: [ "cts", "vts10", "general-tests", ], sdk_version: "test_current", min_sdk_version: "14", manifest: "DownloadManagerApi28Test/AndroidManifest.xml", test_config: "DownloadManagerApi28Test/AndroidTest.xml", } android_test { name: "CtsDownloadManagerLegacy", defaults: ["cts_defaults"], libs: [ "android.test.runner", "org.apache.http.legacy", "android.test.base", ], static_libs: [ "compatibility-device-util-axt", "ctstestrunner-axt", "ctstestserver", "mockito-target-minus-junit4", "androidx.test.rules", "platform-test-annotations", "androidx.test.rules", ], srcs: [ "DownloadManagerLegacyTest/src/**/*.java", "src/android/app/cts/DownloadManagerTestBase.java", ], resource_dirs: ["app/res"], asset_dirs: ["app/assets"], // Tag this module as a cts test artifact test_suites: [ "cts", "vts10", "general-tests", ], sdk_version: "test_current", min_sdk_version: "14", manifest: "DownloadManagerLegacyTest/AndroidManifest.xml", test_config: "DownloadManagerLegacyTest/AndroidTest.xml", }