blob: 827375b33c1b1b7160ff4bc8acf346eb1211b37c [file] [log] [blame]
// 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.stubs",
"org.apache.http.legacy",
"android.test.base.stubs",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ctstestserver",
"cts-opengl-util",
"cts-wm-util",
"mockito-target-minus-junit4",
"androidx.test.ext.junit",
"androidx.test.rules",
"platform-test-annotations",
"platformprotosnano",
"permission-test-util-lib"
],
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.stubs",
"org.apache.http.legacy",
"android.test.base.stubs",
],
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: "CtsDownloadManagerInstaller",
defaults: ["cts_defaults"],
libs: [
"android.test.runner.stubs",
"org.apache.http.legacy",
"android.test.base.stubs",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ctstestserver",
"mockito-target-minus-junit4",
"androidx.test.rules",
"platform-test-annotations",
"androidx.test.rules",
],
srcs: [
"DownloadManagerInstallerTest/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: "DownloadManagerInstallerTest/AndroidManifest.xml",
test_config: "DownloadManagerInstallerTest/AndroidTest.xml",
}
android_test {
name: "CtsAppExitTestCases",
defaults: ["cts_defaults"],
libs: [
"android.test.runner.stubs",
"org.apache.http.legacy",
"android.test.base.stubs",
],
static_libs: [
"ub-uiautomator",
"androidx.test.rules",
"compatibility-device-util-axt",
"CtsExternalServiceCommon",
"cts-wm-util",
],
srcs: [
"AppExitTest/src/**/*.java",
"src/android/app/cts/android/app/cts/tools/WatchUidRunner.java",
],
test_suites: [
"cts",
"vts10",
"general-tests",
],
manifest: "AppExitTest/AndroidManifest.xml",
test_config: "AppExitTest/AndroidTest.xml",
platform_apis: true,
}