• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2022 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_test {
20    name: "SdkSandboxManagerTests",
21    srcs: [
22        "src/**/*endtoend/*.java",
23    ],
24    static_libs: [
25        "androidx.test.ext.junit",
26        "androidx.test.runner",
27        "compatibility-device-util-axt-minus-dexmaker",
28        "truth-prebuilt",
29        "modules-utils-build",
30        "SdkSandboxTestUtils",
31        "CtsSdkProviderApi",
32    ],
33    libs: [
34        "android.test.base",
35        "android.test.mock",
36        "android.test.runner",
37        "framework-configinfrastructure",
38    ],
39    data: [
40      ":SdkSandboxManagerCtsProvider",
41      ":EmptySdkProviderApp",
42    ],
43    min_sdk_version: "Tiramisu",
44    target_sdk_version: "Tiramisu",
45    test_suites: [
46        "cts",
47        "mts-adservices",
48        "general-tests",
49    ],
50}
51
52android_test {
53    name: "SdkSandboxManagerDisabledTests",
54    srcs: [
55        "src/**/*disablede2e/*.java",
56    ],
57    static_libs: [
58        "androidx.test.ext.junit",
59        "androidx.test.runner",
60        "truth-prebuilt",
61        "SdkSandboxTestUtils",
62    ],
63    libs: [
64        "android.test.base",
65        "android.test.mock",
66        "android.test.runner",
67    ],
68    data: [
69      ":SdkSandboxManagerCtsProvider",
70    ],
71    test_config: "DisabledAndroidTest.xml",
72    manifest: "DisabledAndroidManifest.xml",
73    min_sdk_version: "Tiramisu",
74    target_sdk_version: "current",
75    test_suites: [
76        "cts",
77        "mts-adservices",
78        "general-tests",
79    ],
80}
81