• 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_team: "trendy_team_rubidium_sdk_runtime",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "SdkSandboxManagerTests",
22    srcs: [
23        "src/**/*endtoend/*.java",
24    ],
25    static_libs: [
26        "androidx.test.ext.junit",
27        "androidx.test.runner",
28        "compatibility-device-util-axt-minus-dexmaker",
29        "truth",
30        "modules-utils-build",
31        "SdkSandboxTestUtils",
32        "CtsSdkProviderApi",
33        "CtsMediationTestSdkApi",
34        "sdk_sandbox_flags_lib",
35        "android.content.pm.flags-aconfig-java",
36        "flag-junit",
37    ],
38    libs: [
39        "android.test.base",
40        "android.test.mock",
41        "android.test.runner",
42        "framework-configinfrastructure",
43    ],
44    data: [
45        ":EmptySdkProviderApp",
46        ":SdkSandboxManagerCtsProvider",
47        ":SdkSandboxMediationTestProvider",
48        ":CtsSdkProviderAppWithoutSdkProviderClassNameProperty",
49    ],
50    min_sdk_version: "Tiramisu",
51    target_sdk_version: "Tiramisu",
52    test_suites: [
53        "cts",
54        "mts-adservices",
55        "general-tests",
56        "mcts-adservices",
57    ],
58}
59
60android_test {
61    name: "SdkSandboxManagerDisabledTests",
62    srcs: [
63        "src/**/*disablede2e/*.java",
64    ],
65    static_libs: [
66        "androidx.test.ext.junit",
67        "androidx.test.runner",
68        "truth",
69        "SdkSandboxTestUtils",
70    ],
71    libs: [
72        "android.test.base",
73        "android.test.mock",
74        "android.test.runner",
75    ],
76    data: [
77        ":SdkSandboxManagerCtsProvider",
78    ],
79    test_config: "DisabledAndroidTest.xml",
80    manifest: "DisabledAndroidManifest.xml",
81    min_sdk_version: "Tiramisu",
82    target_sdk_version: "current",
83    test_suites: [
84        "cts",
85        "mts-adservices",
86        "general-tests",
87        "mcts-adservices",
88    ],
89}
90