1# Copyright (C) 2020 The Dagger Authors.
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
15android_local_test(
16    name = "CoffeeAppFakePumpTest",
17    srcs = [
18        "CoffeeAppFakePumpTest.java",
19    ],
20    manifest_values = {
21        "minSdkVersion": "15",
22    },
23    deps = [
24        "//:hilt-android-testing",
25        "//java/example/common",
26        "//java/example/hilt:heater_module",
27        "@maven//:androidx_test_ext_junit",
28        "@maven//:androidx_test_runner",
29        "@maven//:com_google_truth_truth",
30        "@maven//:org_robolectric_annotations",
31        "@maven//:org_robolectric_robolectric",
32        "@robolectric//bazel:android-all",
33    ],
34)
35
36android_local_test(
37    name = "CoffeeAppFakeHeaterTest",
38    srcs = [
39        "CoffeeAppFakeHeaterTest.java",
40    ],
41    manifest_values = {
42        "minSdkVersion": "15",
43    },
44    deps = [
45        "//:hilt-android-testing",
46        "//java/example/common",
47        "//java/example/hilt:pump_module",
48        "@maven//:androidx_test_ext_junit",
49        "@maven//:androidx_test_runner",
50        "@maven//:com_google_truth_truth",
51        "@maven//:org_robolectric_annotations",
52        "@maven//:org_robolectric_robolectric",
53        "@robolectric//bazel:android-all",
54    ],
55)
56