• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 Google LLC
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.
14load("//java/com/google/android/libraries/mobiledatadownload/file/common/testing:build_defs.bzl", "android_test_multi_api")
15load("@build_bazel_rules_android//android:rules.bzl", "android_local_test")
16
17package(
18    default_applicable_licenses = ["//:license"],
19    default_visibility = ["//:__subpackages__"],
20    licenses = ["notice"],
21)
22
23android_local_test(
24    name = "FragmentTest",
25    size = "small",
26    srcs = ["FragmentTest.java"],
27    deps = [
28        "//java/com/google/android/libraries/mobiledatadownload/file/common:fragment",
29        "@truth",
30    ],
31)
32
33android_local_test(
34    name = "GcParamTest",
35    size = "small",
36    srcs = ["GcParamTest.java"],
37    deps = [
38        "//java/com/google/android/libraries/mobiledatadownload/file/common",
39        "@truth",
40    ],
41)
42
43android_test_multi_api(
44    name = "LockScopeTest",
45    size = "small",
46    timeout = "moderate",
47    srcs = ["LockScopeTest.java"],
48    manifest = "LockScopeTestManifest.xml",
49    deps = [
50        "//java/com/google/android/libraries/mobiledatadownload/file",
51        "//java/com/google/android/libraries/mobiledatadownload/file/backends:file",
52        "//java/com/google/android/libraries/mobiledatadownload/file/backends:file_adapter",
53        "//java/com/google/android/libraries/mobiledatadownload/file/common",
54        "//java/com/google/android/libraries/mobiledatadownload/file/common/testing",
55        "@androidx_test",
56        "@com_google_guava_guava",
57        "@junit",
58        "@truth",
59    ],
60)
61