diff options
Diffstat (limited to 'javatests/dagger/hilt/android/testing/testinstallin/BUILD')
-rw-r--r-- | javatests/dagger/hilt/android/testing/testinstallin/BUILD | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/javatests/dagger/hilt/android/testing/testinstallin/BUILD b/javatests/dagger/hilt/android/testing/testinstallin/BUILD deleted file mode 100644 index 63d0bca95..000000000 --- a/javatests/dagger/hilt/android/testing/testinstallin/BUILD +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright (C) 2020 The Dagger Authors. -# -# 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. -# Description: -# Tests for internal code for implementing Hilt processors. - -package(default_visibility = ["//:src"]) - -android_local_test( - name = "TestInstallInFooTest", - srcs = ["TestInstallInFooTest.java"], - manifest_values = { - "minSdkVersion": "15", - "targetSdkVersion": "27", - }, - deps = [ - ":TestInstallInModules", - "//:android_local_test_exports", - "//:dagger_with_compiler", - "@maven//:junit_junit", - - "@maven//:org_robolectric_robolectric", - "@maven//:androidx_test_ext_junit", - "@maven//:androidx_test_core", - - "@google_bazel_common//third_party/java/truth", - "//java/dagger/hilt/android/testing:hilt_android_test", - ], -) - -android_local_test( - name = "TestInstallInBarTest", - srcs = ["TestInstallInBarTest.java"], - manifest_values = { - "minSdkVersion": "15", - "targetSdkVersion": "27", - }, - deps = [ - ":TestInstallInModules", - "//:android_local_test_exports", - "//:dagger_with_compiler", - "@maven//:junit_junit", - - "@maven//:org_robolectric_robolectric", - "@maven//:androidx_test_ext_junit", - "@maven//:androidx_test_core", - - "@google_bazel_common//third_party/java/truth", - "//java/dagger/hilt/android/testing:hilt_android_test", - "//java/dagger/hilt/android/testing:uninstall_modules", - "//java/dagger/hilt/testing:test_install_in", - ], -) - -android_local_test( - name = "TestInstallInAppTest", - srcs = ["TestInstallInAppTest.java"], - manifest_values = { - "minSdkVersion": "15", - "targetSdkVersion": "27", - }, - deps = [ - ":TestInstallInApp", - ":TestInstallInModules", - "//:android_local_test_exports", - "@maven//:junit_junit", - - "@maven//:org_robolectric_robolectric", - "@maven//:androidx_test_ext_junit", - "@maven//:androidx_test_core", - - "@google_bazel_common//third_party/java/truth", - ], -) - -android_library( - name = "TestInstallInApp", - testonly = True, - srcs = ["TestInstallInApp.java"], - deps = [ - ":TestInstallInModules", - "//:dagger_with_compiler", - "//java/dagger/hilt/android:hilt_android_app", - ], -) - -android_library( - name = "TestInstallInModules", - testonly = True, - srcs = ["TestInstallInModules.java"], - deps = [ - "//:dagger_with_compiler", - "//java/dagger/hilt:install_in", - "//java/dagger/hilt/android/components", - "//java/dagger/hilt/testing:test_install_in", - ], -) |